Amarok's context browser previously allowed users to view artist info in the Context tab of the Amarok 1.4 application. Wikipedia made a change to their HTML which has broken this functionality (at least on the 1.4 line of Amarok, possibly other version). Reproducible: Always Steps to Reproduce: 1. Open Amarok 1.4 2. Select a track by an artist with a Wikipedia page and begin to play it 3. Switch to the "Context" tab, then the artist tab Actual Results: The wikipedia information box will be empty, below will be a list of different language for that page. I've read that artists with only one language page may work, but most major artist have pages in several languages and will have the problem I'm describing. Expected Results: A parsed version of the wikipedia page rendered in the context/artist tab. The fix for this is very simple, edit contextbrowser.cpp and look for "firstHeading". For Amarok 1.4.10, the line (4192) changes as follows: from: m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) ); to: m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\" class=\"firstHeading\">" ) ); This general fix (adding the id=... string) should probably work on other versions of the Amarok 1.4.X line. A big thanks to WarwickH on the Ubuntu bugzilla for finding the line (https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/316140/).
Created attachment 179748 [details, diff] A patch implementing the fix described in the report.
Synced to stable branch. Have fun with amarok-1.4.10_p20090130, -r1 respectively.
Hi. HOW can I edit contextbrowser.cpp? WHERE can I find it??? Petr
This fix never went stable. The current version Amarok-1.4.10-r2 still has the wikipedia bug.
I'll check this during the "extended" weekend.
*** Bug 261579 has been marked as a duplicate of this bug. ***
amarok-1.4.10_p20090130-r2 is going to be stabilized soon, so closing