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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  DataBase not reading year tag in .ogg files
« previous next »
  • Print
Pages: [1]

Author Topic: DataBase not reading year tag in .ogg files  (Read 2858 times)

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
DataBase not reading year tag in .ogg files
« on: January 04, 2007, 05:32:21 AM »
I've just initiated this bug in the Tracker: http://www.rockbox.org/tracker/task/6501

Quote
I noticed (using a custom_tagnavi file selecting by year) that I had a lot of tracks listed with a year of "0". As all my music is well tagged, I was looking for some differentiation as to which ones were causing the problem.
My tracks are a roughly 70/30 mixture of .ogg and .mp3, with varied bitrates from different sources and ripped/tagged with different applications.
I re-initialised the database and then set up two simple tagnavi selections, one for all tracks with Year == "0" and one for all tracks with Year != "0".
To my surprise, it neatly divided my entire music collection into .ogg in the Year == "0" playlist and .mp3 in the Year != "0" playlist.
It appears, therefore, that the DataBase initilisation does not correctly read the year tag from .ogg files
.

It seems pretty clear to me that there is a definite problem with the dataBase reading the year tag in .ogg files (it reads them all as "0"), but I wanted to get any other user experience on this in order to add to the Tracker coments if necessary.

Please check that this is also a problem on targets other than an iriver H120 and post any findings here or directly to the bug report if you are registered.
« Last Edit: January 04, 2007, 05:34:19 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: DataBase not reading year tag in .ogg files
« Reply #1 on: January 04, 2007, 11:47:23 AM »
Rockbox parses the "date" tag for year (that's the vorbis comment standard). If the date tag is present, then something is wrong.
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: DataBase not reading year tag in .ogg files
« Reply #2 on: January 04, 2007, 11:57:27 AM »
Nevermind...I see the problem.

There are two "year" references for the metadata in the id3 struct: id3.year (an integer) and id3.year_string (pointer to a string). The database is only storing the integer value of id3.year; however, the vorbis date tag uses id3.year_string since it can contain non-numeric characters.

This is a bug, I'll add my comment to the FS page.
« Last Edit: January 04, 2007, 12:00:35 PM by lowlight »
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: DataBase not reading year tag in .ogg files
« Reply #3 on: January 04, 2007, 02:53:03 PM »
Thanks for that lowlight. Can you fix it, though? It certainly sounds like you know what you're doing ;)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  DataBase not reading year tag in .ogg files
 

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

Page created in 0.078 seconds with 21 queries.