0
Hi,
I added a sort functionality to the songs grid (see www.gigsong.de). But now I have the problem, that the player plays everytime the songs in the same order, even if I change the order.
One example: The default sort order is "Newest first", then the song "test1" is on position one, the song "ztest" is on position two. The player plays the songs in this order. Now I change the order of the songs to "Name Z-A". Now song "ztest" is on position one in the grid, "test1" is on position two. Now the problem occurs: If I press the play button of "ztest", the the song "test1" is played. If I press the play button of "test1", then the song "ztest" is played. How can I control what file the player plays if I change the sort order of the songs?
Please help!!!
Best regards
Michael
I added a sort functionality to the songs grid (see www.gigsong.de). But now I have the problem, that the player plays everytime the songs in the same order, even if I change the order.
One example: The default sort order is "Newest first", then the song "test1" is on position one, the song "ztest" is on position two. The player plays the songs in this order. Now I change the order of the songs to "Name Z-A". Now song "ztest" is on position one in the grid, "test1" is on position two. Now the problem occurs: If I press the play button of "ztest", the the song "test1" is played. If I press the play button of "test1", then the song "ztest" is played. How can I control what file the player plays if I change the sort order of the songs?
Please help!!!
Best regards
Michael
Responses (2)
-
Accepted Answer
0I can't help you much on this, because is something that YOU changed... its not our fault if it does not works as you expect it...
I'll tell you that the XML feed that feeds the player probably is not getting these new variables you added, so it uses the default order, which comes with music collection, so in order to change this order I guess you have to change the variables on the link to the xml feed.
if you need more help on this you'd need to contact us thorugh our custom service... I cannot help you much more on this! -
Accepted Answer
0Thanks for your first answer!
Can you give me a tip where in the code I can change this order or where I find these "xml feeds"? Maybe I can change it by myself!?
And I found out another problem:
I have the same bahaviour if I use pagination: Lets say I use pagination and I have on each page 5 songs. Then on second page the player plays the same songs then on first page and so on. I guess the playlist is not refreshed when pressing the page selection button
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »