[RELEASE] xbmclyrics script - automatically grabs lyrics online

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
fr0zt Offline
Junior Member
Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #301
Quote:14:28:47 M: 21008384 NOTICE: -->Python Initialized<--
14:28:47 M: 21008384 NOTICE:
14:28:48 M: 20312064 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
14:28:48 M: 20312064 ERROR: CGUIMediaWindow::GetDirectory(?) failed
14:28:49 M: 19955712 ERROR: xbp__wfopen = untested
14:28:50 M: 20099072 ERROR: xbp__wfopen = untested
14:28:56 M: 24317952 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block Q:\scripts\XBMC Lyrics

I tried putting text into one of the empty lyric files, and after that the text was displayed properly when the song played. (The text I inserted, not the correct lyrics). It's happening with all songs, a whole wad of songs it should have no problem finding - the Beatles, the Doors, etc. Thanks for the help.

Edit: I've googled around and it seems like there've been a few cases of people with this problem. I haven't seen a fix posted though
(This post was last modified: 2009-10-25 18:37 by fr0zt.)
find
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #302
fr0zt Wrote:I tried putting text into one of the empty lyric files, and after that the text was displayed properly when the song played. (The text I inserted, not the correct lyrics). It's happening with all songs, a whole wad of songs it should have no problem finding - the Beatles, the Doors, etc. Thanks for the help.

Edit: I've googled around and it seems like there've been a few cases of people with this problem. I haven't seen a fix posted though

I have no idea if this script ever worked on XBOX, I just fixed the scraper.

can anyone on XBOX comment?


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
fr0zt Offline
Junior Member
Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #303
Amet Wrote:I have no idea if this script ever worked on XBOX, I just fixed the scraper.

can anyone on XBOX comment?

It worked on the Xbox a couple years back. Xbmclyrics was released for the Xbox back when the Xbox was the online platform that supported xbmc. Is there anywhere I can download an old version?
find
ronie Online
Team-XBMC Member
Posts: 8,988
Joined: Jan 2009
Reputation: 147
Post: #304
fr0zt Wrote:It worked on the Xbox a couple years back. Xbmclyrics was released for the Xbox back when the Xbox was the online platform that supported xbmc. Is there anywhere I can download an old version?

what version of xbmc are you using?
maybe your build is too old?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #305
fr0zt Wrote:It worked on the Xbox a couple years back. Xbmclyrics was released for the Xbox back when the Xbox was the online platform that supported xbmc. Is there anywhere I can download an old version?

I dont think the old version would work as the scrapers have changed,the script from few months back is not working.

Have you tried disabling the save function under settings or selecting Save lyrics file XBOX compatible?


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #306
ronie Wrote:what version of xbmc are you using?
maybe your build is too old?

good point ronie Smile

@fr0zt

please post the whole debug log, read my signature on How-To


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
fr0zt Offline
Junior Member
Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #307
Amet Wrote:good point ronie Smile

@fr0zt

please post the whole debug log, read my signature on How-To

http://pastebin.com/m2396e558

Quote:what version of xbmc are you using?
maybe your build is too old?
I'm using the most recent stable release: XBMC-9.04.1-FIXED-BABYLON-T3CH

Quote:Have you tried disabling the save function under settings or selecting Save lyrics file XBOX compatible?
It looked like the following before. I changed compatible to true and save_lyrics to false, but I still get the problem

{'filename_format': 0, 'shuffle': True, 'lyrics_path': 'q:\\UserData\\script_data\\XBMC Lyrics\\lyrics', 'music_path': '', 'show_viz': True, 'use_filename': False, 'compatible': False, 'scraper': 'lyricwiki', 'smooth_scrolling': False, 'version': '1.6.0', 'save_lyrics': True, 'use_extension': True}

The Musings of Andrew Maurer - http://www.amau.ca
find
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #308
fr0zt Wrote:http://pastebin.com/m2396e558


I'm using the most recent stable release: XBMC-9.04.1-FIXED-BABYLON-T3CH


It looked like the following before. I changed compatible to true and save_lyrics to false, but I still get the problem

