AmaroK XUL Remote
Amarok 1.x Scripts
Description:

Control AmaroK from any Firefox browser on your network.

This AmaroK script embeds a Firefox extension and a HTTP server


FEATURES:
- player manipulation: play, pause, stop, next, previous, seek, volume
- auto refreshing playlist view, plays a given track on click, can delete tracks
- collection browser with filtering, ordered by artist/album
- drag and drop tracks, album and artists to the playlist
- cover view for current track
- access restricted by login/password/IP address

The project developpement is now hosted on: http://sourceforge.net/projects/xul-amarok/
please go there to report bugs or wishes.


REQUIREMENTS:
- python >= 2.3
- pyqt (python QT bindings)
- AmaroK >= 1.4.3
- Firefox >= 1.5

INSTALL:
- Download the archive, then install and run it with AmaroK script manager
- On the first launch, you will be prompted for some parameters:
- interface(optional): the IP adress of your network interface the server will listen on (empty means all)
- port (required): you can leave 8888 as a default
- login/passwd (optional): if you wish to restrict access
- on any host on your network, launch firefox, go to http://amarok_host:8888 , and install the extension
- restart firefox
- launch "AmaroK remote" in the firefox "Tools" menu.
- set the options of the extension to match those on the server

NOTES:
If you get troubles with the configuration interface, you can use this sample xulremote.ini file:

[Debug]
debugajax = off
debugdcop = off

[HttpAuth]
passwd =
login =

[Hosts]
allowed =

[Listen]
interface = 127.0.0.1
port = 8888

of course replace 127.0.0.1 with the IP you want to listen on.
Last changelog:

12 years ago

1.0 - 2007-05-24
- new option to open the remote in a tab
- disable launch by KDE session manager (closes #1614228)

0.9b - 2007-04-30
minor fixes:
- Default server IP address to 127.0.0.1
- No more client hostname lookup
- new window for cover display

0.9a - 2006-11-03
- fix bug [ 1585368 ] Wrong file name transmitted

0.9 - 2006-10-21
- feature: context menus on collection and playlist
- feature: restrict connections from an IP addresses list
- works with firefox2, Amarok 1.4.3
- extension code rewrite

0.8 - 2006-04-30
- feature: delete tracks from playlist (press delete key)
- better playlist refreshing behaviour
- more playlist columns
- bugfix: collection browser now works fine with sqlite
- bugfix: more robust handling of unicode/non-unicode locales

0.7a - 2006-03-01
- bugfix: non resolved IPs could not connect
- no changes to extension

0.7 - 2006-02-25
- login/password authentication (HTTP Basic)
- big changes on the script side, now a pyqt application
- configuration interface
- always use dcop CLI, pydcop no longer required
- unicode bugfixes
- no more javascript warnings
- debugging possibilities, see xulremote.ini

0.6 - 2006-02-12
- unicode support
due to some issues with unicode and pydcop, the command line dcop is used for some actions

- reworked communication layer
uses AJAX instead of XML-RPC, which was designed for ascii

- sliders for seek and volume
adapted from foxytunes (thanks to Alex Sirota)

- amarok message on new connections
- cover view

0.5 - 2006-02-05
- support for firefox 1.5.0.1

0.4 - 2005-10-16
- drag and drop now works with albums and artists
- support for special characters

0.3 - 2005-09-10
- support for firefox 1.5 (won't work anymore with 1.0.x)
- use the new firefox preferences system
- works with amaroK 1.3
- better layout
- collection browser handles compilations
- dropped the Dynamic mode switch

0.2 - 2005-05-03
- Add a party mode enable/disable switch
- corrected bugs in the collection browser
- some cleanups

KapeKa

11 years ago

Would it be possible to add a volume control for the buildin one in Amarok? This would be great.

Report

mbedouet

11 years ago

Hi,

This control is already there, you can click on the right slider on the status bar.
The left one controls seek.

Report

bugmenot

11 years ago

whooot!! I was searchin the whole web for this one! Fuck foxytunes, this one is thousand times better!
Thanks very much for this great tool!

Report

thidney

11 years ago

It was exactly what i seek for. I use it on my ibook and control amarok on my desktop.
One thing to wish list. Could you think about Camino package :D

I really like your simple layout.
Great work.

Report

gisli

11 years ago

This is a very useful application. I have some comments (I am using with Firefox 1.0.x):

1) A sentence or two about how to install the script and start it would be useful. I managed, but it was not obvious. A note in the README would help.

2) It is not obvious either that going to host:8888 applies only to the first time and that once the Firefox extensions is installed, one should go to the Tools menu.

