[Top][All Lists]

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

Re: [Bug-gnupod] Problem with smart playlists

From: Adrian Ulrich
Subject: Re: [Bug-gnupod] Problem with smart playlists
Date: Wed, 15 Dec 2004 20:43:29 +0100


> Let's suppose i want to create a playlist with my best rated songs.
> 1 - Run tunes2pod.pl to update GNUtunesDB

Recent versions of GNUpod will run tunes2pod themself..
So you should never need it to run manually..

> 2 - Write this in GNUtunesDB:
>  <smartplaylist checkrule="spl" limititem="song"
> limitsort="playcount_low" limitval="200" liveupdate="1" matchany="0"
> moselected="" name="TestTop" >
>    <spl action="gt" field="rating" string="40:40" />
>  </smartplaylist>

Yes, this would add all songs with more than 2 stars to this
smartplaylist (limited to 200 songs)

> 3 - Run mktunes.pl
> Is this playlist supposed to be populated with songs right now?

No, mktunes.pl only writes the SPL information to the iPod.. it does
not match/search songs and add them to the playlist.
The iPod does this (!), but this needs Firmware 2.x or newer..
Smartplaylists don't work on 1st Gen iPods .. (they would be silly
anyway, because 1st Gen iPods do not count 'playcounts' and you can't
rate songs)

> (it gets an attribute "plid", but it is not populated yet)

Dont care about the 'plid' .. It's the unique ID of the
Playlist on the iPod..

> I am doing something wrong? Is there anything else i have to do?

Hmm.. the <smartplaylist definition looks okay and works on my iPod..

* Could you tell me wich iPod you own? Firmware version?
* How did you set a rating? On the iPod? Using GNUpod?


Attachment: pgpqQ2pzrSU41.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]