Button to add currently playing to playlist

Any ideas about how to improve MediaMonkey? Let us know!

Moderator: Gurus

Dood
Posts: 2
Joined: Sun Jun 28, 2020 1:24 pm

Button to add currently playing to playlist

Post by Dood » Sun Jun 28, 2020 1:30 pm

I searched the forum but couldn't find a solution.

What I want is a button (on tool bar or player, doesn't matter) that when clicked will add the currently playing song to playlist "xxx".

Is there a way to accomplish this?

Lowlander
Posts: 47311
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Button to add currently playing to playlist

Post by Lowlander » Sun Jun 28, 2020 1:43 pm

The Context Toolbar has Send To to accomplish this. There also is right click, Send To > Playlist as well as the ability to Drag & Drop files on the Playlist node in the Media Tree or another tab with the Playlist open.
Lowlander (MediaMonkey user since 2003)

Erwin Hanzl
Posts: 491
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Button to add currently playing to playlist

Post by Erwin Hanzl » Mon Jun 29, 2020 2:04 am

Sorry Lowlander, but I want to add another method.

Hello Dood,

You can also create a new toolbar and use it to apply the most common buttons.

Image
MMW 4.1.29.1910 Gold-Beta | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

Dood
Posts: 2
Joined: Sun Jun 28, 2020 1:24 pm

Re: Button to add currently playing to playlist

Post by Dood » Tue Jun 30, 2020 6:01 pm

Thanks for the help guys!

I didn't realize you could just do drag & drop.
The toolbar suggestion is close, but it still requires me to select a playlist.
I was hoping to create a one-click "send now playing to playlist xxx" solution if possible.

I'm not opposed to scripting either if it comes to that.
I have programming experience, but none with MM scripts.

Lowlander
Posts: 47311
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Button to add currently playing to playlist

Post by Lowlander » Tue Jun 30, 2020 6:03 pm

I'd assume that this could be scripted: http://www.mediamonkey.com/wiki/index.php/Scripting
Lowlander (MediaMonkey user since 2003)

Erwin Hanzl
Posts: 491
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Button to add currently playing to playlist

Post by Erwin Hanzl » Wed Jul 01, 2020 1:41 am

The advantage is recognizable.
TWO-click method

Image

OR Drag&Drop

Image

but it still requires me to select a playlist.
Yes, of course, how else should the program recognize what you want?
I'm really looking forward to your program solution!

Google-Translator, sorry
Last edited by Erwin Hanzl on Sat Jul 04, 2020 4:34 am, edited 1 time in total.
MMW 4.1.29.1910 Gold-Beta | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

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

Re: Button to add currently playing to playlist

Post by ZvezdanD » Wed Jul 01, 2020 8:58 am

Of course the one-click solution could be scripted. In fact, it was already scripted, you just need to search better. :wink: For example, you could look at my signature. The last add-on in the list.
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: 491
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Button to add currently playing to playlist

Post by Erwin Hanzl » Wed Jul 01, 2020 10:05 am

Hello Zvezdan,
thanks for the tip. But who reads all entries in all signatures?
Well, I have tested several times and come to the conclusion: I will stick to my TWO-CLICK method (habit).
Best regards

Hallo Zvezdan,
danke für den Tipp. Aber wer liest schon alle Einträge in allen Signatur?
Gut, ich habe mehrfach getestet und komme zu dem Schluß: ich bleibe bei meiner ZWEI-KLICK-Methode (Gewohnheit).
Schöne Grüße
MMW 4.1.29.1910 Gold-Beta | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

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

Re: Button to add currently playing to playlist

Post by ZvezdanD » Sat Jul 04, 2020 3:54 am

Erwin Hanzl wrote:
Wed Jul 01, 2020 10:05 am
thanks for the tip. But who reads all entries in all signatures?
Well, I have tested several times and come to the conclusion: I will stick to my TWO-CLICK method (habit).
You are free to use whatever solution that suits you, I don't want to change your habits. My answer was intended for the original poster who explicitly requested an one-click solution. However, I am just curious what kind of solution you expected when you said that you are "really looking forward to your program solution!"

I didn't say that anybody should search for anyone's signature. All my add-ons have their own threads in the Forum. It is enough to use the Search field of the Forum with the "add currently playing to playlist" to find the wanted add-on:
viewtopic.php?f=2&t=64062&hilit=add+cur ... o+playlist

If you always want to add currently played files to the same playlist, it is much easier to define that playlist just once, and after that to use the same toolbar button to add files to it, than to search for the target playlist every time when you want to add the file to it. Especially if you have long list of playlists and/or if the target playlist is nested on a deeper level in the tree. And if you prefer keyboard over mouse, with my add-on you could use the hotkey to add the file to the same playlist as well.

The solution with drag&drop is practical only if you: 1) have displayed Media Tree, 2) have visible playlist to which you want to add the file, 3) have displayed Now Playing panel, 4) have visible currently playing file in it. Otherwise, it will require much more than TWO-CLICKs.
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: 491
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Button to add currently playing to playlist

