Kodi Community Forum
[RELEASE] CU Lyrics (Script) Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Lyrics Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=146)
+---- Thread: [RELEASE] CU Lyrics (Script) Addon (/showthread.php?tid=62853)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


- paco - 2010-09-01

Hello Amet. I use your script every day but I've run into a glitch I can't workaround. As you know, Gracenote has taken down many lyrics on lyrics.wikia.com. Your pre-addon release used to display embedded lyrics (UNSYNCEDLYRICS id3 field) before downloading them from lyrics.wikia so I never noticed the problem.

The artist is "The Who" and the problem song is "5:15" from Quadrophenia. Well, CU Lyrics does find the correct song and displays it. Unfortunately, thanks to a Gracenote takedown, it can only display a few lines. Well, the problem arises that it can't save the song to the lyrics folder because of the colon ':' in the song title (colons are no-nos in Windows filenames). It attempts to save the file but a partial file gets written named '5' (no txt extension). I have exported the lyrics embedded in the MP3 to a text file, but no combination I can come up with will force CU Lyrics to use it instead of the neutered lyrics.wikia version (515.txt, 5-15.txt, 5_15.txt, etc...). Any suggested workarounds?


- amet - 2010-09-01

paco Wrote:Hello Amet. I use your script every day but I've run into a glitch I can't workaround. As you know, Gracenote has taken down many lyrics on lyrics.wikia.com. Your pre-addon release used to display embedded lyrics (UNSYNCEDLYRICS id3 field) before downloading them from lyrics.wikia so I never noticed the problem.

The artist is "The Who" and the problem song is "5:15" from Quadrophenia. Well, CU Lyrics does find the correct song and displays it. Unfortunately, thanks to a Gracenote takedown, it can only display a few lines. Well, the problem arises that it can't save the song to the lyrics folder because of the colon ':' in the song title (colons are no-nos in Windows filenames). It attempts to save the file but a partial file gets written named '5' (no txt extension). I have exported the lyrics embedded in the MP3 to a text file, but no combination I can come up with will force CU Lyrics to use it instead of the neutered lyrics.wikia version (515.txt, 5-15.txt, 5_15.txt, etc...). Any suggested workarounds?

5:15 issue fixed in version 0.9.2, thanks for letting me know.

as for the embedded lyrics, CU Lyrics never supported them, it might have been XBMC Lyrics in the earlier stage.

I might look into it at some point but I think XBMC Lyrics might make appearance again and support that


- paco - 2010-09-01

Amet Wrote:5:15 issue fixed in version 0.9.2, thanks for letting me know.

as for the embedded lyrics, CU Lyrics never supported them, it might have been XBMC Lyrics in the earlier stage.

I might look into it at some point but I think XBMC Lyrics might make appearance again and support that

Thank you for fixing this issue.

You are mistaken re: embedded lyrics support in CU lyrics. I installed XBMC 9.11 and downloaded CU Lyrics 0.7.6 using the SVN Repo Installer. That version of CU Lyrics displays my embedded lyrics before showing the lyrics.wikia.com version. The funny thing is even though it displays the embedded lyrics, it doesn't save them to the hdd.

Here is a screenshot using 0.7.6 on a clean install (no saved lyrics in folders):

Image

That same song shows up as a 'Gracenote Takedown' using lyrics.wikia.com.


- amet - 2010-09-01

paco Wrote:Thank you for fixing this issue.

You are mistaken re: embedded lyrics support in CU lyrics. I installed XBMC 9.11 and downloaded CU Lyrics 0.7.6 using the SVN Repo Installer. That version of CU Lyrics displays my embedded lyrics before showing the lyrics.wikia.com version. The funny thing is even though it displays the embedded lyrics, it doesn't save them to the hdd.

Here is a screenshot using 0.7.6 on a clean install (no saved lyrics in folders):

Image

That same song shows up as a 'Gracenote Takedown' using lyrics.wikia.com.

heh, of course I was wrong Smile

0.9.3 should have the fix for that, let me know if its okay please

Thanks!


- paco - 2010-09-02

Amet Wrote:heh, of course I was wrong Smile

0.9.3 should have the fix for that, let me know if its okay please

Thanks!

Hi Amet. Thanks for the quick updates. Unfortunately 0.93 has a few glitches that are very easy to reproduce ( I have XBMC playing in shuffle mode in case it makes a difference). I removed my "The Who" lyrics folder for these tests. I press enter to start playing a song. I run the lyrics script and it displays the embedded lyrics. While the song is playing, I press next. CU Lyrics clears but doesn't load the correct lyrics. Instead it displays the lyrics from the last song again. From that point on, on very song skip, CU Lyrics displays the lyrics of the previous song.

I like the option to use "Embedded Lyrics" from the configure menu (the info lists 0.85?). Can an option be added to save embedded file to disk as well (like the lyrics.wikia lookups)?

Another tweak that would be nice would be an option to remove/hide blank lines before the text (lyrics) start. In some skins, it would look a little cleaner.

I can post a debug log should you require it.


- amet - 2010-09-02

paco Wrote:Hi Amet. Thanks for the quick updates. Unfortunately 0.93 has a few glitches that are very easy to reproduce ( I have XBMC playing in shuffle mode in case it makes a difference). I removed my "The Who" lyrics folder for these tests. I press enter to start playing a song. I run the lyrics script and it displays the embedded lyrics. While the song is playing, I press next. CU Lyrics clears but doesn't load the correct lyrics. Instead it displays the lyrics from the last song again. From that point on, on very song skip, CU Lyrics displays the lyrics of the previous song.

