yask123 / Instant-Music-Downloader

🎷 Downloads Music From The Web
http://iyask.me/Instant-Music-Downloader/
1.41k stars 161 forks source link

Fixing id3 tags - IndexError: list index out of range #120

Open robp2175 opened 7 years ago

robp2175 commented 7 years ago

Fixing id3 tags Traceback (most recent call last): File "C:\Python27\Scripts\instantmusic-script.py", line 11, in load_entry_point('instantmusic==1.2', 'console_scripts', 'instantmusic')() File "c:\python27\lib\site-packages\instantmusic-1.2-py2.7.egg\instantmusic\instantmusic.py", line 197, in main downloads.append(query_and_download(song, prompt, quiet)) File "c:\python27\lib\site-packages\instantmusic-1.2-py2.7.egg\instantmusic\instantmusic.py", line 111, in query_and_download artist=list_name[1] IndexError: list index out of range

Or I get this

Fixing id3 tags Traceback (most recent call last): File "C:\Python27\Scripts\instantmusic-script.py", line 11, in load_entry_point('instantmusic==1.2', 'console_scripts', 'instantmusic')() File "c:\python27\lib\site-packages\instantmusic-1.2-py2.7.egg\instantmusic\instantmusic.py", line 197, in main downloads.append(query_and_download(song, prompt, quiet)) File "c:\python27\lib\site-packages\instantmusic-1.2-py2.7.egg\instantmusic\instantmusic.py", line 113, in query_and_download audiofile = eyed3.load((title+'.mp3')) File "c:\python27\lib\site-packages\eyed3\core.py", line 84, in load raise IOError("file not found: %s" % path) IOError: file not found: Toto - Africa.mp3

I think the problem might be that for some reason the software is placing a tick in front of the filename. 'Def Leppard - Pour Some Sugar On Me.mp3