Kodi Community Forum

Full Version: Http Api AddToPlayList doesn't queue items in the order they where added
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm developing a Mobile Xbmc Remote and till now it is working great the only bizar problem i have is when is add 5 song:
1. title1.mp3
2. title2.mp3
3. title3.mp3
4. title4.mp3
5. title5.mp3

with the AddToPlaylist Http Command Xbmc shifts the order internaly:
GetPlaylistContents returns
1. title1.mp3
4. title4.mp3
3. title3.mp3
2. title2.mp3
5. title5.mp3

When i use the WebInterface it does work when i queue eacht song.
When i look in the Asp page the command that is send is
http:127.0.0.1/xbmcCmds/xbmcForm?command=catalog&parameter=que,1

but when i paste this in a browser it does nothing.
Then i looked around and found an sql add to playlist command "AddTpPlaylist&parameter=musicdb://3/1;0;;1" or something like that.
This command is verry fast and i would prefer to use this, the only thing i want is that xbmc doesn't shift the order in with i add the files an that y can order the sql result by tracknumber or fileName.

so to be short how do i get a Queueing functionality via the Http Api or something else i can use from a Mobile App using .net CF C#?
Any Idea's ??

btw: i am runnin XBMC for Win v8.10

Kind Regards
MrLux
Is random playback on?
Hi all,

I solved the problem Smile
I reinstalled XBMC and that did the trick.
Maybe it was idd the random playback mode.
Or maybe it was a faulty initial install because on first run i lacked some dll's.
I don't know but it's over now

Thanks for reading and replying