This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok 2 Wikipedia filtering help

Tags: None
(comma "," separated)
afterfx1337
Registered Member
Posts
2
Karma
0

Amarok 2 Wikipedia filtering help

Mon Nov 16, 2009 2:42 am
Every time wikipedia tries to loads my favorite hip-hop artists' wiki page, it never can find it. It always brings up:

Look for Young Buck (band) on one of Wikipedia's sister project:

First off, Young Buck is not a (band), he is a hip-hop artist. Eminem does not load either. I've used older versions of Amarok and it would bring up Young Buck's wiki page. Is there anyway to filter out the (band) portion of the search? I know i could always just look it up on mozilla, but having wiki along side the music that is playing used to be a huge benefit.

Im not a big fan of any bands, besides 311. And with amarok 2, its able to bring up the 311 wiki page.

I've done my research on this forum and the only thing I can do at this point is to load an older version of amarok. Correct?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
What exact Amarok version do you use?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
afterfx1337
Registered Member
Posts
2
Karma
0
Amarok 2.1.1....from packman. I found this post floatin arounf but it goes mostly for the 1.4 version. https://bugs.launchpad.net/ubuntu/+sour ... ug/316140/

the post that strikes me the most is....



Using archive.org, one thing in the html source seems to have changed. Looking at http://en.wikipedia.org/wiki/Kent_(band):
2007: <h1 class="firstHeading">Kent (band)</h1>
2009 (now): <h1 id="firstHeading" class="firstHeading">Kent (band)</h1>

In other words, there is now an id="firstHeading" in the text that Amarok problably parses.


and


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\">" ) );
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok 2 Wikipedia filtering help

Mon Nov 16, 2009 10:23 pm
I strongly suggest you upgrade your Amarok version, 2.2.0 is available since 7 weeks, Amarok 2.2.1 has just been released today.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell