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




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
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Vorbis comments with multiple ARTIST tags
« previous next »
  • Print
Pages: [1]

Author Topic: Vorbis comments with multiple ARTIST tags  (Read 2139 times)

Offline SidneyFu

  • Member
  • *
  • Posts: 2
Vorbis comments with multiple ARTIST tags
« on: September 08, 2009, 11:04:04 AM »
At present, Rockbox does not handle Vorbis comments that contain "multiple" instances of any tag; whether it be ARTIST, COMPOSER, whatever. So, for example, if you have three ARTIST tags for a file, only the last one will be parsed. This has implications for both the database and the way songs are displayed in the WPS.

Now, I know what you're thinking: Why not just put all the artists in one tag? Because that's not the proper convention. Besides, there are numerous benefits and potential benefits from using the suggested Vorbis tagging infrastructure.

I'm only a novice coder, so I'm somewhat overwhelmed by what needs to be done to implement this in Rockbox. Hence, I'm hoping to encourage someone who is capable and desires this capability also to undertake the task.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Vorbis comments with multiple ARTIST tags
« Reply #1 on: September 08, 2009, 11:39:14 AM »
Remember, these devices have very limited resources. You can't just assume tags can be infinite in number and prepare to deal with any quantity of them. The cleanest solution will probably continue to be to simply use the first artist tag found.


As a side note, you didn't need to put the word "multiple" in quotes. You only need to do that when you're actually quoting something, or to indicate a non-standard use of the word, such as when you're being ironic. As you actually wanted multiple instances of the tag using them that way just creates the potential for confusion. In this case context was certainly enough, but it may not always be so please don't use quotation marks simply as a means of emphasis.
Logged

Offline SidneyFu

  • Member
  • *
  • Posts: 2
Re: Vorbis comments with multiple ARTIST tags
« Reply #2 on: September 11, 2009, 04:52:54 PM »
Firstly, Rockbox doesn't actually use the first ARTIST tag found, but the last one (which in and of itself is a problem because the last artist listed is usually just a featured artist or something). However, all instances of the ARTIST tag are read; it just so happens that the foremost ones are discarded. In fact, as far as I can tell, all tags within a Vorbis header are read--whether standard or not--before they are appropriately categorized (or not).

Ideally, it would be nice to have Rockbox handle any and all types of tags. But I agree with you that there is no clean way of doing this at the moment (particularly given the program's ID3 underpinnings). However, this does not mean that information has to be discarded. In the lowly case of the ARTIST tag, for example, I don't see why multiple instances can't be concatenated into a list of artists on the fly. That way, the original tagging structure would be preserved and information about the track would not be left out.

Personally, I'd be more than happy if I could just dump the comment header of a track right onto the WPS. I could care less about an elegant solution. I just want to be able to see all the metadata I have stored with every track.

I'll stop rambling now...
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8770
Re: Vorbis comments with multiple ARTIST tags
« Reply #3 on: September 12, 2009, 11:15:20 AM »
Quote from: SidneyFu on September 11, 2009, 04:52:54 PM
Ideally, it would be nice to have Rockbox handle any and all types of tags. But I agree with you that there is no clean way of doing this at the moment (particularly given the program's ID3 underpinnings). However, this does not mean that information has to be discarded. In the lowly case of the ARTIST tag, for example, I don't see why multiple instances can't be concatenated into a list of artists on the fly. That way, the original tagging structure would be preserved and information about the track would not be left out.

I'd probably commit a patch like that if it was well implemented and reasonably efficient. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Vorbis comments with multiple ARTIST tags
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.061 seconds with 43 queries.