Re: Track numbers for MP3s

2001-03-15 Thread Colin Marquardt

Aubin Paul <[EMAIL PROTECTED]> writes:

> If you're running a 'NIX that supports Perl, I have a little perl

Sure. Debian of course :-)

> script called mp3cddb. If you run it in a directory containing files
> in order, it'll check CDDB, get the track names, and numbers are
> rename and tag the files... it's very helpful... 

Would be nice, thanks.

Colin
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-15 Thread Aubin Paul

If you're running a 'NIX that supports Perl, I have a little perl
script called mp3cddb. If you run it in a directory containing files
in order, it'll check CDDB, get the track names, and numbers are
rename and tag the files... it's very helpful... 

Aubin

On Wed, Mar 14, 2001 at 09:54:16PM -0800, Colin Marquardt wrote:
> Isaac Richards <[EMAIL PROTECTED]> writes:
> 
> > Ehrm.  FreeAmp already writes id3v2 tags when you edit things..  Has
> > ever since 2.1, maybe even before..  You did need to have id3lib
> > installed up until the RC6 release to have support to write them,
> > but we've since swallowed the id3lib source into our tree to get a
> > consistant API/ABI, so you don't need it anymore.
> 
> Thanks, but... I don't normally edit things in FreeAmp. These are
> generated by my ripping/encoding tool (jack). I now wonder what I
> should give it for generating ID3v2. I somehow need to (or want
> to) convert all my mp3s to ID3v2 from the info in my .cddb. So, if
> anybody has suggestions...
> 
> Cheers,
>  Colin
> ___
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev
> 
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread Colin Marquardt

Valters Vingolds <[EMAIL PROTECTED]> writes:

> On Wednesday 14 March 2001 10:11, Colin Marquardt wrote:
> [SKIPd]
> > What would I use, however, to *create* ID3v2 tags?
> > id3lib/id3v2 from sourceforge? Does it really work? A few months
> > ago, I heard that id3lib wasn't really up to speed yet, and it seems
> > there hasn't been a new release since then...

> Well, to create ID3v2 tags you use a dedicated tagger. I last tried Helium 
> tagger - worked more or less fine. id3v2 lib should be fine, also. so... 

Helium seems to be Windows only, so NO WAY.
But thank you anyway.

> I think it would be really fun if we hacked Musicbrowser to support editing 
> v2 tags. It's tag editor right now is quite powerful.  (powerful means quite 
> good mass-editing capabilities)

Isaac said it is supposed to do that, so once it is fixed (Rob is
right, a short test shows that it is not really writing tags) it
should be fine.

Thanks,
  Colin
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread Colin Marquardt

Isaac Richards <[EMAIL PROTECTED]> writes:

> Ehrm.  FreeAmp already writes id3v2 tags when you edit things..  Has
> ever since 2.1, maybe even before..  You did need to have id3lib
> installed up until the RC6 release to have support to write them,
> but we've since swallowed the id3lib source into our tree to get a
> consistant API/ABI, so you don't need it anymore.

Thanks, but... I don't normally edit things in FreeAmp. These are
generated by my ripping/encoding tool (jack). I now wonder what I
should give it for generating ID3v2. I somehow need to (or want
to) convert all my mp3s to ID3v2 from the info in my .cddb. So, if
anybody has suggestions...

Cheers,
 Colin
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread rob

On 14 Mar, Isaac Richards wrote:
> Ehrm.  FreeAmp already writes id3v2 tags when you edit things..  Has ever 
> since 2.1, maybe even before..  You did need to have id3lib installed up 
> until the RC6 release to have support to write them, but we've since 
> swallowed the id3lib source into our tree to get a consistant API/ABI, so 
> you don't need it anymore.

I think there are some bugs in the code that forces the id3 tags out to
the files. I haven't seen FreeAmp write any id3 tags in a while. It
another one of the things on my massive todo list...

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye   --[EMAIL PROTECTED]   --   http://www.mayhem-chaos.net

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread Isaac Richards

Ehrm.  FreeAmp already writes id3v2 tags when you edit things..  Has ever 
since 2.1, maybe even before..  You did need to have id3lib installed up 
until the RC6 release to have support to write them, but we've since 
swallowed the id3lib source into our tree to get a consistant API/ABI, so 
you don't need it anymore.

Isaac

At 04:13 PM 3/14/01 , you wrote:
>Well, to create ID3v2 tags you use a dedicated tagger. I last tried Helium
>tagger - worked more or less fine. id3v2 lib should be fine, also. so...
>
>I think it would be really fun if we hacked Musicbrowser to support editing
>v2 tags. It's tag editor right now is quite powerful.  (powerful means quite
>good mass-editing capabilities)
>
>
>
>--
>"Freedom for those who can buy it!" /Atari Teenage Riot/
>Valters "WaTT" Vingolds

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread John Morton

