2 thoughts on “mp32ogg convertor

  1. Hi Mayank,

    I tried executing ur code..but my control is not getting inside any of the ‘for loops’..is that my programming error..or do I need to install any dependencies..

    and I tried running the convertcommand directly..in that time am getting such an error..

    convrtCommand=”mpg123 -q -s \””+fileName+”\” | oggenc –raw -o \””+fName +”.ogg\” -t'”+id3info[‘TITLE’] +”‘ -a ‘”+id3info[‘ARTIST’] +”‘ -l ‘”+id3info[‘ALBUM’] + “‘ -G ‘” + id3info[‘GENRE’] + “‘ – ”
    File “/var/lib/python-support/python2.4/ID3.py”, line 383, in __getitem__
    return self.d[k]
    KeyError: ‘TITLE’

    Can u please guide me what’s the problem..and what am missing..?By the way am running BOSS a GNU/Linux distribution..I installed vorbis-tools,mpg123,python-id3 also..


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s