Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC files with embedded CUE sheets on Linux console

    Hi all,

    As a bit of a pet project, I've just written a Linux console based tagger for single FLAC files with embedded CUE sheets.

    It uses the CUE sheet embedded in the FLAC to lookup the CD with MusicBrainz. It then downloads matching albums and presents them to you. You then have the option of 'copying' the data for a specific album into the tags, and updating the tags in the FLAC file.

    It uses s-lang for the user interface, libflac++ to read / write the FLAC, and libmusicbrainz to communicate with the MusicBrainz server.

    A screenshot is attached.

    It's not 'packaged' properly yet, but I'd be happy to provide a copy and some brief instructions to anyone if they want to give it a go.

    Anyone interested?

    Andy
    Attached Images Attached Images  

  2. #2
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    In article <20060915171915.12854.qmail (AT) web60421 (DOT) mail.yahoo.com>,
    Josh Coalson<xflac (AT) yahoo (DOT) com> wrote:
    > that's very cool. if you host it somewhere, let me know and I'll
    > link to it on the FLAC site.


    Ok, I might knock up a quick web page for it and stick it online somewhere.

    I'll post here if and when I do.

    Cheers

    Andy


  3. #3
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    In article <20060915171915.12854.qmail (AT) web60421 (DOT) mail.yahoo.com>,
    Josh Coalson<xflac (AT) yahoo (DOT) com> wrote:
    > that's very cool. if you host it somewhere, let me know and I'll
    > link to it on the FLAC site.


    Ok, I've put v0.01 online

    http://www.gently.org.uk/flactags

    Comments welcome.

    Andy


  4. #4
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    v0.02 now available. This includes the ARTISTSORT tag, and also handles
    multi-disc album sets correctly.

    http://www.gently.org.uk/flactags

    Comments welcome.

    Andy


  5. #5
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    I released v0.03 after finding a fairly crucial bug in the submission URL
    generation code.

    v0.04 will follow in the next day or two with the ability to rename a FLAC
    based on its tags

    http://www.gently.org.uk/flactag

    Andy


  6. #6
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    As promised, v0.04 has just been made available. This version can now
    automatically rename the FLAC file based on a configurable template. It can
    also download album art from Amazon if the MusicBrainz service has the
    appropriate link to Amazon.

    http://www.gently.org.uk/flactag

    Comments welcome

    Andy


  7. #7
    Senior Member
    Join Date
    May 2005
    Posts
    584
    Hi all,

    I think this is now 'feature complete', so the latest release is called 1.0-RC1.

    I'd appreciate any comments.

    New in this version:

    * Handles console size changes
    * Album art embedded into tags
    * 'Batch' mode to check tags, write tags and rename file
    * Fix for bug that occurred when more than one 'release' matched the disk ID

    Available for download here:

    http://www.gently.org.uk/flactag/

    Andy
    Attached Images Attached Images  
    Last edited by adhawkins; 2006-10-12 at 07:18.

  8. #8
    Senior Member
    Join Date
    Jun 2006
    Posts
    1,484
    This sounds like a neat solution, just one question: what are you using to rip the CD to flac with an embeded cue sheet? I've seen several approaches for doing this on linux, some of which already put a fair amount of info in the cue sheet and some that don't.

    Thanks,

    John S.

  9. #9
    Senior Member
    Join Date
    May 2005
    Posts
    584

    MusicBrainz tagger for single FLAC fileswith embedded CUE sheets on Linux console

    Hi,

    In article <JohnSwenson.2gz0nz1163017801 (AT) no-mx (DOT) forums.slimdevices.com>,
    JohnSwenson<JohnSwenson.2gz0nz1163017801 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
    > This sounds like a neat solution, just one question: what are you using
    > to rip the CD to flac with an embeded cue sheet?


    I use the following script. I then run flactag on the resulting flac file to
    get all the 'useful' info into the tags.

    Andy

    #!/bin/sh
    if [ $1 ]
    then

    FILENAME="$1-ate +"%Y-%m-%d.%H:%M:%S"-$$"
    cdrdao read-cd --device /dev/hdc --driver generic-mmc \
    --datafile $FILENAME.bin $FILENAME.toc
    cueconvert $FILENAME.toc $FILENAME.cue
    if nice flac --replay-gain --endian=big --sign=signed \
    --channels=2 --bps=16 --sample-rate=44100 \
    --cuesheet=$FILENAME.cue $FILENAME.bin
    then
    rm -f $FILENAME.bin
    rm -f $FILENAME.toc
    rm -f $FILENAME.cue
    fi
    else
    echo "Usage: $0 cdname"
    Hi,

    In gmane.music.equipment.slimdevices.unix, you wrote:
    >
    > This sounds like a neat solution, just one question: what are you using
    > to rip the CD to flac with an embeded cue sheet?


    I use the following script. I then run flactag on the resulting flac file to
    get all the 'useful' info into the tags.

    Andy

    #!/bin/sh
    if [ $1 ]
    then

    FILENAME="$1-ate +"%Y-%m-%d.%H:%M:%S"-$$"
    cdrdao read-cd --device /dev/hdc --driver generic-mmc \
    --datafile $FILENAME.bin $FILENAME.toc
    cueconvert $FILENAME.toc $FILENAME.cue
    if nice flac --replay-gain --endian=big --sign=signed \
    --channels=2 --bps=16 --sample-rate=44100 \
    --cuesheet=$FILENAME.cue $FILENAME.bin
    then
    rm -f $FILENAME.bin
    rm -f $FILENAME.toc
    rm -f $FILENAME.cue
    fi
    else
    echo "Usage: $0 cdname"
    fi


  10. #10
    Member
    Join Date
    Jan 2006
    Location
    Lawrence KS USA
    Posts
    97

    Endorsement

    I just wanted to say what a swell program this is!
    I just got a Squeezebox and have started ripping my collection (using Charles Steinkuehler's modified abcde and to3cue) to single flac files, then tagging with flactag.

    Cody

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •