Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Duplicate Detection

Post by ZvezdanD »

robwala wrote:I used to get duplicate warnings when attempting to add a song to a playlist when it was already present. I no longer get these warnings when using the plugin.
MM developers changed behavior of the related function in 4.1.0.1651, although I suggested otherwise (my Summary "ISDBPlaylist::AddTrackNoConfirmation method needed" was changed by MM developer):
http://www.ventismedia.com/mantis/view.php?id=11101
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Meander
Posts: 67
Joined: Fri Jun 06, 2014 8:45 am

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by Meander »

I've only just come across this little gem. Brilliant.

ZvezdanD,

I have a couple of feature requests:

1. Would it be possible to add the first level combo-box to the toolbar - next to each respective icon?

2. I appreciate the points you made on the duplicate confirmation dialog - but can it be implemented anyway? I value that prompt.
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by ZvezdanD »

Meander wrote:1. Would it be possible to add the first level combo-box to the toolbar - next to each respective icon?
No, MM scripting interface doesn't allow such thing. Again, already reported to MM developers: http://www.ventismedia.com/mantis/view.php?id=6728
Meander wrote:2. I appreciate the points you made on the duplicate confirmation dialog - but can it be implemented anyway? I value that prompt.
Sorry, but I don't want to waste my time on something that MM developers have messed. If you want such possibility, ask them to fix that thing in the program.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Meander
Posts: 67
Joined: Fri Jun 06, 2014 8:45 am

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by Meander »

ZvezdanD wrote:No, MM scripting interface doesn't allow such thing. Again, already reported to MM developers: http://www.ventismedia.com/mantis/view.php?id=6728
Acknowledged.
ZvezdanD wrote:Sorry, but I don't want to waste my time on something that MM developers have messed. If you want such possibility, ask them to fix that thing in the program.
I'm sure they've got the message.
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by ZvezdanD »

Meander wrote:I'm sure they've got the message.
Yes, but if more people ask for the same thing, maybe they would be more willing to do something about it.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
loubat
Posts: 41
Joined: Fri Feb 21, 2014 11:18 am
Contact:

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by loubat »

This script is just what I was looking for, thanks! Is there any way to make it add to multiple playlists with a single click? I tried to list 3 playlists, separated by commas, but it threw a "this playlist doesn't exist" error. If not, it's no big deal to click the 3 buttons, just a suggestion.
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [M

Post by ZvezdanD »

loubat wrote:Is there any way to make it add to multiple playlists with a single click?
Sorry, but it is not possible.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
loubat
Posts: 41
Joined: Fri Feb 21, 2014 11:18 am
Contact:

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by loubat »

I can't seem to get the Hotkeys to work. I've set up the playlist and if I click the button, they will add to the playlist. But if I try the "alt-shift-1" or "ctrl-alt-shift-1" nothing is happening. I've had this working in the past, I feel like I'm forgetting to set something up maybe? Ideas?

Sorry for the necro-bump!
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by ZvezdanD »

loubat wrote: Thu Dec 20, 2018 11:58 pm I can't seem to get the Hotkeys to work.
I just tried and it works fine. You should check if your hotkey is not occupied by the program itself or some other program as a global hotkey. Also, check if you have specified valid playlist in the Options dialog box for the wanted hotkey. You could also add another hotkey/playlist to see if that works.

By the way, hotkeys begin with "0", i.e. Shift+Alt+0 for selected files and Shift+Ctrl+Alt+0 for currently played file.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
loubat
Posts: 41
Joined: Fri Feb 21, 2014 11:18 am
Contact:

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by loubat »

A reboot seems to have fixed it. Thanks! :)
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by ZvezdanD »

There is the new version of the add-on v1.2:
* Added: option to show playlist names on toolbar buttons instead of icons;
* Added: option to specify the maximum number of characters that will be displayed on the toolbar buttons;
* Fixed: resizing of the Options dialog box opened from the Extensions dialog with the skinned version of the program on Vista and later.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Erwin Hanzl
Posts: 565
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna
Contact:

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by Erwin Hanzl »

Hello Zvezdan,
thanks for your quick work. Yes, I can work with that.
If you now represent the buttons as buttons (Border style: contrasting color to black), I would be very satisfied.
Thank you

Image
ZvezdanD
Posts: 3121
Joined: Thu Jun 08, 2006 7:40 pm

Re: Add CurrPlaying/Selected to Playlist 1.1 (2012-02-06) [MM2+]

Post by ZvezdanD »

Erwin Hanzl wrote: Sun Jul 05, 2020 7:51 am If you now represent the buttons as buttons (Border style: contrasting color to black), I would be very satisfied.
I am not sure that understand your request. The toolbar buttons are the part of MM API (https://www.mediamonkey.com/wiki/index.php?title=SDBUI) and scripters don't have ability to change their appearance. You should look for another skin which has toolbars more satisfying for you.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Post Reply