Windows software that uses "Stars"
Do any of the Windows software packages for the iPod utilize the "Stars" rating function embedded in the iPod?
I am currently using MMJB and it does not.
Does EphPod or XPlay utilize the "Stars" rating function?
Thanks,
James
[261 byte] By [
drtywrk] at [2007-11-9 12:53:23]

# 1 Re: Windows software that uses "Stars"
No, not yet. The problem is that the playcount and rating function are turned off--they're aren't functional (even though you can still access the rating screen). Apple turned this off for the winpod, but in the future (when itunes for windows is available), they will probably be enabled. In which case, programs like Media center 9 and Itunes for windows will be able to use them. I doubt mmjb ever will have that capacity though...
dmt1 at 2007-11-15 17:06:07 >

# 2 Re: Windows software that uses "Stars"
Originally posted by dmt1
No, not yet. The problem is that the playcount and rating function are turned off--they're aren't functional (even though you can still access the rating screen). Apple turned this off for the winpod, but in the future (when itunes for windows is available), they will probably be enabled. In which case, programs like Media center 9 and Itunes for windows will be able to use them. I doubt mmjb ever will have that capacity though...
I was reading something on the GTKPod site that indicated one of their developers reverse-engineered the info about song-rating and playcounts in the database and they got it working. I took a look in my WinPod (in ipod_control\Itunes\Play Counts) and there's definitely some data in there. I'm going to poke around in mine a little bit tonight and see if the data actually updates at all.
# 3 Re: Windows software that uses "Stars"
Originally posted by bdjohns1
I was reading something on the GTKPod site that indicated one of their developers reverse-engineered the info about song-rating and playcounts in the database and they got it working. I took a look in my WinPod (in ipod_control\Itunes\Play Counts) and there's definitely some data in there. I'm going to poke around in mine a little bit tonight and see if the data actually updates at all.
Ok, following up to myself. I played around with repeatedly playing the first track in my database over and over and noted a few things:
1) On the WinPod, it is definitely keeping track of playcounts, last time played, and star ratings. However, it seems like this information is always lost once you've connected and disconnected your iPod. So, Ephpod or your software of choice will have to read the data on open, then rewrite it when you close down.
2) Playcount only seems to be updated if you reach the end of a song. Listening to even 30-45 seconds doesn't count.
# 4 Re: Windows software that uses "Stars"
Yeah, this has been researched by a bunch of folks bd.
The problem is, that the minute the iPod is connected to the PC, the playcount file is cleaned out so there's no way for any program to get the data. Apple could have done this differently by having the file get deleted/re-created upon unmount but they didn't do that.
The reason my of us have hypothesized that this was done, was that since MMJB wasn't capable of accessing this data (and resetting the file to 0 bytes) if you didn't clear it out someway the file would eventually get very large.
So, they took the silly way out.
As Chris (Dmt1) said, with the release of iTunes for windows we're hoping this is resolved and then programs like MC9 will be able to leverage playcounts and ratings.
Not sure how ephpod will implement this, as it doesn't keep a library of your tunes (it only sees what's on the iPod), so creating smartlists (which is what ratings and playcounts is for) would be difficult, but I'm sure Joe could manage something.
Adam
# 5 Re: Windows software that uses "Stars"
Originally posted by ashawley
[B]Yeah, this has been researched by a bunch of folks bd.
The problem is, that the minute the iPod is connected to the PC, the playcount file is cleaned out so there's no way for any program to get the data. Apple could have done this differently by having the file get deleted/re-created upon unmount but they didn't do that.
Actually, on my box I was able to catch it if I went into Explorer immediately after the iPod was mounted (ie ~10 seconds)
My first thought would be to have EphPod launched before you mount the iPod, and have a listener waiting for the iPod to show up. When it sees it there, it snags the Play Counts file. I'll take a look at the gtkpod source and see how it works.
# 6 Re: Windows software that uses "Stars"
bdjohns1,
This is, indeed, a noble quest that you are embarking on. All who have gone before you have failed. Failed to the point where the only logical alternative is that "Apple has turned the ratings and playcount/playdates off" is the only line of reasoning.
If you can make it work... make it work WITHOUT having to install a "hacked" or "alternate" firmware onto the iPod itself... make it work only with software on the PC...
Well, sir, you'll be a hero.
Enough of my motivational speaking... get a-coding!! :D
c.c.r. at 2007-11-15 17:11:11 >

