2010-09-18, 13:53
Hi,
i like the new api, but i have some annotations:
1. Playlist.Remove does not work (The other people already mentioned that. ). It would be nice if this would be implemented.
2. GetShares / GetRootDirectory does not work.
3. It's possible to add a folder to the playlist:
But the API will not add the files (inside the folder) itself to the playlist.
4. I use the following code to add a file to the playlist:
This works fine, but then AudioPlaylist.GetItems returns no song-information like artist, label etc. with this command:
The response is:
It would be nice, if this can be fixed.
5. A method to toggle shuffle-mode would be nice
6. The GetXYZInfo-methods are not implemented yet.
Greets,
MKay
i like the new api, but i have some annotations:
1. Playlist.Remove does not work (The other people already mentioned that. ). It would be nice if this would be implemented.
2. GetShares / GetRootDirectory does not work.
3. It's possible to add a folder to the playlist:
Code:
'{"method": "AudioPlaylist.Add", "params": { "file": "/media/usb/mp3" }}'
4. I use the following code to add a file to the playlist:
Code:
'{"method": "AudioPlaylist.Add", "params": { "file": "/media/usb/mp3/track.mp3" }, "id": 1}'
Code:
'{"method": "AudioPlaylist.GetItems", "params": { "fields": ["title", "album", "artist", "duration"] }}'
Code:
id: 1
jsonrpc: 2.0
result:
current: 0
end: 1
items:
0:
fanart: special://masterprofile/Thumbnails/Video/Fanart/f58940e3.tbn
file: /media/usb/mp3/Track.mp3
label:
paused: false
playing: true
start: 0
total: 1
5. A method to toggle shuffle-mode would be nice
6. The GetXYZInfo-methods are not implemented yet.
Greets,
MKay