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

New browser from plugin

Tags: None
(comma "," separated)
atd
Registered Member
Posts
4
Karma
0

New browser from plugin

Mon Aug 21, 2006 6:04 pm
Hi!
I'm developing a plugin about social listening, very similar to Last.fm.
I want to integrate it in Amarok creating a new browser, just like Magnatune browser:

http://img297.imageshack.us/my.php?imag ... ne48xg.png
http://blogs.magnatune.com/buckman/2006 ... urcha.html

How can I do this? I have been diving in DCOP but I couldn't find the right calls.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: New browser from plugin

Tue Aug 22, 2006 6:24 am
The Magnatune extension is not a plugin; it's simply hardcoded. Currently Amarok does not support browser plugins.


--
Mark Kretschmann - Amarok Developer
atd
Registered Member
Posts
4
Karma
0

Re: New browser from plugin

Tue Aug 22, 2006 11:12 am
OK, I was misleaded by John's comment in http://blogs.magnatune.com/buckman/2006 ... urcha.html
Yes, that's right, it isn't embedded in the amarok that ships, but is an additional thing one can install and add."


What a pity, it would be really nice for scripts if they could interact more with the interface, beyond the contextual menu entry.

Thanks!
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: New browser from plugin

Tue Aug 22, 2006 11:31 am
With some trickery, you can make the script interact with the context browser. See here for an example:

http://kde-apps.org/content/show.php?content=40231


--
Mark Kretschmann - Amarok Developer
Martin Aumueller
KDE Developer
Posts
219
Karma
0

Re: New browser from plugin

Tue Aug 22, 2006 11:55 am
But before you dive too deep into this: I'm pretty sure that we will provide a simple infrastructure for new browser plugins together with a hook into the context browser for 1.4.3.
atd
Registered Member
Posts
4
Karma
0

Re: New browser from plugin

Wed Aug 23, 2006 3:46 pm
Wow, that would be really cool!

I had a look at conTEXT but it was very tricky. Besides, my script is in Ruby...
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: New browser from plugin

Wed Aug 23, 2006 3:54 pm
Ah, Ruby, the language of the Gods. Very nice! Anything else would have disappointed me.


--
Mark Kretschmann - Amarok Developer
User avatar
BearcatSandor
Registered Member
Posts
5
Karma
0

Re: New browser from plugin

Thu Aug 24, 2006 12:52 am
That screen shot of Amarok looks very differnet from what i have in version 1.4.2. The tabs and lay out are completely different. Is this just the Magnatune interface in Amarok or is this a new look for Amarok in an upcoming version? 
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: New browser from plugin

Thu Aug 24, 2006 7:25 am
That was how Amarok looked for some weeks in June.


Amarok Developer


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]