Re: [Rhythmbox-devel] iTunes Library import

On Fri, 2005-12-09 at 17:52 +0100, Karsten Schmiedecke wrote:
> I've checked out the XML-Version of the iTunes Library and compared it
> to rhythmdb.xml and found that iTunes saves <key>Title</key><string>New
> Song</string> while rhythmbox saves <title>New Song</title>. Since the
> iTunes Library also contains only one entry per line, i would imagine
> that you could accomplish a lot with a script passing the file through
> sed, but sed is (as of yet) too cryptic for me to get it done. I'm
> guessing you could do s/key\>// and s/\<\/key><string// to put the
> opening tag but i don't know how to close the tag at the end of the line...

The best way to do it would be with XSLT, but you'll have to find
someone who known about that. One of the list posts in the archive has a
link to a python script. I haven't tried it, but it might work:

> Also, is it possible to configure rb to have a default rating of zero
> (0) Stars, so that you can tell apart the songs you haven't rated (yet)
> and those that you rated with 3 stars?

The default rating was set to 2.5 so that auto-rating would work
properly. Now that autorating has been removed, it's probably worth
changing it back.


James "Doc" Livingston
Accept that some days you're the pigeon and some days you're the statue

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]