× Warning! This forum is in archival status. New contributions may not work.
Rivendell audio exporter
  • Hi all,

    First than using Airtime i used to run my web-radio on Rivendell Automation Software, but now i decided to import all my library to Airtime... but ...

    THAT'S REALLY A MESS

    Problems:
    1 - Rivendell store files in .wav format, airtime uses .mp3 format (not so difficult to resolve)
    2 - I've A LOT OF FILES (problem)
    3 - Wav has not Meta-tags support so all meta-tag were lost during Rivendell's import (damn... problem)
    4 - Meta-tags are stored in Rivendell's database Smile But it's a REALLY HUGE database Sad WTF??? over 102 tables O_o ??

    So...

    I decided to write a bash script to convert all Rivendell's audio-library to mp3, extract meta-tags from database and set appropriate tags to each file.

    Usage is really simple... First install "id3" and "lame" package and then run:
    sudo ./mp3tagger.sh "RIVENDELL_AUDIO_DIRECTORY" "FINAL_DESTINATION"
    


    And wait... Smile

    Maybe it needs a better errors implementation, inputs checks, etc, but... it works! Feel free to add code and implementations, but don't forget to share! Smile

    Share your experience / you problems

    p.s. Sorry for my bad english Smile
  • 10 Comments sorted by
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Thanks Andrea, this is great! Do you mind if we include this in our
    distribution?


    Paul Baranowski
    CTO, Sourcefabric, http://sourcefabric.org

    +1 (416) 832-6436 (Cell)
    Skype: paulbaranowski
    720 Bathurst St. / Suite 203 / Toronto / ON / M5S 2R4 / Canada



    On Tue, May 17, 2011 at 2:58 PM, Andrea Giardini <
    airtime-dev@lists.sourcefabric.org> wrote:

    > Hi all,
    >
    > First than using Airtime i used to run my web-radio on Rivendell Automation
    > Software, but now i decided to import all my library to Airtime... but ...
    >
    > THAT'S REALLY A MESS
    >
    > Problems:
    > 1 - Rivendell store files in .wav format, airtime uses .mp3 format (not so
    > difficult to resolve)
    > 2 - I've A LOT OF FILES (problem)
    > 3 - Wav has not Meta-tags support so all meta-tag were lost during
    > Rivendell's import (damn... problem)
    > 4 - Meta-tags are stored in Rivendell's database [image: Smile] But it's a
    > REALLY HUGE database [image: Sad] WTF??? over 102 tables O_o ??
    >
    > So...
    >
    > I decided to write a bash script to convert all Rivendell's audio-library
    > to mp3, extract meta-tags from database and set appropriate tags to each
    > file.
    >
    > Usage is really simple... run:
    >
    > sudo ./mp3tagger.sh "RIVENDELL_AUDIO_DIRECTORY" "FINAL_DESTINATION"
    >
    >
    >
    > And wait... [image: Smile]
    >
    > Maybe it needs a better errors implementation, inputs checks, etc, but...
    > it works! Feel free to add code and implementations, but don't forget to
    > share! [image: Smile]
    >
    > Share your experience / you problems
    >
    > p.s. Sorry for my bad english [image: Smile]
    >
    > < http://forum.sourcefabric.org/index.php?t=getfile&id=139> Attachment:
    > mp3tagger.sh < http://forum.sourcefabric.org/index.php?t=getfile&id=139>
    > (Size: 1.17KB)
    >

  • That's not a problem...

    Check the code, i wrote it in a couple of hours and probably it needs some implementations for error reporting Smile
  • Mhmhmhm...

    Album tag fails on airtime import, but my script sets correctly this meta-tag in mp3 files (i checked with id3 -l command).
    Can you please give me some indication about meta-tags importation in artime? Which programs do you use to extract tags from mp3?

    Example:
    giardo@laptop$ id3 -l "Shearer-Shadow my Skin.mp3"
    Shearer-Shadow my Skin.mp3:
    Title  : Shadow my Skin                  Artist: Shearer                       
    Album  : Makin-A-Munson                  Year: 2006, Genre: Unknown (255)
    Comment:                                 Track: 0
    


    However no album tag is displayed in airtime Sad
  • Hey Andrea,

    We're using getID3 (available here: http://getid3.sourceforge.net/) to import metadata tags.
    Airtime Pro Hosting: http://airtime.pro
  • It's not the best importer, we've noticed that it can't read a lot of metadata types. You could try using "id3v2", I think this will work better with getID3.
    Airtime Pro Hosting: http://airtime.pro
  • getID3 seems to support also id3v1 but maybe that's not true (title and artist ok, but no album) i will try with id3v2 soon...
  • I know I've used EasyTag to convert all my tags to id3v2 in order for getID3 to recognize them Smile
    Airtime Pro Hosting: http://airtime.pro
  • Ok good.. I'm a little busy right now, i will try some experiments next days...
  • Hello, 

    Does anyone still have this script? I tried the links but they don't seem to work. I've been looking for something like this for a while and was excited to finally be able to find it. Please let me know.

    Thanks!

    Eric
  • We are also working on a script to export to FLAC and use Vorbis Comments so that we can track additional metadata like Record Label. I will be sure to share once we have the rest of the bugs worked out.
    Todd Fisher Wallin, Operations Coordinator - WDRT-FM Viroqua, WI