Ticket #55 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

LastPod fails to detect last track

Reported by: anonymous Assigned to: christilden
Priority: minor Milestone:
Component: lastpod Version:
Keywords: Cc:

Description

With last.fm's iPod submitter failing to work as of late I decided to give this a try. The tracks submit to my profile fine, but the last track played is never recognized by the program and is never submitted as a result. I've tried restoring to the original factory settings with no luck and have also tried using the two predecessors (Audiopod and Audiopod+) but they do the exact same thing. I'm fairly sure the program worked correctly when I had Windows XP, but now that I have Vista, I think that could be part of the problem.

Windows Vista HomePremium? Edition, iPod Nano 1st Generation, iTunes version 7.4.3

Any help you can provide would be great.

Attachments

Change History

11/01/07 00:08:11 changed by anonymous

not vista exclusive. happens in xp as well. my experience is that if you listen to a whole album, the last album track will be left off, even if you listen to other tracks afterwards. this is using r79, haven't tried r80 yet.

11/06/07 04:07:09 changed by anonymous

I think this is normal. The track has to be played completely to be added on the list on the ipod...

11/21/07 15:05:05 changed by careytilden

I've noticed this before, too. I haven't narrowed down whether it's a problem with the iPod not recording the track, or LastPod misparsing the Play Counts file. I tried tracking this down but couldn't get it to reproduce reliably enough to get a good feel for the problem.

If anybody has any more information, please post it!

12/23/07 01:26:06 changed by christilden

The iPod's "Play Counts" file stores the number of entries (plays). For example, if you listened to 10 tracks, that count is stored in the file. LastPod uses this count to loop through all the data and build the list of recently played tracks. The looping mechanism is quite simple, so I cannot see any reason why LastPod would be the problem here.

One test you can perform is to see if the "last played" is updated properly in iTunes. If it is not present in either LastPod or iTunes then it's likely an iPod bug.

12/28/07 10:44:29 changed by careytilden

I was thinking it might be a bug in LastPod's iTunesDB parser, not the Play Counts parser. If the track information was not parsed properly out of the iTunesDB, the simple Play Counts loop would not know what track was being referenced.

The reason I thought this was that I saw this problem consistently happening on the same track. A certain album was only getting 10 out of 11 tracks submitted, even though I was playing the entire album each time, and none of the tracks fell below the 30 second cutoff. The track was simply not showing up in LastPod's list. Strangely, the problem with this particular album went away after I added some new tracks to my iPod (causing iTunes to rewrite the iPod's iTunesDB).

After this happened, I no longer had a consistent test case that I could use to reproduce the problem, and I stopped investigating.

07/06/08 12:10:52 changed by christilden

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

07/06/08 13:32:58 changed by christilden

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

This bug would only manifest itself if one happened to listen to the last track in their iTunesDB file. (Which you can assume is sort of a random shot.) Unfortunately my test case didn't account for this. This bug is fixed in r102.


Add/Change #55 (LastPod fails to detect last track)




Change Properties
Action