On 14 Mar 2001 00:11:35 -0800 Colin Marquardt <[EMAIL PROTECTED]> wrote:

> Isaac Richards <[EMAIL PROTECTED]> writes:
> 
> > If you don't have track numbers with your files named that way, try deleting
> > your metadatabase and searching again..  should show up.  MusicBrainz had a fun
> > little bug where it would strip off track numbers during a lookup previous to
> > the most recent release.
> 
> Oh, exactly that was it. That is fine now, thanks.
> 
> One other thing... since ID3V2 can handle arbitrarily long strings
> too, it is probably much better to use that for submission to
> Musicbrainz. What would I use, however, to *create* ID3v2 tags?
> id3lib/id3v2 from sourceforge? Does it really work? A few months
> ago, I heard that id3lib wasn't really up to speed yet, and it seems
> there hasn't been a new release since then...

I've found that id3lib is fairly horrible. Have a look on CPAN for a perl
library or two that handles them. I've used one of them at home for a
re-encoding project and found it as easy to use as any other perl module.
One of these days I'll convert it to python.

John


___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread Valters Vingolds

On Wednesday 14 March 2001 10:11, Colin Marquardt wrote:
[SKIPd]
> What would I use, however, to *create* ID3v2 tags?
> id3lib/id3v2 from sourceforge? Does it really work? A few months
> ago, I heard that id3lib wasn't really up to speed yet, and it seems
> there hasn't been a new release since then...
>
> Cheers,
>   Colin

Well, to create ID3v2 tags you use a dedicated tagger. I last tried Helium 
tagger - worked more or less fine. id3v2 lib should be fine, also. so... 

I think it would be really fun if we hacked Musicbrowser to support editing 
v2 tags. It's tag editor right now is quite powerful.  (powerful means quite 
good mass-editing capabilities)



-- 
"Freedom for those who can buy it!" /Atari Teenage Riot/
Valters "WaTT" Vingolds

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-14 Thread Colin Marquardt

Isaac Richards <[EMAIL PROTECTED]> writes:

> If you don't have track numbers with your files named that way, try deleting
> your metadatabase and searching again..  should show up.  MusicBrainz had a fun
> little bug where it would strip off track numbers during a lookup previous to
> the most recent release.

Oh, exactly that was it. That is fine now, thanks.

One other thing... since ID3V2 can handle arbitrarily long strings
too, it is probably much better to use that for submission to
Musicbrainz. What would I use, however, to *create* ID3v2 tags?
id3lib/id3v2 from sourceforge? Does it really work? A few months
ago, I heard that id3lib wasn't really up to speed yet, and it seems
there hasn't been a new release since then...

Cheers,
  Colin
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: Track numbers for MP3s

2001-03-13 Thread Isaac Richards

Freeamp already supports ID3v1.1, which does have a field for a track number,
and it supports ID3v2, which has storage space for everything under the sun.. 
If neither tag has a track number, freeamp will also attempt to parse the
filename a bit, looking for numbers in the filename..

If you don't have track numbers with your files named that way, try deleting
your metadatabase and searching again..  should show up.  MusicBrainz had a fun
little bug where it would strip off track numbers during a lookup previous to
the most recent release.

Isaac

On 13-Mar-2001 Colin Marquardt wrote:
> Hi,
> 
> I have a lot of ripped CDs where the MP3s are named like
> 01_Trackname.mp3. Of course, ID3v1 has no field to store this track
> number, so freeamp also doesn't know about it, and as a result,
> musicbrainz.org won't know it too.
> 
> Is there anything I can do other than updating the freeamp database with
> the GUI? The freedb info with the track numbers is available too, could
> freeamp use it (according to Rob, it was using it in earlier versions)?
> 
> Or, as a workaround, could ~/.freeamp/db/metadatabase be converted
> to an ASCII format (and back) which would allow me to make a script
> to add the track numbers?
> 
> Cheers,
>   Colin
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Track numbers for MP3s

2001-03-13 Thread Robert Woodcock

On Mon, Mar 12, 2001 at 10:23:30PM -0800, Colin Marquardt wrote:
> I have a lot of ripped CDs where the MP3s are named like
> 01_Trackname.mp3. Of course, ID3v1 has no field to store this track
> number

ID3v1.1 does (see http://www.id3.org/id3v1.html).

There's not much of a difference over v1 - the comment field is shortened
from 30 to 28 characters and fields are null-padded instead of space-
padded. The presence of the track field is determined by checking if
the 29th character of the comment field is null, and if so, the 30th
character is the track number, an unsigned char.

id3, available at http://idea.lly.org/~rcw/id3/, is one such program that
implements v1.1.
-- 
Robert Woodcock - [EMAIL PROTECTED]
"* We used to try various strange things. Let's not."
-- seen in linux/fs/buffer.c
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev