XBMC Community Forum
[RELEASE] Batch Lyrics Download Script - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Lyrics Add-ons (/forumdisplay.php?fid=146)
+---- Thread: [RELEASE] Batch Lyrics Download Script (/showthread.php?tid=60345)

Pages: 1 2 3


[RELEASE] Batch Lyrics Download Script - amet - 2009-10-26 21:34

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

[INDENT]--- 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[/INDENT]

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

[INDENT]
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 [/INDENT]

----- 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


Frozen - detroitdr - 2009-10-27 00:03

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


- amet - 2009-10-27 00:06

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


Debug Log - detroitdr - 2009-10-27 00:31

http://pastebin.com/m3ef12abe

I hope this is what you are looking for


- amet - 2009-10-27 01:03

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: [url]http://lyricwiki.org/index.php?title=2%20UnlimitedBig Grino%20What%27S%20Good%20For%20Me&action=edit[/url]
#
18:26:01 T:4484 M:1184321536 ERROR: CThread::staticThread : 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


- ronie - 2009-10-27 01:12

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.


- amet - 2009-10-27 01:20

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


- detroitdr - 2009-10-27 01:35

Ok unfortuantly no difference. Here is the debug log

http://pastebin.com/m333103ec

Thank-you


- amet - 2009-10-27 01:43

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 Confused, 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


- ronie - 2009-10-27 02:11

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