{'filename_format': 0, 'shuffle': True, 'lyrics_path': 'q:\\UserData\\script_data\\XBMC Lyrics\\lyrics', 'music_path': '', 'show_viz': True, 'use_filename': False, 'compatible': False, 'scraper': 'lyricwiki', 'smooth_scrolling': False, 'version': '1.6.0', 'save_lyrics': True, 'use_extension': True}

the XBMC version is too old, any chance you can update?


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
detroitdr Offline
Member
Posts: 91
Joined: May 2009
Reputation: 0
Location: Canada
Post: #309
Amet Wrote:NP Smile It would need to be a different script, I am just helping with this ATM , I wouldnt want to start adding features. besides it heavily relies on info tags for a name of the song and the artist, I will look into this...


---My tags are 100% accurate using Tag & Rename.

Amet Wrote:when you play a song just push the button and it will download, I dont understand what you mean by "in and out and in and out".

---(Using PM3.HD and windows XP) Ok so I go into an album, play the first song, turn visualization on, click on menu, go to top choice and lyrics are pulled and saved. then I need to press esc, go into menu again or hit next song button then go into menu, go to top for lyrics wait.. then it saves that song.... 200 albums x 12 songs doing this is VERY very long. I'd like to parse it all at once.


Amet Wrote:The only thing you are going to archive with batch download is that you dont need the internet connection later to display the lyrics.

---Correct.. being that websites providing lyrics change like this time.. and possiblly in the future not working again.. would be great to get it all once now
find
fr0zt Offline
Junior Member
Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #310
Amet Wrote:the XBMC version is too old, any chance you can update?

It's the newest stable release... Although I did try the SVN realease from XBMC 09-27-09 and I'm getting the same problem. Why are you saying that version is too old? Xbmclyrics was included with it.

The Musings of Andrew Maurer - http://www.amau.ca
find
paco Offline
Senior Member
Posts: 236
Joined: Mar 2008
Reputation: 0
Location: Toronto
Post: #311
Thank you Amet for this update. I really missed having lyrics on demand. Just an FYI, but I initially had trouble making it work. I eventually ran the script manually (used file manager and clicked on default.py) and chose 'Reset To Defaults'. After doing that, all the Lyrics started downloading perfectly! Many thanks for sharing your work!

For anyone having issues, I'm using SVN 24020 DirectX on Windows 7 32-bit.
find
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #312
detroitdr Wrote:---My tags are 100% accurate using Tag & Rename.

---(Using PM3.HD and windows XP) Ok so I go into an album, play the first song, turn visualization on, click on menu, go to top choice and lyrics are pulled and saved. then I need to press esc, go into menu again or hit next song button then go into menu, go to top for lyrics wait.. then it saves that song.... 200 albums x 12 songs doing this is VERY very long. I'd like to parse it all at once.

---Correct.. being that websites providing lyrics change like this time.. and possiblly in the future not working again.. would be great to get it all once now

I am going to add the XBMC Lyrics script to SVN repo, that way no need for manual instalation.

after that I will look into a batch download, but I am not promising anything. Wink

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
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #313
fr0zt Wrote:It's the newest stable release... Although I did try the SVN realease from XBMC 09-27-09 and I'm getting the same problem. Why are you saying that version is too old? Xbmclyrics was included with it.

I will see if I can make it "stable release" friendly before I add it to SVN Repo Installer.

Maybe try what Paco said in his post.

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
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #314
paco Wrote:Thank you Amet for this update. I really missed having lyrics on demand. Just an FYI, but I initially had trouble making it work. I eventually ran the script manually (used file manager and clicked on default.py) and chose 'Reset To Defaults'. After doing that, all the Lyrics started downloading perfectly! Many thanks for sharing your work!

For anyone having issues, I'm using SVN 24020 DirectX on Windows 7 32-bit.

Thanks for the info Smile

Couldn't you just run it from Scripts menu?

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
amet Offline
How do ya like them apples?
Posts: 3,952
Joined: Jul 2009
Reputation: 37
Location: Novi Sad / Dubai
Post: #315
Use SVN repo installer to install or update to latest version 1.7.5


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find
Thread Closed