Script Request - LastFM Loved Tracks - Creating Playlist

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

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

Script Request - LastFM Loved Tracks - Creating Playlist

Post by nynaevelan »

Songbird has a plugin that downloads the Loved Tracks from Last.FM and inserts them into a playlist. Would it be possible to create a script that would log into LastFM and create a playlist in MM of the loved tracks?? I wouldn't need it to make any changes to the Loved status, I would just like to have a playlist available to play and to use to change the status on Last.FM. If possible this would give the user the option whether to overwrite the playlist if it already exists or to append to the end of it. And also to create a log file of the tracks which could not be found in MM. Anyone interested in taking up this challenge.
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
Psyker7
Posts: 255
Joined: Sat Mar 03, 2007 8:00 am

Re: Script Request - LastFM Loved Tracks - Creating Playlist

Post by Psyker7 »

As mentioned, if no one else wants to do this, I'll have a go at it in a week or so :)

If anyone else *does* want a go at it, my script is probably a good starting point - major change would be creating a playlist instead of updating the track details.

Edit: what would really make me want to write this script is if this was implimented :P

http://mediamonkey.com/forum/viewtopic. ... 0&p=217775
http://www.ventismedia.com/mantis/view.php?id=5425
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Script Request - LastFM Loved Tracks - Creating Playlist

Post by nynaevelan »

Psyker7 wrote:As mentioned, if no one else wants to do this, I'll have a go at it in a week or so :)

If anyone else *does* want a go at it, my script is probably a good starting point - major change would be creating a playlist instead of updating the track details.

Edit: what would really make me want to write this script is if this was implimented :P

http://mediamonkey.com/forum/viewtopic. ... 0&p=217775
http://www.ventismedia.com/mantis/view.php?id=5425
I am looking forward to that also, it's kinda the next necessary step. :wink:
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
Psyker7
Posts: 255
Joined: Sat Mar 03, 2007 8:00 am

Re: Script Request - LastFM Loved Tracks - Creating Playlist

Post by Psyker7 »

Bah @ which thread to reply to.

Anywho, mostly done, just wondering what to do with duplicates at the moment (ie tracks you have multiple copies of) tempted to take the highest playcount of the duplicates at the moment, does that sound OK?

Only took about 30 mins to code up once I actually sat down and started at it :P
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Script Request - LastFM Loved Tracks - Creating Playlist

Post by nynaevelan »

I would not be opposed to using the one with the highest playcount, although I also wouldn't mind if a "ghost" track could be created. Otherwise how would you know to fix the duplicates? Or maybe a log to give a list of the tracks that could not be added to the playlist. But that is not a major problem if it could not be addressed.
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