When does the iPod DB update?
Ok, I'm writing some code to allow reading of the iTunesDB for view on webpages and waht not. However, i'm noticing a problem with the "last played" fields of the iTunesDB file. Does anyone know if the database is updated only when you plug the ipod into a computer with iTunes on it? I use linux, and if i don't open up my ipod in itunes on a windows computer, it seems that changes to the last played values don't take. Once I open the iPod with iTunes, though, those changes seem to be present again.
What gives?
WEZ
[561 byte] By [
Wezzul] at [2007-11-10 9:16:20]

# 1 Re: When does the iPod DB update?
You need to start iTunes to get iTunesDB updated. Note that iPod never touches iTunesDB, so it stores information about play count and last play date in a separate file. So, iTunes merges infomration from this file with content of iTunesDB. You may check code for several open source iTunesDB->HTML convertors to get more details.
MOCKBA at 2007-11-15 13:37:45 >

# 2 Re: When does the iPod DB update?
I haven't been able to found anything that converts iTunesDB to HTML... could you point me int he direction?
WEZ
Wezzul at 2007-11-15 13:38:45 >

# 4 Re: When does the iPod DB update?
Hmmm.. .this does the same thing the script I wrote does, except less.. if the last played part of the playlist is in another file, this surely doens't do anythign with that..
WEZ
Wezzul at 2007-11-15 13:40:48 >

# 5 Re: When does the iPod DB update?
Last time when I checked this program it didn't show statistics, so it doesn't care when song was played. The program is so neat so I couldn't resist and copied this script for my purpose. It's good to hear that you come with the same script. I think last played info is more important for real time tickers showing currently played, and played in 20 minutes interval.
MOCKBA at 2007-11-15 13:41:47 >

# 6 Re: When does the iPod DB update?
I'm not sure I'm following.. how exactly would I use my iPod to show what is currently playing, last twenty minutes, etc, unless it was plugged in all the time playing... which it rarely is...?
WEZ
Wezzul at 2007-11-15 13:42:56 >
