|
Star ratings and other "Play Count" file data: msg#00062ipod.ephpod
Over on the ipodlounge forums, a few of us have been beating on our Pods to figure how to work with the Play Counts file: http://ipodlounge.com/forums/showthread.php?s=&threadid=4803 One of the folks actually put some code behind the idea, so hopefully this will help in getting some of the functionality into Ephpod. In my mind, here's how I would do it: * On first startup, parse iTunesDB and (basically empty) Play Counts file. * User does whatever they want in Ephpod (just add a few colums for rating, # of plays, time last played, and we can just filter/sort around those for making playlists, and edit in Ephpod) * On save, Ephpod will update its local copy of the Play Counts file as well as on the iPod * On disconnect, the iPod will zero-out the counts and ratings * On next connect, when the user connects, compare the last known copy of Play Counts with the one on the device. If a song which previously held some information now is completely zeroed out, we retain the old information. If the rating was changed on the device, the song had to have been played, so we should have a # of plays, and a last-played time. Play counts can simply be incremented (ie, if the computer's copy says "One Week" has been played twice, and the iPod shows 1 play, we've had a new one, and the playcount is incremented to 3. Thoughts, comments, etc? --Ben ------------------------------------------------------ ephPod Mailing List FAQ and HomePage http://www.ephpod.com mailto:ephpod-on@xxxxxxxxxxxxxxxx to susbcribe mailto:ephpod-off@xxxxxxxxxxxxxxxx to unsusbcribe mailto:ephpod@xxxxxxxxxxxxxxxx the mailing-list itself |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | chinese characters in filename: 00062, Steve Yeung |
|---|---|
| Next by Date: | Playlist Question: 00062, Mark Bright |
| Previous by Thread: | chinese characters in filenamei: 00062, Steve Yeung |
| Next by Thread: | Playlist Question: 00062, Mark Bright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |