PDA

View Full Version : Minor Feature request



Dixon, Bill
2004-05-07, 09:54
Well THAT puts a twist in the server's panties! Locks it solid, slim is eating 99%+ of the cycles, streaming stops, the whole nine. After a restart, at least it'll stream while processing. Methinks this little link does some extraneous traversal of the library.......

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Jacob Potter
Sent: Thursday, May 06, 2004 7:36 PM
To: Slim Devices Discussion
Subject: [slim] Minor Feature request


On Thu, 6 May 2004 19:10:25 -0600, Jason <jason (AT) pagefamily (DOT) net> wrote:
> Actually it would be pretty kick ass if someone could write a perl script
> that would pull all of the album, artist information out of the Slimserver
> dbase and put it in a format for easy printing (bonus points for doing it
> with album art).

You could access that information with the XML skin:

http://<server>:9000/xml/browseid3.xml?artist=*&genre=*&album=*&itemsPerPage=99999

Of course, that's not a particularly easy-to-print format; it would
take some converting to make it usable.

- Jacob

kdf
2004-05-07, 11:26
Try a lesser itemsPerPage.
-kdf

Quoting "Dixon, Bill" <Bill.Dixon (AT) Level3 (DOT) com>:

> Well THAT puts a twist in the server's panties! Locks it solid, slim is
> eating 99%+ of the cycles, streaming stops, the whole nine. After a restart,
> at least it'll stream while processing. Methinks this little link does some
> extraneous traversal of the library.......
>
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Jacob Potter
> Sent: Thursday, May 06, 2004 7:36 PM
> To: Slim Devices Discussion
> Subject: [slim] Minor Feature request
>
>
> On Thu, 6 May 2004 19:10:25 -0600, Jason <jason (AT) pagefamily (DOT) net> wrote:
> > Actually it would be pretty kick ass if someone could write a perl script
> > that would pull all of the album, artist information out of the Slimserver
> > dbase and put it in a format for easy printing (bonus points for doing it
> > with album art).
>
> You could access that information with the XML skin:
>
> http://<server>:9000/xml/browseid3.xml?artist=*&genre=*&album=*&itemsPerPage=99999
>
> Of course, that's not a particularly easy-to-print format; it would
> take some converting to make it usable.
>
> - Jacob
>

Roy M. Silvernail
2004-05-07, 11:48
On Fri, 2004-05-07 at 14:26, kdf wrote:
> Try a lesser itemsPerPage.

It's probably system-dependent. I dumped my 5778 songs in one shot
and...

roy@mesmer roy $ time curl -o slimdump.xml
http://192.168.1.20:9000/xml/browseid3.xml\?artist=\*\&genre=\*\&album=\*\&itemsPerPage=999999
% Total % Received % Xferd Average Speed Time
Curr.
Dload Upload Total Current Left
Speed
100 6337k 100 6337k 0 0 33598 0 0:03:13 0:03:13 0:00:00
1417k

real 3m13.181s
user 0m0.006s
sys 0m0.049s
roy@mesmer roy $ ll slimdump.xml
-rw-r--r-- 1 roy users 6489098 May 7 14:44 slimdump.xml

Although 3:13 can seem like 15 minutes if you're staring at it waiting
for it to finish. (watched pot syndrome) The server wouldn't paint
Fishbone's left pane until it was done with the XML dump, either.

> -kdf
>
> Quoting "Dixon, Bill" <Bill.Dixon (AT) Level3 (DOT) com>:
>
> > Well THAT puts a twist in the server's panties! Locks it solid, slim is
> > eating 99%+ of the cycles, streaming stops, the whole nine. After a restart,
> > at least it'll stream while processing. Methinks this little link does some
> > extraneous traversal of the library.......
> >
> > -----Original Message-----
> > From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Jacob Potter
> > Sent: Thursday, May 06, 2004 7:36 PM
> > To: Slim Devices Discussion
> > Subject: [slim] Minor Feature request
> >
> >
> > On Thu, 6 May 2004 19:10:25 -0600, Jason <jason (AT) pagefamily (DOT) net> wrote:
> > > Actually it would be pretty kick ass if someone could write a perl script
> > > that would pull all of the album, artist information out of the Slimserver
> > > dbase and put it in a format for easy printing (bonus points for doing it
> > > with album art).
> >
> > You could access that information with the XML skin:
> >
> > http://<server>:9000/xml/browseid3.xml?artist=*&genre=*&album=*&itemsPerPage=99999
> >
> > Of course, that's not a particularly easy-to-print format; it would
> > take some converting to make it usable.
> >
> > - Jacob
> >

whump@mac.com
2004-05-07, 13:33
>>> You could access that information with the XML skin:
>>>
>>> http://<server>:9000/xml/browseid3.xml?
>>> artist=*&genre=*&album=*&itemsPerPage=99999

Wow, that's great to know about!

However, It'd be better if it used UTF-8 encoding for output.

There's non-latin-1 stuff in iTunes dictionary XML, esp. if you have
anything from China, or Japan in your collection, and I'm guessing
there are a non-trivial number of Anime fen with Squeezeboxen.

--whump