[lyricwiki plugin] lyricwiki moved

Bug #426481 reported by ezekiel000
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Ubuntuxer

Bug Description

Lyricwiki plugin is not working as lyricwiki has moved to http://lyrics.wikia.com/
The API should be working again as the move provided some sort of legal agreement.
I'm not able to check the lyrics in 0.3 as right clicking and selecting properties of a track doesn't show lyrics in 0.3 but no lyrics are found using the context info plugin to access lyrics.

Changed in exaile:
status: New → Won't Fix
status: Won't Fix → Confirmed
importance: Undecided → Medium
ezekiel000 (ezekiel000)
description: updated
Revision history for this message
Giovani Pieri (giovani-pieri) wrote :

Hi. I've produced a very simple patch to solve this problem (it was annoying me :). Feel free to merge it if you want to.

The old API's URL is still working (I've updated it though). However there was a space in the regex used to extract the lyrics from the HTML that wasn't there anymore. Thus, the regex matched nothing.

reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.1
status: Confirmed → In Progress
milestone: 0.3.1 → 0.3.0.3
Revision history for this message
zak317 (sobomsawin-gmail) wrote :

Thanks Giovani, your patch is working well. Hope to see it in the next version of Exaile.

Someone know where the Wikipedia (Did you know) plugin went??

Revision history for this message
reacocard (reacocard) wrote :

patch doesn't work in trunk - the patch doesn't apply, and when applied by hand, only garbage is output, not the actual lyrics.

Changed in exaile:
status: In Progress → Confirmed
reacocard (reacocard)
Changed in exaile:
milestone: 0.3.0.3 → 0.3.1
Revision history for this message
reacocard (reacocard) wrote :

it appears the new api only returns a truncated version of the lyrics. This makes lyricwiki useless for our purposes, so I've removed the plugin.

Changed in exaile:
status: Confirmed → Won't Fix
Revision history for this message
Ubuntuxer (johannes-schw) wrote :

I've rewritten the plugin lyricwiki, so that it works again. There's no API anymore, so I have to fetch the page source and parse the lyrics. Unfortunately it requires the python module Beautifulsoup now, which isn't in the standard lib.
Besides I've got the impression that it's slower than the plugin lyricsfly.

Changed in exaile:
status: Won't Fix → In Progress
assignee: nobody → Ubuntuxer (johannes-schw)
Revision history for this message
Ubuntuxer (johannes-schw) wrote :
reacocard (reacocard)
Changed in exaile:
status: In Progress → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.