Server Page Rotation?
Server Page Rotation?
Is it possible to have a Server page that shows the current rotation?
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Server Page Rotation?
Technically, yes, since the hook is there for wtkJams.
Sigh, I see more work coming my way!
Sigh, I see more work coming my way!
Re: Server Page Rotation?
feel free to write that up ![Very Happy :D](./images/smilies/icon_biggrin.gif)
the url paths are "rotation" and "kj_rotation", the return raw xml, which would have to be parsed into a page
![Very Happy :D](./images/smilies/icon_biggrin.gif)
the url paths are "rotation" and "kj_rotation", the return raw xml, which would have to be parsed into a page
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Server Page Rotation?
Well, I suspect I should use one or the other. Having both would just be confusing. I am guessing that the difference is that kJ_R is one round through the rotation, whereas Rotation is a straight list all the way to the end of the show, correct?
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Server Page Rotation?
I was talking about the retuned value for the variable. But I guess you are just returning the internal representation.
Re: Server Page Rotation?
indeed
Re: Server Page Rotation?
CWS_Path_KJ_ROTATION shows a list of all the singers in the rotation. I use this to get a list of the singers and their position in the rotation.
CWS_Path_ROTATION shows a list of all the songs that are currently in the rotation.
CWS_Path_ROTATION shows a list of all the songs that are currently in the rotation.
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Server Page Rotation?
Wait. Old post, but I would like to point out that the two responses from the two Daves are contradictory. Dave C., your link implies that URL_rotation would return the list of singers for the entire rotation, to the end of the night, just as it is in kJams, and URL_kJ_Rotation would return the list of singers for one pass through the rotation.
But Dave2 is stating that they the Rotation URL would return a list of SONGS in the current rotation, and the kJ_Rotation URL would return a list of SINGERS in the current rotation.
So either something is amiss, or people are talking at cross purposes.
But Dave2 is stating that they the Rotation URL would return a list of SONGS in the current rotation, and the kJ_Rotation URL would return a list of SINGERS in the current rotation.
So either something is amiss, or people are talking at cross purposes.
Re: Server Page Rotation?
I think what OtherDave meant was that ROTATION returns a list of SONGS_WITH_SINGERS, in order starting with who's on stage now, 'till the end of the night, you may get the same singer more than once, each time with a different song). and that KJ_ROTATION also returns a list of SONGS_WITH_SINGERS, in order starting from the top of the rotation, each singer listed only once, and that singer may or may not have a song.
-
- Posts: 1293
- Joined: Sun Apr 20, 2008 9:57 am
- Location: Pittsburgh, PA
- Contact:
Re: Server Page Rotation?
Okay, well, the thing that was holding it up was that I will have to learn how to use SPRY data tools (since that appears to be how the original web code was implemented) to write the new web code, which is why I had it back-burnered!
Re: Server Page Rotation?
mmm, yeah. or you could re-write it from scratch using your own tools ![Wink ;-)](./images/smilies/icon_wink.gif)
note that python has built in "plist" parsing code
![Wink ;-)](./images/smilies/icon_wink.gif)
note that python has built in "plist" parsing code