# 7 Re: Windows software that uses "Stars"
Kurt is absolutely right, but I must warn you, never trust a man who adores foccacia, and absolutely run as fast as you can from a man who can actually spell it correctly...
I commend you on your quest for the Holy Grail of ipodness, let us know how it going periodically, and beware of killer rabbits...
**Disclaimer: I myself do not adore foccacia, nor know how to spell it. The spelling was pinched from Kurt's avatar over at the Jriver forum. Everyone beware of Kurt, the maniacal bread fiend that he is...
dmt1 at 2007-11-15 17:12:15 >

# 8 Re: Windows software that uses "Stars"
"foccacia, foccacia, foccacia"
Chris'll get it, but that's about it...er, well, maybe he will. :D
Adam
# 9 Re: Windows software that uses "Stars"
Originally posted by c.c.r.
bdjohns1,
This is, indeed, a noble quest that you are embarking on. All who have gone before you have failed. Failed to the point where the only logical alternative is that "Apple has turned the ratings and playcount/playdates off" is the only line of reasoning.
If you can make it work... make it work WITHOUT having to install a "hacked" or "alternate" firmware onto the iPod itself... make it work only with software on the PC...
Well, sir, you'll be a hero.
Enough of my motivational speaking... get a-coding!! :D
Ah, if only I knew how to write code in Windows. Asides from a little CS in college, I'm not too sharp. I can read the code enough to know what's going on, but that's the extent of my skills. I did review the code that gtkpod uses to read playcount data, but I haven't reviewed how/if the Linux version manages to keep the information preserved. Ok...well, my g/f hasn't called me back yet, so let's take a look at the gtkpod source.
file.c - If I'm interpreting the code/comments right at a look-see, it appears that gtkpod keeps a local version of the iTunesDB file and Play Counts file handy. It also uses a file called iTunesdb.ext for extended information, but I haven't figured out exactly what. Once it's got a copy, if it sees a song which had a rating and last-play time now zeroed, it overwrites them with its backed up data, then writes that to the iPod.
I'd suggest the EphPod developers play around with it, but that might mean they'd *have* to GPL it. (but would that necessarily be a bad thing?)
# 10 Re: Windows software that uses "Stars"
Originally posted by ashawley
"foccacia, foccacia, foccacia"
Chris'll get it, but that's about it...er, well, maybe he will. :D
Adam
Hmm...Looks like you spelled it correctly...I'm getting VERY concerned...
But in that same vein:
bdjohn, before we will help you on your quest, you must bring us a.......focccacia!
dmt1 at 2007-11-15 17:15:22 >

