Ticket #56 (closed enhancement: fixed)

Opened 1 year ago

Last modified 11 months ago

Test files for Shuffle support in Lastpod

Reported by: sdrs00@yahoo.com Assigned to: christilden
Priority: major Milestone:
Component: lastpod Version:
Keywords: Cc:

Description

iTunesStats and iTunesDB folders from second generation iPod Shuffle, for possible addition of Lastpod support.

-Song 1 Name: Beg For Me Artist: Korn Album: Issues Length: 3:53 Track Number: 5 Playcount: 6 (before this play)- 7 (after this play) Started playing the song at: 00:24:51 of Thursday, Dec. 27, 2007

-Song 2 Name: Make Me Bad Artist: Korn Album: Issues Length: 3:55 Track Number: 6 Played this song continuously after the previous song. Start time: 00:28:45 of Thursday, December 27, 2007 Played for six seconds.

Attachments

2nd Gen Shuffle Files.zip (14.5 kB) - added by sdrs00@yahoo.com on 12/26/07 21:34:56.
iTunesStats and iTunes DB folders
2nd Gen Shuffle Files (2007-12-29).zip (12.9 kB) - added by christilden on 12/29/07 13:37:42.

Change History

12/26/07 21:34:56 changed by sdrs00@yahoo.com

  • attachment 2nd Gen Shuffle Files.zip added.

iTunesStats and iTunes DB folders

12/27/07 19:58:55 changed by christilden

  • owner changed from unassigned to christilden.
  • status changed from new to assigned.

I am using this reference: http://www.ipodlinux.org/ITunesDB/Misc._Files#iTunesStats_File for the file.

(Compare this to the "Play Counts" http://ipodlinux.org/ITunesDB/Play_Counts_File)

12/29/07 10:32:48 changed by christilden

I believe this is completed in r89. I will send the jar to a tester for confirmation.

12/29/07 11:02:33 changed by christilden

  • status changed from assigned to closed.
  • resolution set to fixed.

12/29/07 13:36:21 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

12/29/07 13:37:42 changed by christilden

  • attachment 2nd Gen Shuffle Files (2007-12-29).zip added.

12/29/07 14:24:27 changed by christilden

Here it is. Six songs played fully, one song played partially (about six seconds). I hope that 
helps. The start times from the songs after the first one, may not be completely 100% accurate, 
since Im doing it merely by ear and not by any sort of time counter. I hope that doesn’t mess up 
things on your end. I think the Shuffle generally has a one second pause after each song, so Ive 
been trying to take that into account.

I tested the Lastpod version you sent me the link to. It shows the wrong songs as played. It 
seems the first album that’s in the Shuffle gets “ignored” and the program starts counting from 
the second album. If I play songs 1,2 and 3 in the first album, Lastpod will detect songs 1,2 and
 3 but from the second album.
I play the songs in continuous mode, not in Shuffle, in case that matters. I havent tried the 
program with songs played on Shuffle.
 
Hope this info helps a lil.
 
Santiago R.

PS: Im attaching the “iTunesStats” and “iTunesDB” files to this email, as you requested.
 
-Song 1:
Title: Over There Shit
Artist: House Of Pain
Album: Same As It Ever Was
Length: 3:32
Start time: 15:11:00 (Saturday, December 29, 2007)
 
-Song 2:
Title: Word Is Bond
Artist: House Of Pain
Album: Same As It Ever Was
Length: 4:02
Start time: 15:14:33
 
-Song 3:
Title: Keep It Comin’
Artist: House Of Pain
Album: Same As It Ever Was
Length: 3:44
Start time: 15:18:35
 
-Song 4:
Title: Interlude
Artist: House Of Pain
Album: Same As It Ever Was
Length: 0:45
Start time: 15:22:20
 
-Song 5:
Title: Same As It Ever Was
Artist: House Of Pain
Album: Same As It Ever Was
Length: 3:27
Start time: 15:23:05
 
-Song 6:
Title: It Ain’t A Crime
Artist: House Of Pain
Album: Same As It Ever Was
Length: 3:27
Start time: 15:26:34
 
-Song 7:
Title: Where I’m From
Artist: House Of Pain
Album: Same As It Ever Was
Length: 4:02
Start time: 15:30:01
Played for about 6 seconds.

12/29/07 14:36:59 changed by christilden

I think I might need the iTunesShuffle file (http://www.ipodlinux.org/ITunesDB/Misc._Files#iTunesShuffle_File) too. I debugged the program while it was parsing the new files. Here's what I found:

The first song "Over There Shit" is stored in the 11th position in the iTunesDB file, second song is in the 12th position, etc. Like you stated, there are 10 Avenge Sevenfold songs in positions 1-10 in the iTunesDB file. I was expecting the play count for "Over There Shit" (from iTunesStats) to be in the 11th position of the iTunesStats (because this is how the non-shuffle "Play Counts" file works). But the play count is stored in the 1st position of the iTunesStats file.

Also, I noticed your first iTunesDB had 131 songs, but this second iTunesDB only had 114 songs. Do you know why that count would change? Did you refresh the songs on the iPod?

My only current idea is that the positions are stored in the iTunesShuffle file. If you have not used you iPod since sending the last files you could just send that file. Otherwise I may need a new set of files (iTunesDB, iTunesStats, and iTunesShuffle)

Also, the first set of files you sent has "Beg for Me" in the 1st position for both the iTunesDB and iTunesStats files.

01/01/08 17:26:06 changed by christilden

I think I'm on to something here. I believe the song (track) order is stored in the iTunesSD file (http://www.ipodlinux.org/ITunesDB/Misc._Files#iTunesSD_file), not the iTunesShuffle file.

The order that the tracks "playcounts" are written to the iTunesStats file is not the same order as the iTunesDB, so something else is driving the ordering, which I now think is the iTunesSD. The problem is the iTunesSD file only stores filename and the iTunesDB appears to only store track ID. I'm trying to figure out how to blend the two together. The issue is that the iTunesDB has all the track information like artist name, album name, length, etc; so it's needed.

Information on this is surprisingly hard to come-by.

Here's an interesting thing too. Since the iTunesDB does not appear to store filename, how does the iPod know which song to play? I am assuming the iPod reads the iTunesDB to get the song's information. (Also remember on a non-shuffle iPod the iTunesSD file is non-existent).

01/01/08 22:37:21 changed by christilden

I found where the iTunesDB stores the location (in an mhod record http://ipodlinux.org/Itunesdb#Data_Object, value 2). I have also confirmed that it is (for example) :iPod_Control:Music:F02:MLZX.mp3

01/03/08 01:10:00 changed by christilden

  • status changed from reopened to closed.
  • resolution set to fixed.

01/03/08 01:11:35 changed by christilden

Completed in r93


Add/Change #56 (Test files for Shuffle support in Lastpod)




Change Properties
Action