PDA

View Full Version : Pulling current songinfo in XML



Stefan Christiansson
2004-10-01, 15:28
Thanks Dean, that worked great! Got the CPU usage down from 50 percent to
about 10!

Now I was wondering, would it be possible for you to add the number of items
in the playlist to the status_header xml? This is the only piece of
information that I seem to be missing in the xml. Maybe I'm just blind and
it's already there somewhere but if it's not it would be great to have it
there.

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of dean blackketter
Sent: den 1 oktober 2004 22:33
To: Slim Devices Discussion
Subject: [slim] Pulling current songinfo in XML

try:

http://yourserver:9000/xml/status_header.xml


On Oct 1, 2004, at 5:00 AM, Stefan Christiansson wrote:

> Is there any other xml resource than status.xml that will provide the
> currently playing song and player status only without the entire
> playlist?
>
> When I pull information from status.xml the CPU goes up to 50% which
> seems very unnecessary for just getting the current status if Iím not
> interested in the entire playlist.
>
>
>
> Rgds
>
> Stefan
>

dean
2004-10-01, 19:56
Hi Stefan,

Yes, indeed, it's not there. Look for it in tonight's nightly build.

-dean

On Oct 1, 2004, at 3:28 PM, Stefan Christiansson wrote:

> Thanks Dean, that worked great! Got the CPU usage down from 50 percent
> to
> about 10!
>
> Now I was wondering, would it be possible for you to add the number of
> items
> in the playlist to the status_header xml? This is the only piece of
> information that I seem to be missing in the xml. Maybe I'm just blind
> and
> it's already there somewhere but if it's not it would be great to have
> it
> there.
>
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of dean
> blackketter
> Sent: den 1 oktober 2004 22:33
> To: Slim Devices Discussion
> Subject: [slim] Pulling current songinfo in XML
>
> try:
>
> http://yourserver:9000/xml/status_header.xml
>
>
> On Oct 1, 2004, at 5:00 AM, Stefan Christiansson wrote:
>
>> Is there any other xml resource than status.xml that will provide the
>> currently playing song and player status only without the entire
>> playlist?
>>
>> When I pull information from status.xml the CPU goes up to 50% which
>> seems very unnecessary for just getting the current status if Iím not
>> interested in the entire playlist.
>>
>>
>>
>> Rgds
>>
>> Stefan
>>