Posts: 297
Joined: Oct 2005
Reputation:
1
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?
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
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 :p
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!
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
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!
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
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!
Posts: 4,137
Joined: Jul 2009
Reputation:
48
amet
Retired Team-Kodi Member
Posts: 4,137
is that something worth including in a CU Lyrics? does it have any downsides?