MusicIP Mixer (MusicIP.com, similar to Last.fm)
#9
Thanks for the script and debug support ErlendSB! All fixed now!

For others who experience the same problem - this was the issue... My music files are on an external/USB drive, which changes how the path appears in MusicIP for linux compared to how it appears in Ubuntu:

In Ubuntu (as shown in xbmc.log after the script failed)= /media/My Music/Album...
In MusicIP (as shown by viewing "song information" in MusicIP)= /media/My Music/./Album...

As suggested by ErlendSB, I simply amended the script to suit my system. In this case, the added "/./" in the file path for MusicIP. The line I amended is as follows:

currentlyPlaying = currentlyPlaying.replace("/My Music/","/My+Music/./").replace(" ","+")

I tested the need for the extra "/./" in the path by doing a direct call via web browser:
http:// localhost:XXXX/api/mix?song=/media/My+Music/./Album...&size=12&sizeType=tracks&content=text

(Where XXXX is my local api setting; and /Album... was the full path to the file I wanted to create a mix from).

For a while there I was afraid I'd have to move back to Windows to make use of MusicIP. This script, combined with XBMC, is better than the setup I had previously under Windows. And free I tells ya...
Reply


Messages In This Thread
Similar to Last FM? - by Gamester17 - 2008-08-24, 14:31
[No subject] - by gilgongo - 2008-08-25, 22:19
[No subject] - by Necromancyr - 2009-01-28, 18:12
[No subject] - by ErlendSB - 2009-08-15, 12:59
[No subject] - by doot - 2009-09-01, 15:08
[No subject] - by ErlendSB - 2009-09-01, 15:22
[No subject] - by doot - 2009-09-02, 14:34
[No subject] - by Gabesdad - 2010-10-11, 19:56
Logout Mark Read Team Forum Stats Members Help
MusicIP Mixer (MusicIP.com, similar to Last.fm)2