Author Topic: utility to strip the ID3 tags off oggs for using elsewhere?  (Read 11371 times)

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #15 on: November 12, 2007, 11:40:09 pm »
Zaerc--

I remember looking at UpdateMedia.  The system checks for supported formats (.ogg, .flac, .mp3) and is supposed to either tag the files (mp3) or create .id3 files (ogg, flac).  You may be able to zero in by grepping .ogg, .flac, and .mp3 in the Updatemedia directory.

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #16 on: November 13, 2007, 02:12:23 am »
Well I looked around a bit, searched all the .cpp and .h files for .ogg, .flac and .mp3 but there seems to be no reference to them anywhere in the source (not outside the UpdateMedia directory either).

I did find UpdateMedia/id3info/id3info.cpp, which has calls to functions like: ID3_AddYear(&myTag, sValue.c_str(), true); but I can't even find where those functions are actually implemented.  ???

I'll look around some more, but I'm just not familiar enough with the code to figure out where it's being done, let alone able to do something about it, at least for the time being (and I'm not in much of a rush either). 
"Change is inevitable. Progress is optional."
-- Anonymous


schaferj

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #17 on: February 12, 2008, 08:33:14 am »
A thread from last summer

http://forum.linuxmce.org/index.php?topic=1746

Suggests that UpdateMedia is writting the id3 tags in mp3, ogg, aac files (the code is svn: src/UpdateMedia/PlutoMediaFile.cpp) using libid3 - hardcoded to these three extensions.

Some desired to embed meta data in the files themselves, instead using the .id3 files in the directories and the database for flexibility.  And so modified LinuxMCE (rip script) to embed Artist/Album/Track/Genre/Date information into the music files when ripping a CD to see the information on the Squeezebox when playing back ripped files from the core. 

Perhaps a better solution for this goal would be to enable lmce to present the metadata to the squeezebox from either the .id3 files or the native tags of the format.

Is there a way to create .id3 tags for video (and audio that does not use id3) outside of lmce?

I use Jaikoz to lookup songs by acoustic id from MusicBrainz & MusicIP (and file/folder/metadata).  It's a java app - http://www.jthink.net/jaikoz/

Also dBpoweramp does format conversion and conditional paths/names as well as ripping & AMG meta retrieval.
http://forum.dbpoweramp.com/showthread.php?t=13928

And http://www.mp3tag.de/en/ let's you export tags to html, rtf, csv, xml, etc. So that may be a way to get meta data into .id3 files.  dBpa also allows exports with programming - http://www.dbpoweramp.com/developer-scripting-dmc.htm

Finally, I'm curious if anyone has had luck orgainizing video files with tools like idealsorter - http://www.idealsorter.com/ or similar?

Bottom line is I have a large collection of av (some carefully tagged, some not yet) but I'd like to have lmce display the meta on the ones I have organized.  lmce does not seem to pick up the meta directly, so I'm thinking that adding .id3 files may help.

thanks,
joseph


kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #18 on: February 12, 2008, 03:41:29 pm »
PeteK: The ogg vorbis files that are ripped via LinuxMCE's Copy Disc feature have ID3 tags attached to the front of them...which make them unreadable anywhere else.

-Thom


Thom, is this still an issue with the latest 0710b3? Do you still get these unreadable OGG Vorbis tracks or this has been fixed already?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #19 on: February 12, 2008, 03:47:32 pm »
kir: just tried, and apparently, I can't rip audio CDs from my jukebox. I will try from my internal Disk Drive, when I get home.

-Thom

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #20 on: February 12, 2008, 04:07:00 pm »
kir: just tried, and apparently, I can't rip audio CDs from my jukebox. I will try from my internal Disk Drive, when I get home.

-Thom


Thanks for trying - I managed to reproduce it: happens for the recognized Audio CD, so if your Audio CD is identified, it will most likely have this issue when ripped as OGG.

Reported in Mantis:
http://mantis.linuxmce.org/view.php?id=3935

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: utility to strip the ID3 tags off oggs for using elsewhere?
« Reply #21 on: February 12, 2008, 05:54:33 pm »
The issue is fixed in SVN (and post-0710b3), so you will need new version of UpdateMedia to avoid doing this.

To cleanup the "broken" OGG files from attributes, you can use win32 too mp3tag -- select there all files and File->Remove_tag