[RELEASE] xbmclyrics script - automatically grabs lyrics online - 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] xbmclyrics script - automatically grabs lyrics online (/showthread.php?tid=10187) |
- Nuka1195 - 2007-05-24 maybe post a debug log when it happens. What type of music are you playing? (mp3's...) - a76b492 - 2007-06-06 I really like this script and would like to have a button on my universal remote dedicated to it. I have successfully added the xbmc.runscript command to my keymap.xml. What I would like to do is have the same button stop the script. Is there some code I could add to the script that would check to see if the script is already running and if so kill it? - Nuka1195 - 2007-06-06 add the following to the onAction() event: Code: print "ACTION:", action.getButtonCode() the first "ACTION: #" statement is what you want. then add that number to the following line and get rid of the print statement. old Code: if ( action.getButtonCode() in utilities.EXIT_SCRIPT ): new *remember the parens and comma. so just replace the # with your code Code: if ( action.getButtonCode() in utilities.EXIT_SCRIPT + (#,) ): - a76b492 - 2007-06-06 Thanks for the code NUKA1195 but I can't seen to get this working. I put the print "ACTION:" command under the def onAction section of the gui.py, ran the script and pushed the button. Where does the script "print" the button code? Nothing pops up on screen and I checked all the logs. - Nuka1195 - 2007-06-11 you need to view the scripts debug window. black button after exiting the script, while your in the scripts window. - a76b492 - 2007-06-12 thanks Nuka1195. I got it working. - Nuka1195 - 2007-06-19 Could anybody confirm that language files other than english were working. I just committed a change that should fix that. The way it was, other than english strings should not have worked :S - LRa - 2007-06-19 Nuka1195 Wrote:Could anybody confirm that language files other than english were working. I'm using two different xbmclyrics, since the newer versions won't find French songs. - Nuka1195 - 2007-06-19 Ok, I actually meant the language files. Would you supply a French language file? About the songs, Have you tried both scrapers? Do you have a website that has French songs? You may need a new scraper if your songs are not on http://www.lyricwiki.org or http://lyrc.com.ar. Have you checked those websites for your songs? post a song and artist of ones that don't work. - LRa - 2007-06-19 Sure. For example Alain Souchon and antoher - Renaud. Two very well known French artists. Both sites have a very limited selection of their songs. In spite of that, a much older version of xmbclyrics I have do find all of their songs I look up. Also http://www.lyricwiki.org and http://lyrc.com.ar don' have Hebrew songs, but even if they did, it wouldn't work, since when xbmclyrics searchs for the songs, the letters a gibbrish and not Hebrew, although Hebrew fonts work as subtitles and while browsing the folders. Hope that helps. Thanks - Nuka1195 - 2007-06-19 The version your using for French doesn't use http://lyrc.com.ar ? That's the original site. Then you'll need a new scraper. Not something I can probably do since it's a language i don't speak. Maybe post a link to the script that does work for you and i can take a look. Using LyricWiki.org scraper. Quote:Foule Sentimentale Using lyrc.com.ar scraper Quote: Did you change scrapers in settings? (white button on remote) - LRa - 2007-06-19 Here are two songs that won't work with the new versions: Alain Souchon - Toto 30 Ans Renaud - Hexagone but there are tons of others. I don't have a controller, which button is it on the remote? (but as far as I know I didn't change the settings). I can send my older version via email if that would help. - Nuka1195 - 2007-06-19 Try the info or display button. Sure you can e-mail me the older version, but it should be the same as selecting lyrc.com.ar scraper in settings. - LRa - 2007-06-19 Nuka1195 Wrote:Try the info or display button. Well I guess the version is so old, that it doesn't have settings(the new version shows the settings when I press the info button). Could you pm me your email? Thanks again - LRa - 2007-06-19 Sorry for double posting, but here's a weird problem I just had. I was using the new xbmclyrics, and I looked for a song, and it gave me a list of options(same artist different songs). I chose the right song. Then I restarted xbmclyrics and now for this song I get 'no artist found'. |