Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: lalittle on August 29, 2006, 08:23:41 PM

Title: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: lalittle on August 29, 2006, 08:23:41 PM
I've noticed a problem that showed up sometime between 8/12 and 8/28 (I didn't use any builds in between these, so I don't know when it started.)

I use Tagcache on my 5G, and I've found that the song that plays is not always the song I select.  I can't recognize the pattern of which song plays instead of the correct one (it's usually from the same album, but not always), but I CAN say that it's always the SAME incorrect song.  For example, when I play "Duke's End" by Genesis, Diana Krall's "Stop this World" plays instead.  In other words, any given song is always replaced by the SAME incorrect song.

I've tried reinitializing, but it doesn't help.  Doing a "hold switch" reset cures the problem for a little while, but it soon returns -- not right away, but it doesn't take all that long.  Once again, the same incorrect songs play as before -- i.e. "Duke's End" once again gives me "Stop this World."

This happens regardless of whether I select the songs directly from any of the tag categories, or let them play through on an album.  It's basically as if the tags are incorrectly linking to the wrong files.  Others have reported the same issue in the Senab "experimental build" thread, but I'm finding the same issue with the raw builds as well, so I'm posting this here.

I'm wondering if this issue is somehow related to this entry from the 8/26 build:

Quote
25 Aug 15:22
Miika Pekkarinen
apps/tagcache.c 1.56
apps/tagcache.h 1.20
apps/tagtree.c 1.31  
Tagcache: Don't show duplicate entries and automatically inherit clauses for correct search results.

This seems to have a fixed a problem with "duplicate entries" I was having, but the "Scrambled Song" issue showed up at the same time.

Since I only use Tagcache to view my songs, this is a very important issue for me.

Thanks for any help/feedback on this,

Larry
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: lalittle on August 29, 2006, 11:18:49 PM
So far, this issue seems to effect the 8/28 and 8/29 builds.  I'm going to start trying other builds (I'm trying 8/25 at the moment) and see if I can determine exatly when this showed up.

If anybody else is experiencing this or has any other information on this, please post here.  As I said, a few others have reported this as well in the "Senab" thread in the Experimental forum.

Thanks,

Larry
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: caledor on August 30, 2006, 12:54:17 AM
I'm also having this issue, or at least a similar one.  I'm using the aug. 29 build.   About a fourth of my songs actually play, and all the others just point to another random song (usually "Daria" by Cake).  At one point I could even only see the fourth of my songs that would actually play, but then I rebooted and they all showed up.  Except I still can't play most of them.

EDIT:  I just installed the 08.25 build, and the problem went away.
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: lalittle on August 30, 2006, 02:01:09 AM
I've been trying the 8/25 build for a little while now, and so far it has not had this issue (as was also reported above by caledor.)  This narrows down the cause of the issue to the 8/26, 8/27, or 8/28 builds.  I'm betting that it's the 8/26 build, which included some changes to Tagcache.

I'll try another build and report back.

Thanks for posting.

Larry
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: lalittle on August 30, 2006, 07:45:21 AM
I've been testing the 8/26 build for a little while now, and I have not had this issue come up again.  It would appear that the 8/26 build is NOT the problem.  This leaves either the 8/27 or 8/28 builds as the culprit.

Larry
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: audiodude on August 30, 2006, 11:05:56 AM
Today I had this issue, too. However, I don't know its cause. I removed Rockbox and installed the latest build iPod nano 8/30/2006 - everything okay so far. But that doesn't mean much, for the older build (8/29 Bleeding Edge) also worked for at least some time.

Edit: If I remember correctly, songs that were affected had just been copied to the iPod by iTunes and were discovered by the automatic Tag Cache Update during the Rockbox reboot.
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: zakos on August 30, 2006, 03:40:44 PM
Btw, this should now be fixed with Slasheri's latest commit.
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: lalittle on August 30, 2006, 03:54:02 PM
Btw, this should now be fixed with Slasheri's latest commit.

Forgive me, but what does this mean?  Which build does this refer to?

Thanks for clarification,

Larry
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: zakos on August 30, 2006, 04:22:18 PM
It refers to the latest CVS builds, and should be in tomorrow's Daily build.
Title: Re: Incorrect songs play ("Scrambled Songs" issue) when using tagcache.
Post by: caledor on August 30, 2006, 05:36:01 PM
http://www.rockbox.org/cvsmod/chlog-2006-08-30%2018:19:47.html

Miika Pekkarinen   
apps/tagcache.c 1.61
apps/tagcache.h 1.21
apps/tagtree.c 1.36    Fixed tagcache returning incorrect entries.


That probably fixed it.  Haven't had time to test yet.