[RELEASE] Batch Lyrics Download Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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

[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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2009-10-27 14:59 by amet.)
find quote
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #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
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #4
http://pastebin.com/m3ef12abe

I hope this is what you are looking for
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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: [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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,158
Joined: Jan 2009
Reputation: 157
Post: #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.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #8
Ok unfortuantly no difference. Here is the debug log

http://pastebin.com/m333103ec

Thank-you
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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 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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,158
Joined: Jan 2009
Reputation: 157
Post: #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

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #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.
find quote
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #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..
(This post was last modified: 2009-10-27 02:50 by detroitdr.)
find quote
whufclee Offline
Fan
Posts: 320
Joined: Oct 2008
Reputation: 0
Location: Essex
Post: #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.
find quote
amet Offline
Retired Team-Kodi Member
Posts: 4,113
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #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

Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2009-10-27 14:58 by amet.)
find quote
whufclee Offline
Fan
Posts: 320
Joined: Oct 2008
Reputation: 0
Location: Essex
Post: #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
find quote
Post Reply