3) The collection panel seem to have problems with foreign characters in album and/or song tiles.

4) Collection albums are organized differently in Amarok than in xulremote. Amarok places the corresponding songs under Various artists, but xulremote puts them at top-level. I find the Amarok solution more useful and it would be good if xulremote were consistent.

5) It is rather cumbersome how xulremote requires the dragging of *individual* songs to the playlist. I would be more convenient if it also allowed dragging album and artist to get the entire set in one shot.

6) Would it be possible to add volume control? My apologies if it is already there, I did not find it.

Thanks for your efforts

Gisli

Report

mbedouet

11 years ago

Hi, I appreciate you find it useful. 1 - I didn't explained that, because it works like any other amaroK script, so i thought it was obvious. I'm going to add a note about this. 2 - I fully agree, I'm going to write that too 3 - that's a bug, I will fix it in next release. 4 - that's been improved in 0.3. 5 - that is in the todo list, I have to work on it. 6 - Yes you can! click on the status bar to seek and to set volume. unfortunately XUL has no slider widget, it would be useful in this case. thanks for your feedback!

Report

gisli

11 years ago

Thanks for the volume control tip. This is wonderful.

I noticed one additional issue. When I make the a AmaroK remote window small, I can not separately grow the Collection side-bar. The left-right arrow appears when I clock the right border of the side-bar, but growing it is not possible.

Finally, one question. Will you be making enhancements only for Firefox 1.5.x, or will users of Firefox 1.0.x also see improvements?

Thanks again.

Gisli

Report

mbedouet

11 years ago

this issue has been corrected in the 0.3 release, as part of layout enhancements.

unfortunately, I won't maintain a separate release for firefox 1.0.x, but I'm aware that a lot of people are still using 1.0.x.

the best solution would be to make it work with both 1.5 and 1.0.x, but some things have changed in firefox, the tree view behavior for example, and it won't be trivial. I'll have a look at this.
BTW, firefox 1.5 beta is very stable.

Report

gisli

11 years ago

I look forward to trying your latest work, probably when Firefox 1.5.x finds its way into Debian Unstable.

Till then, thanks.

Gisli

Report

dats

11 years ago

I'm running firefox-1.0.6-r7 and everytime I navigate to host:8888 it wants to install the extension when of course it's already installed. Any tips?

Report

mbedouet

11 years ago

Hi, check in the firefox tools menu, you should have an amarok remote entry.

Report

dats

11 years ago

Ah ha! It's always somthing simple ;)

Great amaroK plugin; now I can stream my collection from work! Thanks

Report

Dan0711

11 years ago

Hi!

seems to be a great tool, but won't work on my machine yet...

I'm a bit desperate now.. I upgraded my Suse 9.2 to amarok 1.3, installed the kdebindings for python (kdebindings3-python-3.4.0), upgraded my firefox (windows-version) to 1.5, activated your script within amarok, but when i open the amarok remote extension in firefox I won't get anything but an empty screen with all the controls but no tracks an I can't control anything.

can you help?
by the way: which port should I use?

thx in advance,
Daniel

Report

mbedouet

11 years ago

Hi,

you must use port 8888, the same that serves the extension.
If you can install the extension, it means that the script is running.

it should work with the same host/port you used for installing the extension, let me know if it doesn't.

Report

Dan0711

11 years ago

