[RELEASE] Batch Lyrics Download Script
#1
Batch download Lyrics for XBMC Lyrics script

The lyrics downloaded will be saved to "txt" file in the selected folder


---- Instalation Instructions ----

1. Download BatchLyricsDownload Script.zip

2. Copy BatchLyricsDownload folder to user's script folder

--- on ATV /users/frontrow/Application support/XBMC/scripts/

--- on Mac OS /users/{your user name}/Application support/XBMC/scripts/

--- on Win32 \Documents and Settings\{your user name}\Application Data\XBMC\scripts\ <--- Application Data folder might be hidden.

--- on Linux /home/{your user name}/.xbmc/scripts

3. Set the desired download location in Script settings, by default it is set to XBMC Lyrics default folder

To enter the settings go to Scripts:
Apple Tv: Highlight BatchLyricsDownload and hold "menu", then select script settings

Keyboard: Highlight BatchLyricsDownload and press "c", then select script settings

XBOX: Highlight BatchLyricsDownload and select 'select' button on IR, then select script settings

----- Usage Instructions ------

Run the script from scripts menu and select folder that contains mp3 files

----- Notes --------

- I have only tested this on Mac
- selecting too many songs will take a while to download
- your songs need to have proper ID3 tag (artist and song title)
- lyrics downloaded have only been tested with XBMC Lyrics script

----------------------

Enjoy and let me know how it works for you Big Grin

Zeljko
Reply
#2
Ok Installed script and left directory to XBMC lyrics.

I copied about 50 songs to a unique directory to test script on.

I ran script and 1 of 49 Songs displays. (In the lyrics directory I see the Artists directory created and the first song.txt which is 0 bytes

Nothing happens after that.

I have to force close XBMC

Running win XP
Reply
#3
detroitdr Wrote:Ok Installed script and left directory to XBMC lyrics.

I copied about 50 songs to a unique directory to test script on.

I ran script and 1 of 49 Songs displays. (In the lyrics directory I see the Artists directory created and the first song.txt which is 0 bytes

Nothing happens after that.

I have to force close XBMC

Running win XP

please post the log

let me see where it fails... Sad, sorry dont have Win to test.

Zeljko
Reply
#4
http://pastebin.com/m3ef12abe

I hope this is what you are looking for
Reply
#5
detroitdr Wrote:http://pastebin.com/m3ef12abe

I hope this is what you are looking for

yeah, Thanks!

Quote:#
18:26:01 T:4484 M:1184067584 NOTICE: http://lyricwiki.org/index.php?title=2%2...ction=edit
#
18:26:01 T:4484 M:1184321536 ERROR: CThread:ConfusedtaticThread : Access violation at 0x7c91b21a: Writing location 0x00000010
#
18:26:01 T:4484 M:1184321536 INFO: Python script stopped
#
18:26:01 T:4484 M:1184370688 DEBUG: Thread 4484 terminating

Try again please... Same download link
Reply
#6
Amet Wrote:[SIZE="4"]
2. Copy BatchLyricsDownload folder to user's script folder

--- on ATV /users/frontrow/Application support/XBMC/scripts/

--- on Mac OS /users/{your user name}/Application support/XBMC/scripts/

--- on Win32 \Documents and Settings\{your user name}\Application Data\XBMC\scripts\ <--- Application Data folder might be hidden.[/INDENT]

--- on Linux /home/{your user name}/.xbmc/scripts


i've had not much time to test this, but there are two things i've noticed.
this was tested on linux, so maybe these are platform specific issues.

- script crashes when there's a special character in the song title, like Æ
Debug Log

- i doesn't work when your music is stored on a smb drive
Debug Log


other than that, once again, a very cool script. ;-)

cheers mate.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
ronie Wrote:--- on Linux /home/{your user name}/.xbmc/scripts

thanks!

ronie Wrote:i've had not much time to test this, but there are two things i've noticed.
this was tested on linux, so maybe these are platform specific issues.

- script crashes when there's a special character in the song title, like Æ
Debug Log

do you mind trying with debug log off in script settings?

ronie Wrote:- i doesn't work when your music is stored on a smb drive
Debug Log

I will see what I can do about it... it shouldn't be too difficult Smile

ronie Wrote:other than that, once again, a very cool script. ;-)

cheers mate.

Thanks mate Wink
Cheers
Reply
#8
Ok unfortuantly no difference. Here is the debug log

http://pastebin.com/m333103ec

Thank-you
Reply
#9
detroitdr Wrote:Ok unfortuantly no difference. Here is the debug log

http://pastebin.com/m333103ec

Thank-you

I have tested on windows and it works Huh, not sure why it fails on your side.

you have downloaded 0.7? try disabling the debug log as well in script settings

Its almost 4AM here, I need some sleep Smile, I will do some more tests and let you know tomorrow.

Cheers
Zeljko
Reply
#10
Amet Wrote:do you mind trying with debug log off in script settings?

sure, no problem.
without debuglogging the script doesn't crash.....but xbmc does.
much better! ;-P

crashlog
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#11
Amet:

Ok the script says .5 so I redownloaded it and sure enough firefox cache just gave me the same file.

I downloaded the latest version and installed. a new MACOS directory was also there.. so it's got to be the latest.

NOTE: script still says .5 though.. so you might want to change that.

Good news: It seemed to work on the 49 files. Now I'll try the directory with 6500 songs in it.

Will let you know.

THANK-YOU again in advance.
Reply
#12
Amet:

One thing I noticed is that if you try to change directories... your syntax is messed up and the script crashes. Hitting the default button didn't help either.. so I had to go into script data, and delete the XLM file it creates to reset to your initial directory setting..... which does work.. however has an extra LYRICS directory.

Not a big deal.. easy work around.. however if you want to perfect the script.. your choosing a directory doesn't work. (You actually can't create a new directory to type in the full path or anyhting...)

Great work. I'll try next on the 5950 songs remaining..
Reply
#13
This sounds like another great application Amet, however the download link doesn't seem to work - any chance anyone could upload it again. Cheers.
Reply
#14
whufclee Wrote:This sounds like another great application Amet, however the download link doesn't seem to work - any chance anyone could upload it again. Cheers.

it worked for me...I just tested... http://opensubtitles-osd.googlecode.com/...d_v0.8.zip
Reply
#15
That's odd, doesn't seem to work for me, I'm getting:

Google Error

Not Found

The requested URL /files/BatchLyricsDownload%20Script.zip was not found on this server.
-----------------------------------

Just gone to your google code homepage and downloaded it from the link on there - that seems to do the trick. I'll give it a test and let you know how it works on my library of 11,000 songs! Cheers
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Batch Lyrics Download Script0