2008-06-27, 18:22
the httpapi are based on having the media url as key when adding, playing removing songs from the playlist which is not good because it is not unique.
For example, what if i have the same song two times in a playlist. Removing by filename will remove it at both places.
When getting current playlist you should get an xml response where each song has a couple of tags such as path, song id, etc
If it sound complex, it should be possible when adding a new song to the playlist, also sending in a guid to make the song unique and also return the guid when getting the playlist. same for removal etc.
For example, what if i have the same song two times in a playlist. Removing by filename will remove it at both places.
When getting current playlist you should get an xml response where each song has a couple of tags such as path, song id, etc
If it sound complex, it should be possible when adding a new song to the playlist, also sending in a guid to make the song unique and also return the guid when getting the playlist. same for removal etc.