Peke wrote:Maybe I'm Mistaking but I tried using OnTrackEnd and this should be getting if Last track on list check:If ((SDB.Player.CurrentPlaylist.Count-1) = SDB.Player.CurrentSongIndex) and (Not SDB.Player.isShuffle) And (not SDB.Player.isRepeat) Then

Pay attention, please Here is what I said: "There is also not any index to check if the track is the last in the list if Shuffle is turned on". You know, the main purpose of this script is especially when Shuffle is turned on. Never mind, trixmoto's suggestion with a timer and Player.isPlaying seems to work fine.

Anyway, I think it would be too much better for scripters if you MM developers implement something like OnTotalPlaybackEnd or something similar and I bet that it would be just 15 minutes of your work to implement something like that. Please, take a look at the code of this script - it is full of dirty and unnecessary code just because MM lacking of proper API.

ZvezdanD, Is there a way to turn this script on and off? With this script installed I can no longer type the letter "q" in the search box. Hitting the "q" key, of course triggers this script, but there are times when I'll want to type a "q" and not launch the script. Thanks.

pkw115 wrote:Is there a way to turn this script on and off? With this script installed I can no longer type the letter "q" in the search box.

I could add such option, but maybe it would be better with a changed shortcut, for example Ctrl+Q. You could do it by yourself if you open c:\Program Files\MediaMonkey\Scripts\Auto\QueueList.vbs in Notepad and change line 35 from:

First is quite a simple one - the realized in script hotkey to show(make visible/ set a focus on) QueueList playlist. It would be much more comfort than searching QueueList in tree view manually each time you need it.

This one is a bit more complicated, but useful enough.The idea is to show the numeration of queued tracks in NowPlaying view - almost like in Winamp.I suppose it could be realized through the one of "Custom" fields in properties of tracks. The script can change for example the "Custom 5" field to the number of track in QueueList when it's added in there. On removal from QueueList this field can be cleared or returned to its initial condition.There is just one big problem. When any track is to be removed from the QueueList, all the others tracks "Custom 5" fields should be apdated. But tagging is not that fast actually and if there will be much enough tracks in QueueList it might cause troubles, conflicts etc. But I can't see any other way to realize this idea in MediaMonkey for now...

These are nice suggestions indeed. With your first suggestion, how about using "Ctrl+M" as an hotkey, to be similar to hotkey for "Manage Queue" option in Winamp? BTW, what do you think about modifying hotkey for "Queue Selected" option from "Q" to "Ctrl+Q"? It would be different then hotkey for the same option in Winamp, but it would eliminate the problem mentioned few posts before. The "Q" hotkey could be problematic as well if someone edits tags directly on the main tracklist or Now Playing panel and want to enter that character.

I am not sure about the second suggestion, since I don't like to change any tag in files for such purpose, not even temporary. Writing tags into files could slow down the program especially with files on networked drives, not to mention that someone could have read-only audio files whose tags cannot be updated. However, if we stick with MM 4.0, maybe this could be realized without using some actual tag since MM 4.0 could displays several new fields which are not stored into any tag, but only in the database file, e.g. Skipped #, Podcast, Series, Episode #... Well, someone using these fields would not be happy with such solution either...

ZvezdanD wrote:MM 4.0 could displays several new fields which are not stored into any tag, but only in the database file, e.g. Skipped #, Podcast, Series, Episode #...

I don't believe these are "database only" fields. I seem to recall seeing somewhere in Mantis that these fields are mapped to other tags, such as Podcast and/or Series going into Album and Episode # going into Track # or something. Thus, if you were to modify the Episode # of a file, it may try writing that to the Track #

ZvezdanD wrote:...how about using "Ctrl+M" as an hotkey, to be similar (...) BTW, what do you think about modifying hotkey for "Queue Selected" option from "Q" to "Ctrl+Q"?

The key itself isn't that matter - anyone can easyly change it manually in the script after all. The matter point is just an existance of such functionality. So "Ctrl+M" and "Ctrl+Q" would be just fine for everyone by default. What for me - I prefer using a one-key hotkey for comfort, so I've changed "Q" to "F2" and I'll change the shortcut to QueueList to "F3", I suppose...

ZvezdanD wrote:Writing tags into files could slow down the program especially with files on networked drives, not to mention that someone could have read-only audio files whose tags cannot be updated.

Here I must agree with you completely. I haven't thought about it - I don't use any network drives and have no read-only-something in my system So it seems like the only feasible option is a database-only tag. What about happiness of people who could use that one tag, I think that it should be done optional. You could simply define a global variable in the script file to turn this feature on or off and set it off by default. This way everyone would be quite happy

Mizery_Made wrote:I don't believe these are "database only" fields.

Lets just hope they will really be database-only tags. This is very simple for MM developers to realize it.

A little remark to the shortcut for QueueList playlist. It would be nice to change the reaction for second press: when QueueList is in focus the shortcut causes the call of "Back to previous view(Alt+Left)" function. This way: you look at the list, change it if necessary and go back - all fast and easy.

There is a new update - v1.1 - 2011-01-22: * Added: F4 hotkey to show Queue List/go back to the previous view; * Changed: Q hotkey to F3 for the Queue Selected option.

I suggested developers to add a possibility to display some non-tag field within the Summary column for the serial number of queued tracks, but chances for that are not very bright. Until then I cannot do anything more.