profile-image

mbedouet

Matthieu Bedouet
AmaroK XUL Remote

Amarok 1.x Scripts 116 comments

Score 50%
50 Likes
50 Dislikes
May 23 2007
Hi, I've just switched to Amarok2, so I may port this script someday.
I would have to learn QTScript and digg into the new amarok API, but I don't have much time these days.
It should be possible to do this without changing the firefox extension too much.
- Apr 16 2009
Hi,

glad you like it!
This is a firefox extension so yes it requires firefox.
I don't know about if the firefox version for mobiles (fennec I think) will feature extensions, but if it does it may be possible to make it run on a mobile device.
Some modifications to the UI may be required due to the size of these devices though.
bye, - Jul 01 2008
Hi,

the minimum amarok version required is 1.4.3.

I think the database structure changed during the 1.4 development, and it looks like there is nothing wrong in your log.

the problem is here:
[XUL remote DCOP ] query: select distinct t.title, t.deviceid, t.url
from album al, artist ar, tags t
where t.artist = ar.id and t.album = al.id and ar.name = 'Paul McCartney' and al.name = 'Memory Almost Full'
order by t.discnumber, t.track
[XUL remote DCOP ] query results: []

perhaps in 1.3.8 there were not some of the requested fields.

could you try this in a terminal:
dcop amarok collection query "select distinct t.title from album al, artist ar, tags t
where t.artist = ar.id and t.album = al.id and ar.name = 'Paul McCartney' and al.name = 'Memory Almost Full'"

anyways, you sould try a post 1.4.3 version to see if it works.
bye
- Jul 14 2007
Hi,

You should try the new 1.0 release that fixes this problem. - May 23 2007
Hi,
You are actually the second one who reports this.
there is an open bug:
https://sourceforge.net/tracker/index.php?func=detail&aid=1614228&group_id=180348&atid=892812

I will try to make the script quit if it's launched by kde session manager (ksmserver) - May 23 2007
Hi,

You may have two instances of the script running, the second one having problems, because the port is already used by the first instance.

could you check if you have 1 or 2 scripts running with:
ps -eaf|grep XulRemote

I think on startup the script may be restored by both Amarok and the KDE session manager.

If this is the problem you have, I will try to detect if another script instance is running on startup.

- May 22 2007
Hi,
that should be resolved with the last release 0.9b.
and btw, when the script is launched by the Amarok script manager, the config file is read from :
~/.kde/share/apps/amarok/scripts-data/xulremote.ini

- Apr 30 2007
Hi, I've posted a sample in the description on this page.
However the setup interface should work everywhere, I'd like to fix this bug.
do you see some errors when you launch the script by hand? - Apr 23 2007
Hi,

You may have problems with your python installation.
what distribution/version are you running?
have you compiled some python modules by yourself? - Apr 16 2007
Hi,

could you post the full output please?

thanks - Apr 16 2007
I know the collection browser needs improvements, but that should be done with a DCOP API, on Amarok side for querying the collection.
Anyone interested? - Nov 30 2006
Hi,

the drag and drop issue is resolved in the last 0.9a release.

I'll close the bug report on amarok, for future ptoblems with xul-remote, you can use its bug tracker on sourceforge:
https://sourceforge.net/projects/xul-amarok/

about the '#' problem I will try to reproduce this.

thanks for your feedback.
- Nov 03 2006
Hi, I assume you're using Amarok 1.4.3, could you enable debug in:
~/.kde/share/apps/amarok/scripts-data/xulremote.ini
and post the output generated when you drag the tracks to the playlist and post it here?

also you could open a bug report on http://sourceforge.net/projects/xul-amarok/
it may be a more convenient place than here to discuss about this issue.

thanks


- Oct 24 2006
Hi,

I'm working on a new release right now,
I can send you a pre-version if you wish to test it before I publish it.
- Oct 19 2006
Hi,

please could you tell me what Amarok version you're running, I think it's related to a Amarok database shema change in 1.4.2, I've not updated since.

I have to release a new version as soon as I can, to support firefox 2 too.

thanks. - Sep 30 2006
there may be a problem with pyqt on your system.
have you tried another script like webcontrol (provided with amarok) that uses pyqt for its config dialog? - May 07 2006
hi,

that's weird.
the HTTP server is not launched until a config file is created.
however, the config window should appear if you don't have a config file.
just to be sure, do you have a ~.kde/share/apps/amarok/scripts-data directory, is there a xulremote.ini file into? - May 07 2006
Hi,

I've reproduced the problem, it's now fixed in 0.7a.
the script was failing when trying to resolve IPs without hostname.

thanks for your feedback! - Mar 01 2006
Hi,

it depends on the interface you set up in the script preferences, you can configure this from the script manager.

you may try to leave it empty, or to put the IP adress of your server's LAN interface. - Mar 01 2006
Hi,
one of your artists tags may contain characters than can't be converted to unicode.
I will release a new version this week-end that will handle this, and will have new features like authentication, some debugging possibilities and correct others bugs. - Feb 16 2006
Hi,

I'm working on it, and it's almost ready for release.
0.6 will be released very soon, after some more testing (I have to check it still works with a non-SVN amarok, on a non utf-8 system).

It features big changes under the hood, I've replaced xml-rpc with ajax.
Also I'd like to put real sliders for volume and seek, I have to find an example.

stay tuned! - Feb 11 2006
Hi,
try the new version, it should work - Feb 05 2006
Hi,

This control is already there, you can click on the right slider on the status bar.
The left one controls seek. - Jan 21 2006
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. - Oct 16 2005
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! - Oct 16 2005
Hi, check in the firefox tools menu, you should have an amarok remote entry. - Sep 25 2005
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? - Sep 12 2005
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. - Sep 12 2005
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) - Sep 11 2005
Hi,

Thanks for your interest!
I'm currently working on it, it will be released very soon. - Sep 10 2005
Hi,

I think you're right, you need kde python bindings.

However I haven't used Suse for years, I don't know how they manage dependancies.
It seems to be a dependency problem have you installed/upgraded packages from multiple sources?
maybe YAST could resolve this problem?

have a look here, you may need kdebindings3-python:
http://rpmfind.net/linux/RPM/kde/stable/3.4/SuSE/ix86/9.2/kdebindings3-python-3.4.0-5.i586.html

another solution would be to use vnc or NX for example.

hope this helps.

bye - May 17 2005
Hi, I already have a patch for removeByIndex(int).
however, something like removeMedia(url) would be better.
I will have a look on this and propose a patch on the ml. - May 02 2005
ok, you miss python dcop bindings, you can install:
- python-dcop package on Debian
- libkdec1 on Mandrake
- kdebindings on RedHat - May 01 2005
what is the output when you launch it by hand?:
cd ~/.kde/share/apps/amarok/scripts/xulremote
./XulRemote.py - May 01 2005