Http Api AddToPlayList doesn't queue items in the order they where added

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MrLux Offline
Junior Member
Posts: 12
Joined: Dec 2008
Reputation: 0
Location: Belgium
Post: #1
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
(This post was last modified: 2008-12-11 11:29 by MrLux.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
Is random playback on?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
MrLux Offline
Junior Member
Posts: 12
Joined: Dec 2008
Reputation: 0
Location: Belgium
Post: #3
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
find quote