Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  RockBox database not seeing Ogg metadata (artist/album/song title)
« previous next »
  • Print
Pages: [1] 2

Author Topic: RockBox database not seeing Ogg metadata (artist/album/song title)  (Read 4584 times)

Offline yonkiman

  • Member
  • *
  • Posts: 29
RockBox database not seeing Ogg metadata (artist/album/song title)
« on: May 04, 2009, 11:48:06 AM »
This is an odd one.  I populate my rockbox with a directory tree that looks like this:
R:\<MC13>\<artist>\<album>\<track number>. <song title>.  The problem is that after I build, rebuild, update the database, entire artists are missing from the database.  I have consistently found that there is no trace of any of the three "Buffalo Tom" albums in my database but my one "Buffalo Springfield" album always shows up.

I have tried building and rebuilding the database many times, using many different versions of RockBox (3.1, 3.2, and 3 or 4 the current builds over the last 2-4 months (I can't remember exactly when I discovered this problem).  The songs are definitely there on my rockbox  - you can see them in File view and play them, and when you play them all the tag s seem to be fine - but I just can't get them to show up in my database.

I have 6,404 songs in 2,523 directories according to Windows. 

I don't see them in the database whether I'm looking at Artist or Album Artist (and both fields are set correctly in the tags).  In fact all the CDs were ripped and tagged inside the same software (MediaCenter 13).

I just searched inside the database files and saw that the "Buffalo Tom" albums do show up in the database_4.tcd file in my RockBox directory.  So the problem seems to be that they are in the database but not displayed when I look by artist, album artist, album, or song - there's no trace of them through the UI although they are in the database files. 

Any ideas what could be causing this?

Thanks,
Fred

« Last Edit: May 07, 2009, 10:48:21 AM by yonkiman »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Database not picking up entire artists
« Reply #1 on: May 04, 2009, 07:46:31 PM »
When you're playing them, you may not be seeing the tags. If tags are missing, many WPSes will attempt to use the folder structure to guess what the tags should be.

Why don't you verify the tags in a proper tagging program, or in the Rockbox context menu option while the song is playing?
Logged

Offline yonkiman

  • Member
  • *
  • Posts: 29
RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #2 on: May 05, 2009, 01:49:10 PM »
Quote from: Llorean on May 04, 2009, 07:46:31 PM
Why don't you verify the tags in a proper tagging program, or in the Rockbox context menu option while the song is playing?

Here's the score:
  • RockBox does not see the tags (which would explain why the ogg files aren't making it into the database), however
  • MediaCenter, Foobar2000, and Mp3Tag do see the tags in the metadata (not from the filename/directory structure).
So it's sorta looking like the problem is on the RockBox side.

What now?  Is it possible there's some other metadata present (or missing) that's causing the file to be skipped?

Is Ogg working OK for everyone else?...
« Last Edit: May 07, 2009, 01:51:34 AM by yonkiman »
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #3 on: May 07, 2009, 10:56:29 AM »
Quote from: yonkiman on May 05, 2009, 01:49:10 PM
What now?  Is it possible there's some other metadata present (or missing) that's causing the file to be skipped?

Could be. Check the size of the tag (MP3Tag can do it, though you may need to define a custom column for it). If it is too big (e.g., due to embedded album art), and the album/artist etc. tags are in the "wrong" place, Rockbox will ignore them.
Logged

Offline evilnick

  • Rockbox Expert
  • Member
  • *
  • Posts: 431
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #4 on: May 08, 2009, 09:47:44 AM »
Are the tags in Vorbis comment format? Some software can tag vorbis files with id3 tags which Rockbox doesn't read (on vorbis files)
Logged

Offline yonkiman

  • Member
  • *
  • Posts: 29
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #5 on: May 08, 2009, 11:34:14 AM »
Quote from: evilnick on May 08, 2009, 09:47:44 AM
Are the tags in Vorbis comment format? Some software can tag vorbis files with id3 tags which Rockbox doesn't read (on vorbis files)

What software would I need to check that?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #6 on: May 08, 2009, 12:35:02 PM »
MP3Tag should be able to tell you the format of the metadata, if I recall correctly.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #7 on: May 09, 2009, 07:28:05 AM »
I'm pretty sure Rockbox won't even play Ogg Vorbis files with ID3 tags... E.g., see this thread.
Logged

Offline yonkiman

  • Member
  • *
  • Posts: 29
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #8 on: May 10, 2009, 05:34:08 PM »
Quote from: evilnick on May 08, 2009, 09:47:44 AM
Are the tags in Vorbis comment format?

They sure look like it:
Logged

Offline dip

  • Member
  • *
  • Posts: 111
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #9 on: May 11, 2009, 01:15:40 PM »
I had sometime the problem that the end of tag were truncated in the database browser (e.g. for some songs the GENRE "classical" was only shown as "cla"). The reason was that for these songs other tags contained very long entries so that a Rockbox internal buffer was full and other tags were truncated when browsing the database. Maybe for the same reason some tags can be completely missing if the remaining tags of these songs are too long.

Could that be the reason in your case?

I could solve the problem by increasing the the default value of ID3V2_BUF_SIZE from 300 to 900 in apps/metadata.h and compiled my own version. But I always hope that the default value of this variable will be made device dependent in a future version of Rockbox since e.g. my iPod Video has enough memory to set the value to 900 without any negative side effects while other devices with less memory may need a small value.
Logged

Offline yonkiman

  • Member
  • *
  • Posts: 29
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #10 on: May 17, 2009, 03:43:25 PM »
Quote from: dip on May 11, 2009, 01:15:40 PM
Maybe for the same reason some tags can be completely missing if the remaining tags of these songs are too long.

Could that be the reason in your case?

Sounds like you'd know better than me!  It's as good a guess as any...  But I don't know why MC13 would be writing huge Vorbis comments for every single one of my Ogg files...

Quote
I could solve the problem by increasing the the default value of ID3V2_BUF_SIZE from 300 to 900 in apps/metadata.h and compiled my own version. But I always hope that the default value of this variable will be made device dependent in a future version of Rockbox since e.g. my iPod Video has enough memory to set the value to 900 without any negative side effects while other devices with less memory may need a small value.

Sounds like a reasonable solution to me!  Thanks for the thoughts.

Does anyone have any recommendations for what I should do next?  I've contributed financially to the rockbox project, but trust me - you don't want me writing code for it...  :-)

-Fred
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #11 on: May 17, 2009, 04:05:49 PM »
Post one of your problems files somewhere so that hopefully someone with more knowledge can take a look to see what is going on.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #12 on: May 17, 2009, 04:35:17 PM »
Quote from: yonkiman on May 17, 2009, 03:43:25 PM
But I don't know why MC13 would be writing huge Vorbis comments for every single one of my Ogg files...

Album art is a possibility. From what I've read, Media Center supports storing album art in Vorbis tags.

Quote
Quote from: dip on May 11, 2009, 01:15:40 PM
I could solve the problem by increasing the the default value of ID3V2_BUF_SIZE from 300 to 900 in apps/metadata.h and compiled my own version.

Sounds like a reasonable solution to me!  Thanks for the thoughts.

That size change has been in the current/daily build for a couple of days now, so if you haven't done so already, you could give a recent build a try.
Logged

Offline yonkiman

  • Member
  • *
  • Posts: 29
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #13 on: May 17, 2009, 04:42:50 PM »
Quote from: Lear on May 17, 2009, 04:35:17 PM
Album art is a possibility. From what I've read, Media Center supports storing album art in Vorbis tags.

Excellent guess!

Quote
I could solve the problem by increasing the the default value of ID3V2_BUF_SIZE from 300 to 900 in apps/metadata.h.

I'm guessing the album art would still be too large...

Quote
That size change has been in the current/daily build for a couple of days now, so if you haven't done so already, you could give a recent build a try.

Cool.   I've installed the latest RockBox daily build (it's indexing right now).  I've also put one of the problem ogg files here on my website (http://www.yonkitime.com/sounds/Staples.ogg).

Thanks everyone,
Fred
« Last Edit: May 17, 2009, 06:07:22 PM by yonkiman »
Logged

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: RockBox database not seeing Ogg metadata (artist/album/song title)
« Reply #14 on: May 18, 2009, 06:35:25 AM »
Quote from: yonkiman on May 17, 2009, 04:42:50 PM
I'm guessing the album art would still be too large...

It's not related to that buffer size at all, actually, as Rockbox doesn't read the album art. But I wrote a patch that should fix the problem. I'll test it with your file too, as it contains album art.

Side note: Interesting to see that Media Center supports ReplayGain, but in a non-standard, incomplete way... ;)
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  RockBox database not seeing Ogg metadata (artist/album/song title)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.112 seconds with 15 queries.