XBMC Community Forum
[RELEASE] Last.FM Playlist Generator Script - Auto Generate Similar Music Playlists - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Last.FM Playlist Generator Script - Auto Generate Similar Music Playlists (/showthread.php?tid=83915)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


- l0th - 2011-02-08 17:26

ErlendSB Wrote:I'll look into it. What's the error?

-Erlend

It's not detailed, it's just an xbmc notification that says "lastfmplaylistgeneratorPM error!"

That's all I get, I don't even get to any menu.

Is there a log somewhere that I can paste here?


- ErlendSB - 2011-02-08 19:28

The partymode script does not have a menu, it runs in the background (once started) and add tracks (silently) to the now playing playlist.

You could post the xbmc.log or excerpts from it, where it states any error info.

Do you see a progress bar when you start playing a track?


- l0th - 2011-02-08 19:45

ErlendSB Wrote:The partymode script does not have a menu, it runs in the background (once started) and add tracks (silently) to the now playing playlist.

You could post the xbmc.log or excerpts from it, where it states any error info.

Do you see a progress bar when you start playing a track?

You mean in general, when I start playing a track from my xbmc library and regardless of whether I try to start the script or not?

If so, yes. I'm using Aeon MQ 2 and I get a progress bar in the upper left corner and the menu bar itself turns into a huge progress bar when music is playing.

I'll try to replicate and copy the relevant part of the log when I get home.


- SpeedyV - 2011-02-11 13:21

Tried the script, it partially works. It ads new tracks but keeps adding the current playing track on top of the list. This results in repeating the track over and over again.

At the bottom of the playlist the new tracks are there though.

Keep up the good work!


- ErlendSB - 2011-02-11 13:30

You're right. It's pretty useless at the moment (:
I need to figure out how the playlist logic works.
When I start playing a track, the whole album is added.
This is correct behavior, but for partymode I only want to queue the one song.
Anyway, that's another nut I need to crack.
Bu when I add a track to the playlist via the script, it's placed at some random place. I'm a bit confused about this. I have some time over the weekend, so I'll see what I can do about it Smile I'll keep you posted


- ErlendSB - 2011-02-12 14:50

Uploaded a new version of the partymode script. Check it out Smile

http://code.google.com/p/lastfmplaylistgenerator/downloads/detail?name=script.lastfmplaylistgeneratorPM.zip


- crooksy - 2011-03-25 17:34

This is a great idea, I will be checking it out this weekend.

I wish there were more XBMC music plugins that intigrated more with your local music, last.fm and other music services

I'd love to rate my songs that then updates my local files ID tags and last.fm library.

One feature that would be good is to switch between playing local files or last.fm songs or a mix of both.


- crooksy - 2011-03-28 16:52

Just installed it and the script works great.

One little thing I noticed is that I suspect the script has trouble picking up certain characters. For example the script came back with no results for "Iron & Wine" when I know for sure this artist should come back with results in Last.fm


- ErlendSB - 2011-04-01 19:01

crooksy Wrote:Just installed it and the script works great.

One little thing I noticed is that I suspect the script has trouble picking up certain characters. For example the script came back with no results for "Iron & Wine" when I know for sure this artist should come back with results in Last.fm

Yeah you're right. I'm trying to figure out this searching syntax.

This is what i'm doing at the moment: (ugly, I knowBlush)
Code:
            similarArtistName = similarArtistName.replace("+"," ").replace("("," ").replace(")"," ").replace("&quot","'").replace("'","''").replace("&","and")

I might have a go at it during the weekend. Thanks for pointing it out.


- ErlendSB - 2011-04-02 13:52

Ok, I think I got it. A little urlencoding should do the trick.

New zip files and code has been uploaded.