Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 24
[RELEASE] xbmclyrics script - automatically grabs lyrics online
Lyrics stopped working for me all of a sudden. (for about 3 days now) I've search the internet and thought I saw traces of the FREE lyrics are done now... Is this true?

Can XBMC Lyircs still pull lyrics?
Lyrics also stopped working for me. I'm getting a "Artist not found" for all artists all of a sudden. Can anyone confirm they are still able to get the XBMC lyrics to work ? I'll provide a logfile if anyone is interested in having a look
XBMC Lyrics has not been working for me either. all i get is a black panel even for the songs which already have lyrics downloaded.
not working here either
guess we'll just have to be patient. Would love to have this working again. Being a norwegian, this script has taught me the CORRECT lyrics of many songs :-)
An update would be more than awesome Smile
Reading on the net... I'm not sure an update will fix it.

I could be wrong.. but from what I've seen the companies giving free lyrics don't want scripts or api interaction anymore.. as an individual you can still use their services but i think we MAY be out of luck.

dunno....
Lightbulb 
I remember that there was I way to let the lyrics script pop up under the right mouse button (i.e. the context menu). But I don't know how..... Can anybody describe how to do it? Huh
@WhoEver maintains this script:
there is a haxy way to still get lyrics from lyricwiki, here's some code from a sonata plugin that uses it:

Code:
class LyricWiki(object):
    def get_lyrics_start(self, *args):
        lyricThread = threading.Thread(target=self.get_lyrics_thread, args=args)
        lyricThread.setDaemon(True)
        lyricThread.start()

    def lyricwiki_format(self, text):
        return urllib.quote(str(unicode(text).title()))

    def get_lyrics_thread(self, callback, artist, title):
        try:
#            timeout = socketgettimeout()
#            socketsettimeout(consts.LYRIC_TIMEOUT)
            lyricpage = urllib.urlopen("http://lyricwiki.org/index.php?title=%s:%s&action=edit" % (self.lyricwiki_format(artist), self.lyricwiki_format(title))).read()
            content = re.split("<textarea[^>]*>", lyricpage)[1].split("</textarea>")[0]
            if content.startswith("#REDIRECT [["):
                addr = "http://lyricwiki.org/index.php?title=%s&action=edit" % urllib.quote(content.split("[[")[1].split("]]")[0])
                    content = urllib.urlopen(addr).read()
            lyrics = content.split("&lt;lyrics&gt;")[1].split("&lt;/lyrics&gt;")[0]
            if lyrics.strip() != "&lt;!-- PUT LYRICS HERE (and delete this entire line) --&gt;":
                lyrics = misc.unescape_html(lyrics)
                lyrics = misc.wiki_to_html(lyrics)
                lyrics = lyrics.decode("utf-8")
                self.call_back(callback, lyrics=lyrics)
            else:
                error = _("Lyrics not found")
                self.call_back(callback, error=error)
        except:
            error = _("Fetching lyrics failed")
            self.call_back(callback, error=error)

I would fix it myself, but I'm busy with my mpd emulator and the lyricwiki scraper only has .pyo-files, no source ones...
@mots: What exactly do you mean by "Sonata plugin"?
Thankx mots! I really hope someone with python skills pick this up since I miss this plug-in!!
xbmcuser01 Wrote:@mots: What exactly do you mean by "Sonata plugin"?

A plugin for sonata.

If someone gave me the complete source to the xbmclyrics plugin, I'd give it a shot, but even on svn, there is only a lyricsScraper.pyo and no .py, and I'm not willing to start that crap from scratch :/
here you go > LINK
pX
the link you gave me doesn't contain a lyricsScraper.py, either... (in resources/scrapers/lyricwikiapi)
http://px.wporzo.pl/lyricsScraper.py
pX
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 24

Logout Mark Read Team Forum Stats Members Help
[RELEASE] xbmclyrics script - automatically grabs lyrics online1