Post by Erwin Hanzl » Sat Jul 04, 2020 4:30 am

Erwin Hanzl wrote: ↑
01 Jul 2020, 17:05
thanks for the tip. But who reads all entries in all signatures?
Sorry, forgot smily :wink:
However, I am just curious what kind of solution you expected when you said that you are "really looking forward to your program solution!"
I test scripts again and again in order to use my MM even more efficiently.
At that time (Erwin Hanzl » 01 Jul 2020, 08:41):
I didn't know anything about the script "Add Currently Playing/Selected Track(s) to Playlist"
Your note from the script came later: (ZvezdanD » 01 Jul 2020, 15:58 )
-----------------------------------------------------------------------------------------------------------------------------------

Hello Zvedan,
but no, that wasn't a criticism.
Of course I respect every other solution, because there is a lot of time and patience in the scripts.
Actually, I wanted to provide "Dood" with a solution that might meet his requirements.

I tested the one-click method. I have 20 playlists and 20 icons.
Now I have to point the mouse over the icons so that Tooltip shows which playlist it is.
But yes, if you only want to manage up to five playlists, you have the advantage.

There I am with the TWO-click method to manage my 20 playlists, much faster and safer.
As I said, that's just habit.

Addendum:
Unfortunately, it is not possible to assign an icon to each playlist in the MediaTree.
You could then use this icons for your script.

Best regards
Google-Translator, sorry
---------------------------------------------------------------------------------------------------------------------

Hallo Zvedan,
aber nein, das war doch keine Kritik.
Natürlich respektiere ich jede andere Lösung, denn es steckt jede Menge Zeit und Geduld in den Scripten.
Eigentlich wollte ich damit "Dood" einen Lösungsvariante liefern, die seinen Anforderungen eventuell entspricht.

Ich habe die Ein-Klick-Methode getestet. Ich habe 20 Wiedergabelisten und damit 20 Icons.

Jetzt muss ich mit der Maus auf die Icons zeigen, damit Tooltip zeigt, welche Wiedergabeliste es ist.
Aber auch ja, wer nur bis zu fünf Wiedergabelisten betreuen will, der ist im Vorteil.

Da bin ich mit der ZWEI-Klick-Methode, um meine 20 Wiedergabelisten zu verwalten, wesentlich schneller und sicherer.
Wie gesagt, das ist eben Gewohnheit.

Nachtrag:
Leider ist es nicht möglich, im Archivbaum jeder Playliste ein Icon zuzuweisen.
Diese Icons könnten Sie dann für Ihr Script einsetzen.

Schöne Grüße
MMW 4.1.29.1910 Gold-Beta | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

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

Re: Button to add currently playing to playlist

Post by ZvezdanD » Sun Jul 05, 2020 5:24 am

The new version of the add-on has added an option to display playlist names on the toolbar buttons instead of icons.

It is (and it was) possible to change the default icon files with your own, which is now explained in the Usage section on the add-on's web page.

If you have any suggestion or complain about the add-on, please use its corresponding thread.
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: 491
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: Button to add currently playing to playlist

Post by Erwin Hanzl » Sun Jul 05, 2020 8:00 am

Further discussion in the add-on area
Please Look: viewtopic.php?f=2&p=470052#p470052
MMW 4.1.29.1910 Gold-Beta | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

Post Reply