by ZvezdanD » Mon May 10, 2010 7:24 am
Brouwerik wrote:1. An option to select in which node (MagicNodes included) a song must be located.
I need to repeat something to prevent further confusion - this script has two main parts, the first one which find the folder in the tree panel that contains the currently playing track and the second part which find that track in the main tracklist. So, if you mean about the first part, i.e. if you want to find specific folder with the currently playing track within the Magic Nodes' node, it is not possible. Well, it would be possible, but it could last forever since this script should traverse to all sub-folders of the Magic Nodes' node and to check if playing track is contained into its tracklist. Same thing is with many other nodes which content is ambiguous, e.g. Library, Classification, Files to Edit, Playlists... I explained that before on the example with the Library node. Finding containing folder inside of the Location or My Computer nodes is possible only because there is unique way for that by parsing of the Path of the playing track.
Now, if you mean on the second mentioned part which find track in the tracklist, you could already do that - just select the wanted node, e.g. some sub-node of the Magic Nodes, and this script will find currently playing track in the displayed tracklist. Of course, you first need to select the option "Select track in currently displayed main tracklist" in the Options dialog box.
Brouwerik wrote:2. A button or assigning a hotkey to jump to the now playing song in the selected node, instead of automaticly jumping when the song changes
The MM program already has a possibility to define hotkey to jump to the currently playing track inside of the selected (current) node. However, if you want manually to find folder which contains currently playing track within Location or My Computer nodes (and to find that track in the tracklist), you could use this add-on and the button on the Shortcut toolbar "Toggle finding of currently playing track" - just click it twice (turn it on, then turn it off).
[quote="Brouwerik"]1. An option to select in which node (MagicNodes included) a song must be located.[/quote]
I need to repeat something to prevent further confusion - this script has two main parts, the first one which find the folder in the tree panel that contains the currently playing track and the second part which find that track in the main tracklist. So, if you mean about the first part, i.e. if you want to find specific folder with the currently playing track within the Magic Nodes' node, it is not possible. Well, it would be possible, but it could last forever since this script should traverse to all sub-folders of the Magic Nodes' node and to check if playing track is contained into its tracklist. Same thing is with many other nodes which content is ambiguous, e.g. Library, Classification, Files to Edit, Playlists... I explained that before on the example with the Library node. Finding containing folder inside of the Location or My Computer nodes is possible only because there is unique way for that by parsing of the Path of the playing track.
Now, if you mean on the second mentioned part which find track in the tracklist, you could already do that - just select the wanted node, e.g. some sub-node of the Magic Nodes, and this script will find currently playing track in the displayed tracklist. Of course, you first need to select the option "Select track in currently displayed main tracklist" in the Options dialog box.
[quote="Brouwerik"]2. A button or assigning a hotkey to jump to the now playing song in the selected node, instead of automaticly jumping when the song changes[/quote]
The MM program already has a possibility to define hotkey to jump to the currently playing track inside of the selected (current) node. However, if you want manually to find folder which contains currently playing track within Location or My Computer nodes (and to find that track in the tracklist), you could use this add-on and the button on the Shortcut toolbar "Toggle finding of currently playing track" - just click it twice (turn it on, then turn it off).