thank you, it seems to work now!! (though I'm sure I tried port 8888 before, but ok..)

however, great tool!

One problem remains: I now have tracks in the playlist and can control the player, but still, there are no tracks in the collection browser, so I can't add any tracks to the playlist...

Report

mbedouet

11 years ago

I think there is a bug, prefs are not taken in account until you re-launch the extension, so it doesn't work the first time you launch it. I'm going to fix that.

about the collection browser, can you tell me what database engine you're using?

Report

Dan0711

11 years ago

now the collection browser works also, after some restarts of the extension. I guess it sometimes hangs because of bad networks performance or something.

Is it possible that collections (albums) , which have ä,ö or ü in their names, cant be opened in the collection browser?

Report

lino

11 years ago

i've been looking for a thing like this for a long time!
but, could you make it compatible with Firefox versions above 1.0.5?

greets, lino

Report

mbedouet

11 years ago

if you wish to use it with firefox 1.0.5 or 1.0.6 you have to use the older 0.2 release available here:
http://botio.free.fr/xulremote-0.2.amarokscript.tar.gz

0.3 runs on firefox 1.5 (currently in beta)

Report

bodum

11 years ago

Please make a updated Version that runs on FireFox 1.5 ;).

Thanks!

Report

mbedouet

11 years ago

Hi,

Thanks for your interest!
I'm currently working on it, it will be released very soon.

Report

Superstoned

11 years ago

i love to see this working with konqueror, maybe for KDE 4 this will be possible (as they plan to add xul support)?

Report

BCMM

11 years ago

XUL support? Is this part of the project to port Gecko to QT?

Do you have a source or link that says they're officially including this in KDE 3.4?

Report

Superstoned

11 years ago

i'm not sure, but i recall reading about this... xul is after all xml, isn't it? and the KDE apps already use xml for their interface, if i'm correct. well, its too long ago i read about this, maybe i should just shut up...

Report

BCMM

11 years ago

Well, it uses XUL XML for the interface, with HTML allowed in places, and Javascript for the scripting. I would expect that some apps call various Firefox features too.

XUL interfaces work with GTK, Win32 and OS X, rendered with native widgets (this is how Firefox's toolbars are rendered IIRC). On more themeable systems like GTK or Windows with a patched theme engine, the widgets manage to follow the theme fairly well, amd they can look OK-ish in GTK-QT, so it should be possible to port it without the apps having to be change. It might depend on Gecko for the HTML stuff though, not sure. I can't remember how much Firefox they're trying to port.

I wonder if it could theoretically be made into a sort of standalone system so that XUL apps could run without needing a whole browser running to support them; it could be used for some of the more trivial uses of Java.

Report

12 years ago

1.0 - 2007-05-24
- new option to open the remote in a tab
- disable launch by KDE session manager (closes #1614228)

0.9b - 2007-04-30
minor fixes:
- Default server IP address to 127.0.0.1
- No more client hostname lookup
- new window for cover display

0.9a - 2006-11-03
- fix bug [ 1585368 ] Wrong file name transmitted

0.9 - 2006-10-21
- feature: context menus on collection and playlist
- feature: restrict connections from an IP addresses list
- works with firefox2, Amarok 1.4.3
- extension code rewrite

0.8 - 2006-04-30
- feature: delete tracks from playlist (press delete key)
- better playlist refreshing behaviour
- more playlist columns
- bugfix: collection browser now works fine with sqlite
- bugfix: more robust handling of unicode/non-unicode locales

0.7a - 2006-03-01
- bugfix: non resolved IPs could not connect
- no changes to extension

0.7 - 2006-02-25
- login/password authentication (HTTP Basic)
- big changes on the script side, now a pyqt application
- configuration interface
- always use dcop CLI, pydcop no longer required
- unicode bugfixes
- no more javascript warnings
- debugging possibilities, see xulremote.ini

0.6 - 2006-02-12
- unicode support
due to some issues with unicode and pydcop, the command line dcop is used for some actions

- reworked communication layer
uses AJAX instead of XML-RPC, which was designed for ascii

- sliders for seek and volume
adapted from foxytunes (thanks to Alex Sirota)

- amarok message on new connections
- cover view

0.5 - 2006-02-05
- support for firefox 1.5.0.1

0.4 - 2005-10-16
- drag and drop now works with albums and artists
- support for special characters

0.3 - 2005-09-10
- support for firefox 1.5 (won't work anymore with 1.0.x)
- use the new firefox preferences system
- works with amaroK 1.3
- better layout
- collection browser handles compilations
- dropped the Dynamic mode switch

0.2 - 2005-05-03
- Add a party mode enable/disable switch
- corrected bugs in the collection browser
- some cleanups

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 50%
50.00 Likes
50 Dislikes
Details
version
1.0
updated May 23 2007
added May 01 2005
downloads
page views 1171