I like the option to use "Embedded Lyrics" from the configure menu (the info lists 0.85?). Can an option be added to save embedded file to disk as well (like the lyrics.wikia lookups)?

Another tweak that would be nice would be an option to remove/hide blank lines before the text (lyrics) start. In some skins, it would look a little cleaner.

I can post a debug log should you require it.


0.9.4 should fix all the issues except the blank lines, will work on those when I have more time Sad


- paco - 2010-09-03

Amet Wrote:0.9.4 should fix all the issues except the blank lines, will work on those when I have more time Sad

Excellent work! This new release rocks. I love being able to see lyrics for obscure songs that would never be found on lyrics.wikia (or many that have been taken down..). Thank you!

For anyone that wants to batch add lyrics to songs, I recommend MediaMonkey with the latest Lyricator extension (you need version 1.1.0.023).


- Zippolighter - 2010-09-04

Hi Amet,
I see a problem in this very funny addon if the artist or the songtitle used german special characters like ä ü ö ß

The addon search for a song "Mann im Mond" from the artist "Jörg Bausch"

Quote:14:02:08 T:4952 M:4294967295 NOTICE: self.current_file: smb://FREENAS/Musik/Jörg Bausch/Denn Ich Fliege/03 - Jörg Bausch - Mann Im Mond.mp3
14:02:08 T:4952 M:4294967295 NOTICE: self.current_song: Artist: Jorg Bausch, Title: Mann im Mond
14:02:08 T:4952 M:4294967295 NOTICE: playing_file: smb://FREENAS/Musik/Jörg Bausch/Denn Ich Fliege/03 - Jörg Bausch - Mann Im Mond.mp3
14:02:08 T:4952 M:4294967295 ERROR: xbp__wfopen = untested
14:02:08 T:4952 M:4294967295 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Jorg Bausch, Title: Mann im Mond
14:02:08 T:4952 M:4294967295 NOTICE: Search url: http://lyricwiki.org/index.php?title=Jorg%20Bausch:Mann%20Im%20Mond&fmt=js

and don't get a result because the artist name in the search string is not "Jörg Bausch" is "Jorg Bausch"

The artist and the song is available on the side

http://lyrics.wikia.com/J%C3%B6rg_Bausch:Mann_im_Mond

I hope you can include that.

Thanks, regards Zippolighter

Edit: I use the CU LYRICS 0.9.5


- Zippolighter - 2010-09-05

Hi,
I have an additional problem

One of the lyric isn't save to the local HD. The folder is create but the lyric txt file isn't create

All other songs lyric is save to the local HD

Quote:20:02:21 T:9836 M:4211269632 NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: Anna-Maria Zimmermann, Title: Wer ist dieser DJ? (DJ-Mix)
20:02:21 T:9836 M:4211261440 NOTICE: Search url: http://lyricwiki.org/index.php?title=Anna-Maria%20Zimmermann:Wer%20Ist%20Dieser%20Dj%3F%20%28Dj-Mix%29&fmt=js
20:02:22 T:9836 M:4209549312 NOTICE: Title:[Anna-Maria Zimmermann:Wer Ist Dieser DJ]



- amet - 2010-09-05

please post the full logs to pastebin site.

I will have a look at the issues you are having later this week.


- Zippolighter - 2010-09-05

Attached full debug log

http://pastebin.ca/1933807

Regards Zippolighter


- amet - 2010-09-05

Zippolighter Wrote:Attached full debug log

http://pastebin.ca/1933807

Regards Zippolighter

cheers mate, I have a solution for the second issue you are having. will look at the other one soon


- Zippolighter - 2010-09-05

Amet Wrote:cheers mate, I have a solution for the second issue you are having. will look at the other one soon

Perfect,
Thanks for your support


- amet - 2010-09-05

Zippolighter Wrote:Perfect,
Thanks for your support

anytime, thanks for the bug report


Bad Gateway message? - gillyspy - 2010-09-07

Code:
00:19:49 T:114048 M:2642358272  NOTICE: http://lyricwiki.org/index.php?title=502%20Bad%20Gateway&action=edit
00:19:49 T:114048 M:2642358272  NOTICE: LyricsFetcher::get_lyrics_thread (166) [list index out of range]
00:19:49 T:114048 M:2642358272  NOTICE: Next Song: The Airborne Toxic Event:Innocence
00:19:49 T:114048 M:2642292736   ERROR: xbp__wfopen = untested
00:19:49 T:114048 M:2642292736  NOTICE: SCRAPER-DEBUG: LyricsFetcher.get_lyrics_thread Artist: The Airborne Toxic Event, Title: Innocence
00:19:49 T:114048 M:2642292736  NOTICE: Search url: http://lyricwiki.org/index.php?title=The%20Airborne%20Toxic%20Event:Innocence&fmt=js
00:19:49 T:114048 M:2642153472  NOTICE: Title:[502 Bad Gateway]    
00:19:49 T:114048 M:2642350080  NOTICE: http://lyricwiki.org/index.php?title=502%20Bad%20Gateway&action=edit
00:19:49 T:114048 M:2642350080  NOTICE: LyricsFetcher::get_lyrics_thread (166) [list index out of range]
When I try to use this script the log shows the above.

I'm not using any kind of proxy and when I use that same URL in a web-browser all is fine. Albeit, when using it in a webrowser is redirects to lyrics.wkia.com

Any fix or workaround?