# 11 Re: Windows software that uses "Stars"
Originally posted by dmt1
Hmm...Looks like you spelled it correctly...I'm getting VERY concerned...
But in that same vein:
bdjohn, before we will help you on your quest, you must bring us a.......focccacia!
Sorry...don't have any foccacia :)
How about a 30-pound box of Philly cream cheese? :D
# 12 Re: Windows software that uses "Stars"
Foccacia is da baaaawwm!!!
Specially when there's little bits of garlic in it. Even more so when it's on the table next to a couple glasses of Merlot. Even even more so when there's someone pretty on the other side of the table, aye? :cool:
Now, someone's got to remember to keep Chris's happy pills (that's the politically correct way to say it, I guess) locked up and safe. You see what happens if we don't?
Kurt
PS, I got the spelling from Google. If it's on Google, it must be right. Say it with me.
c.c.r. at 2007-11-15 17:17:19 >

# 13 Re: Windows software that uses "Stars"
bdjohns1:
Do you have a link to the site you're looking at? Just wondering if maybe we could shot that off to Steve at JRiver for him to have a look-see.
Unless, Kurt, you know that he's tried this before and run into the "hacking firmware" issue...
Adam
# 14 Re: Windows software that uses "Stars"
The website is http://gtkpod.sourceforge.net/. I've posted it in the J. River forums, but was simply told that it can't be done.
Rob
# 15 Re: Windows software that uses "Stars"
Otto,
Excellent Research. My understanding then is that you can get information from the iPod, but could never add that information back to the iPod, so that the iPod itself could use that information.
MC9 already makes use of stars and playcounts locally, but as of right now doesn't take any of that information from the iPod. They're going to look into it, and hopefully we'll then be easily able to update the MC9 stats from the iPod.
Rob
# 16 Re: Windows software that uses "Stars"
Otto:
I've you've found this to work, that's awesome. I'm pointing Steve at JRiver to your research if you don't mind.
We've been wanting this precisely for this reason, so that our MC9 can be updated w/the last played date and rating so we can use them in our smartlists.
Again, thanks for this. We'll have to get Steve looking at it as before he's always said that the file was deleted.
Oh, one thing, you are using a WiPod right? I mean you don't have a MiPod. Because before that was the distinction. Before 2.0 firmware, the Wipod version of the playcount file was always zero bytes.
Adam
# 17 Re: Windows software that uses "Stars"
Originally posted by Otto
OH, okay, now I see.
The Play Counts file is cleared when: You Undock the iPod and then play a song. I've confirmed this through experimentation, to my own satisfaction.
I think the reasoning behind this is that it's only designed to show you what has happened since it was last docked. That is, since the last time you docked the device to a computer, the play counts file will tell you the last time you played every song, how many times you played each song, and any ratings you have given that song via the iPod.
In this way, iTunes (or whatever program) can update it's own counts and ratings and such accordingly.
What gtkpod is doing is keeping it's own copy of the database, and then adding to it. So if you change any star ratings, the next time you dock, it updates it's ratings from your iPod, adds the play counts to it's own data, etc, etc.
So there you go. You can't use the Play Counts file to store your data, you can only use it as a counter since the last time you docked up. No big deal though, because I figure you could keep a file on the iPod itself to store totals and all the ratings and things of that nature.
I'll work on it. Maybe I can make an easy way to make playlists like "5 star songs" and such.
Excellent! Thanks for putting in the legwork to figure out the specifics and get some code together!
I think we need to get this code over to the EphPod coders. Really, all they need to do is parse the data, and just add in rating, playcount, and last-played time columns. Then I'd be happy as a clam :)
# 18 Re: Windows software that uses "Stars"
FYI:
Otto was asked to apologise to MadPict for calling him a "gutless coward". He refused, and began deleting his own posts. I banned his account to stop him from deleting them, but he got to these in this thread first. However, predictibly, he signed up at another forum and posted the info from this thread there. He's sent me nasty emails threatening to sue iPodlounge if we quote him directly here, so I'll convey the concept in my own words:
He wrote this program:
StarList (http://otto.homedns.org:8888/starlist.zip)
To install it, drag the EXE onto your iPod, and place it in the folder which contains the iTunesDB and Play Counts files. Run the .exe from a command prompt. To read the data it puts out, enter this:
starlist.exe > temp.txt
Next, open the text file in a text editor.
Currently, it prints out a list of songs each with it's play count and star ratings.
Play Count and Star Ratings are cleared after one unmounts the iPod from one's computer and plays a song. So, the program will get all info accrued on the iPod since the last time it was connected to your computer.
EDIT: further discussion of Otto should be done in this thread (http://ipodlounge.com/forums/showthread.php?s=&threadid=5111).
# 19 Re: Windows software that uses "Stars"
Nice catch there John! :D
Turns out that what happened was w/the release of 2.0.1 Apple changed it so that this file was in fact being written to on WiPods. I've checked it on 2.0 and it's not written to on the old version.
Silly us, not to check it when the release came out...
Adam
# 20 Re: Windows software that uses "Stars"
The ipod plugin for winamp has the ratings feature with the stars. It can be found here:
http://www.winamp.com/plugins/details.php?id=138888
I have found it, so far, every bit as good as itunes (especially for editing id3 tags and such).
Don't know if thats what you were looking for...
gthing at 2007-11-15 17:25:27 >
