Script/Shortcut to insert song into special Playlist

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

fkuehner
Posts: 5
Joined: Wed May 28, 2008 2:11 am
Contact:

Script/Shortcut to insert song into special Playlist

Post by fkuehner »

Hi,

actually i am creating some playlists (Soft, Heavy, Blues etc etc.) with some special songs of my collection. I do this by browsing my songs database and whenever a song should be inserted into this playlist i have to right click it --> send to --> playlist --> choose the target playlist ...

This is Ok when you only have a few songs, but when adding hundreds of songs into different playlists ... it gets nasty...

is there a way to use a shortcut (or several customizable shortcuts for several different playlists) for this function?

best regards

Freddy
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by raybeau528 »

This should be doable via a script ..perhaps you could describe how, ie the user interface, you would like this to work.
For example, I would probably have a function to select the target script(s) and then a right-click method to add the selection to one of the target playlists. Then, instead of the long way of:
right-click send to, Playlist, Parent Playlist, target play list
you would:
right-click send to, Target Playlist1/Target PlayList2/Target Playlist 3 etc.
where it would just be one level of selections (the target playlists)

Ray
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by Teknojnky »

there is also a playlist button on the toolbar you can use to add songs to playlists, I think its easier to use than the send to menu.

another alternative is to use a custom mood/quality/tempo/occasion, then you can create custom autoplaylists instead of having static playlists.
fkuehner
Posts: 5
Joined: Wed May 28, 2008 2:11 am
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by fkuehner »

Ray,
raybeau528 wrote:This should be doable via a script ..perhaps you could describe how, ie the user interface, you would like this to work.
i think the fastest way would be to have some keyboard shortcuts. e.g. CTRL-ALT-1 sends the markd sonk to playlist xxxxx, CTRL-ALT-2 to yyyy and CTRL-ALT-3 to zzzz. These shortcuts and targets should/could be custimizable...

Thats my wish ;-)

best regards

Freddy
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by raybeau528 »

ok but what method would you use to assign playlist xxxxx to CTRL-ALT-1, etc. ?
fkuehner
Posts: 5
Joined: Wed May 28, 2008 2:11 am
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by fkuehner »

raybeau528 wrote:ok but what method would you use to assign playlist xxxxx to CTRL-ALT-1, etc. ?
Hmm... good question....maybe a dialog (script ??) that reads out the configured Playlists and allows to assign user-defined Keyboard shortcuts to the playlists and writes a config-file. This config-file then could be read in by the second script which assigns the sonmgs to the playlists.

I dont know if this is possible, just my wish ;-)
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by Teknojnky »

here is a psuedocode for a possible script implementation (for someone else to attempt to implement)

objective, add selected track(s) to predetermined playlist

addtofavoriteplaylist()

check for valid track selection
check for existing playlist name, create new if necessary, save the playlist object
add selected tracks to a new songlist object
add songlist object to selected playlist ---> isdbplaylist.addtracks.songlist

go to tools > options > general > hotkeys > select general execute script name, assign it a hotkey combo

obviously this script would need to have the applicable script.ini entries and the playlist name would have to be hardcoded (unless more script was added to make it configurable/flexible).

scripting info and objects @ http://www.mediamonkey.com/wiki/index.p ... on_objects


see also the sendto playlist on the toolbar:
Image
Guest

Re: Script/Shortcut to insert song into special Playlist

Post by Guest »

Has there been any progress on this subject guys?

We are currently listening to about 2000 albums on shuffle and I would really like to be able to hit ONE key on the keyboard whenever a song plays that I think appropriate for our upcoming kitchen party and send it to our "Kitchen Party Playlist".
I have modified my hotkeys so if a song is playing that rocks my boat I just hit the "5" key and it's rated five star, can we apply the same or similar script and have the currently playing song sent to a pre-determined playlst???

Thanks

Matt
buelldebeast
Posts: 1
Joined: Fri Sep 10, 2010 1:44 am
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by buelldebeast »

Bugger...

Sorry guys, first time poster and it seems I posted that last comment without being logged in...

Thanks

Matt
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Script/Shortcut to insert song into special Playlist

Post by nynaevelan »

A thought, woudn't Raybeau's Copy2Playlist script and Teckno's suggestion for the hotkey meet your needs?? Of course you woud only be able to do this to one playlist.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Post Reply