Support and General Use > Audio Playback, Database and Playlists
Tagnavi_custom.config: searching by comment field
SoulSkorpion:
I've got the following in my tagnavi_custom.config:
%menu_start "custom" "Smart Playlists..."
"Games" -> album ? comment ~ "" -> title = "fmt_title"
"Not games" -> album ? comment !~ "" -> title = "fmt_title"
I've done this because I'd previously used tags in the comment fields like this on my old iPod, to generate smart playlists based on them. I've now got a Sansa e280, and I was hoping to get the same effect using Rockbox.
In any case, this isn't completely working. The first one works fine - there aren't any entries returned that aren't games. The second one is showing up entries that are games. When I find the files through Windows and check the tags in Winamp the "" tag is still present in all the songs that incorrectly appear in the "Not games" list. Once or twice I checked the ID3 tags in Rockbox's online ID3 tag viewer, and the comments fields seem to contain garbage.
I've tried both initialising and updating the database (yes, leaving it on for 15 minutes so that the disk activity icon goes away) and it hasn't cleared up the problem. Is there anything else I can try? Is this a bug/limitation of the database code? (If so, any hints about where in the source tree to look would be appreciated and I'll have a crack at fixing it myself).
PS: sorry about posting twice in quick succession, but I figured it would be better to open separate topics for separate questions.
roolku:
So if I understand you correctly, you own files that are tagged with "<games>" (as proven by using winamp) and Rockbox doesn't extract the tag info correctly (shows garbage)?
If so, could you upload an example somewhere and post the URL.
Cheers
Roolku
SoulSkorpion:
Uploaded a sample to here.
I did some experimentation. My settings are to prioritise ID3v2 first, so I thought that maybe the files were only tagged in ID3v1 format. Opening it in Winamp, I found that it was tagged only in ID3v2, so that didn't help.
So, with ID3v2 only, looking at the ID3 details on my device through Rockbox shows the comment field as a series of digits (I think they were just zeroes, ones and twos).
Having told Winamp to enable ID3v1 and copy the values across (in case it fixed the problem, which iit didn't) I noticed that, in Rockbox, the tag was showing up as "ÿgame>" instead of "" (thanks to Wikipedia's edit function for giving me a place to copy and paste that character from ;) ).
roolku:
--- Quote from: SoulSkorpion on August 10, 2007, 06:11:23 AM ---Uploaded a sample to here.
--- End quote ---
Okay. The files contains two comment fields:
1) (iTunNORM) 00000119 0000014A 00000ED5 00000722 0000755E 00007547 0000419A 000037FC 00015FD5 00002755
2) <game> <strategy>
and rockbox uses the first, while tagging programs either ignore the COMM tags with an extra label (winamp) or use the second/last tag (tag&rename).
I prefer winamp's approach as the tags might be in different order and the same problem would show and I will prepare a fix when i have the time (probably tonight).
Llorean:
And what if someone wants to use parenthesis in their comment? I'd rather it simply use the first comment, and people insure they know what's in their comments, rather than assuming parenthesis mean "skip this comment"
Navigation
[0] Message Index
[#] Next page
Go to full version