Posted by: mlord
Hijack v478: "get running order" for .xml web interface. - 18/08/2007 13:06
Hijack v478 is now available.
New in this version is the long awaited "get current running order" interface for Mark Cushman's empeg party interface stuff.
I have also noticed that the stored "current running order" is not always updated on disk immediately, particularly (or possibly only) when the player is paused.
Enjoy!
New in this version is the long awaited "get current running order" interface for Mark Cushman's empeg party interface stuff.
- Retrieve the current running order, in the form of a playlist, from the web interface using FID=001&EXT=.xml Note that the leading zeros are *required*, and that this feature only works currently with .xml output, not regular .html (I should fix this someday).
- For any playlist, one can now specify a limit to the number of items returned, using &COUNT=10 for example (or any positive integer; zero means "return everything").
- Also for any playlist, a starting offset can be specified, to skip over the first few entries, using &OFFSET=5 for example.
- The .xml output for FID=001 also sets two additional variables at the top: runOrderLen="nnn" and playListLen="nnn", both based upon the values of the same names, as retrieved from the running order area of the dynamic data paritition.
I have also noticed that the stored "current running order" is not always updated on disk immediately, particularly (or possibly only) when the player is paused.
Enjoy!