2013-07-22, 03:53
thanks for that... when i asked the frodo api description page was down....
(2013-07-22, 07:56)Montellese Wrote: AudioLibrary.GetSongDetails returns properties of a specific song based on its ID. You can request the "file" property to get the path and filename of that song.
./texturecache.py jd songs home\ computer @logfile=/tmp/tc.log @logfile.verbose=yes
[
{
"album": "Computer World",
"songid": 1629,
"artist": [
"Kraftwerk"
],
"fanart": "image://http://assets.fanart.tv/fanart/music/5700dcd4-c139-4f31-aa3e-6382b9af9032/artistbackground/kraftwerk-4ddab726597a1.jpg/",
"title": "Home Computer",
"label": "Home Computer",
"file": "nfs://192.168.0.3/mnt/share/data/Music/MP3/Kraftwerk/Kraftwerk - 1981 - Computer World/06 - Homecomputer.mp3",
"thumbnail": "image://nfs://192.168.0.3/mnt/share/data/Music/MP3/Kraftwerk/Kraftwerk - 1981 - Computer World/cover.jpg/"
}
]
...
2013-07-22 13:29:44.279685:MainThread: libSongs.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "title"}, "filter": {"operator": "contains", "field": "title", "value": "ho
me computer"}, "properties": ["title", "artist", "album", "fanart", "thumbnail", "file"]}, "method": "AudioLibrary.GetSongs", "id": "libSongs"}]
2013-07-22 13:29:44.700641:MainThread: libSongs.BUFFER RECEIVED (len 630)
2013-07-22 13:29:44.700693:MainThread: libSongs.PARSING JSON DATA: {"id":"libSongs","jsonrpc":"2.0","result":{"limits":{"end":1,"start":0,"total":1},"songs":[{"album":"Computer World","artist":["Kraftwerk"],"fanart":
"image://http%3a%2f%2fassets.fanart.tv%2ffanart%2fmusic%2f5700dcd4-c139-4f31-aa3e-6382b9af9032%2fartistbackground%2fkraftwerk-4ddab726597a1.jpg/","file":"nfs://192.168.0.3/mnt/share/data/Music/MP3/Kraftwerk/Kraftwerk
- 1981 - Computer World/06 - Homecomputer.mp3","label":"Home Computer","songid":1629,"thumbnail":"image://nfs%3a%2f%2f192.168.0.3%2fmnt%2fshare%2fdata%2fMusic%2fMP3%2fKraftwerk%2fKraftwerk%20-%201981%20-%20Computer%
20World%2fcover.jpg/","title":"Home Computer"}]}}
2013-07-22 13:29:44.700751:MainThread: libSongs.PARSING COMPLETE, elapsed time: 0.000033 seconds
2013-07-22 13:29:44.700780:MainThread: libSongs.RECEIVED LIMITS: {u'start': 0, u'total': 1, u'end': 1}
2013-07-22 13:29:44.700800:MainThread: libSongs.FINISHED, elapsed time: 0.421074 seconds
(2013-07-22, 20:29)sraisbeck Wrote: i'm afraid that i am not running a linux box and currently have no idea how to run "Python 2.7.3... ...against a remote Frodo installation of XBMC..." so running that code is at the very least a daunting task...
(2013-07-23, 12:06)sraisbeck Wrote: got the script working... can't locate the files... they aren't there to locate