Hi,
I am currently playing with the lyrics plugin, and found that it works, but only if the song title matches exactly(!) the entry on the CU lyrics site. If there is any additional String in the song name, for example (Radio Edit), or something else, or a minor misspelling, it finds simply nothing.
Is it possible to manually alter the searchstring? Or make thw whole search a bit more unsharp, like google does by default when it suggests hits, even if you misstyped them?
This may seem like a minor issue, but if you take a look at an average music collection, you will find many song titles not exactly tagged like required by the database. is it REM or R.E.M? Kesha or Ke$ha?
Any way to make this more usable?
[Eden] CU Lyrics unusable?
Jackie78
Senior Member Posts: 198 Joined: Oct 2005 Reputation: 0 |
2012-01-06 17:28
Post: #1
|
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-01-06 18:03
Post: #2
You'd have to do some Python coding.
I made some minor mods to the file Code: C:\Users\Damian\AppData\Roaming\XBMC\addons\script.cu.lyrics\resources\lib\scrapers\lyricstime\lyricsScraper.pyCode: [url=http://pastebin.com/6YpKkyDx]http://pastebin.com/6YpKkyDx[/url]System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |
Tesla
Member Posts: 52 Joined: Dec 2011 Reputation: 0 Location: Texas, USA |
2012-01-07 21:30
Post: #3
DDDamian Wrote:You'd have to do some Python coding. Does this mod work in Dharma v10.1 ? When I use CU Lyrics, all I get is: "Fetching lyrics from LyricWiki.org, API Failed Now, I'm wondering if that just means it can't find a match? Continuing on my quest to find a working Lyrics (USA English) solution for my new XBMC install. HTPC: Intel e6600 Core2 dual, ATI 5670 (HDMI to amp), 8tb HDD storage, closet hidden Software: Win7-64 Pro, XBMC v11 (Eden), DxVA2-WASAPI Home Theater: Onkyo 607, Panasonic 46" 1080p Plasma, Epson 96" 1080p Projector, Panasonic BD-60 BluRay, Cisco 8742 DVR, Harmony 670 Speakers: Polk Audio Series II and Polk Sub.
(This post was last modified: 2012-01-08 22:17 by Tesla.)
|
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-01-08 03:17
Post: #4
Use LyricsTime instead of LyricsWiki. Go to Settings>Addons>Enabled Addons>Lyrics and right-click on CU Lyrics to configure.
Modding that line I reference will work on Dharma, pre-Eden or Eden beta. You can basically make the parser behave how you want, but fuzzy logic is a bit beyond my Python skills ![]() And yes, almost as a rule, if you get the "API failed" message it simply means that it didn't find a match. System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |
Tesla
Member Posts: 52 Joined: Dec 2011 Reputation: 0 Location: Texas, USA |
2012-01-08 22:02
Post: #5
DDDamian Wrote:Use LyricsTime instead of LyricsWiki. Go to Settings>Addons>Enabled Addons>Lyrics and right-click on CU Lyrics to configure. Firstly, thanks for recommending LyricsTime scraper. That improved results alot. I also tried your code ... seems to work fine. It's not that easy to switch back-and-forth between it and the original code, so I'm not sure how much better it works ... but I'll take your word for it. ![]() Can you think of why this filename doesn't match: 07 Rush - 2112; Overture-The Temples of Syrinx But this one does "The Temples of Syrinx" (at LyricsTime.com search box anyway) The rest of the Chronicles mostly match ... seems like this one should parse out correctly also. |
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-01-08 22:17
Post: #6
Glad I could help! You can basically just use my code change - it won't hurt and definitely helps with certain issues, notably anything with "&" or " ' " in it(e.g. George Thorogood & The Destroyers, Don't Fear the Reaper, etc).
For the Rush tune (great pick!) and others, everything depends on how LyricsTime does it's "fuzzy" search, and from what I've seen it ain't exactly google! So no Python scraper in the world is gonna help much there. Perhaps one of the skilled programmers out there can help this script out by allowing the user to enter a search string containing some of the lyrics, and submit that to LyricsTime! Sorry I couldn't be of more help, but at least that should improve things for ya a lot! Cheers, Damian System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |
Tesla
Member Posts: 52 Joined: Dec 2011 Reputation: 0 Location: Texas, USA |
2012-01-08 23:24
Post: #7
DDDamian Wrote:Sorry I couldn't be of more help, but at least that should improve things for ya a lot! Just to verify what I did ... - I copied your code from that link (from the bottom without the line numbers) - pasted it into a plain text file. - backed up the original file - renamed the new file to lyricsScraper.py and copied it over the old one To be clear ... you have helped me a lot. I finally have working Lyrics on my new XBMC install. This is great. And while it's just my preference ... I'd rather the Lyrics to match or not ... but I don't like when it asks me questions (a prompt, pick from a list, etc.) Thanks again. HTPC: Intel e6600 Core2 dual, ATI 5670 (HDMI to amp), 8tb HDD storage, closet hidden Software: Win7-64 Pro, XBMC v11 (Eden), DxVA2-WASAPI Home Theater: Onkyo 607, Panasonic 46" 1080p Plasma, Epson 96" 1080p Projector, Panasonic BD-60 BluRay, Cisco 8742 DVR, Harmony 670 Speakers: Polk Audio Series II and Polk Sub. |
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-01-09 05:37
Post: #8
It's less than perfect for sure, but it does seem to work ~80-90% at least with my collection. And as long as you placed the code in the LyricsTime directory then yep, you did that right.
Glad I could help - enjoy! System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2012-01-09 11:17
Post: #9
is that something worth including in a CU Lyrics? does it have any downsides?
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 |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-01-09 17:07
Post: #10
Hi Amet - glad you saw this outside of the normal CULyrics thread. I have not seen any downside - it's simply an expansion of the parser line.
I found I was having issues with certain artist or song names as listed above, and they formed a reasonable percentage of the failed scrapes. I have not had any issues as a result of the change, and a considerably higher hit rate, so I would recommend it. Be nice to be able to give back a bit! Thanks, by the way, for all your incredible work!
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer - Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System If I have been able to help feel free to add to my reputation +/- below - thanks! |
| find quote |



Search
Help