
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
httpremote_amarok serves as a remote control and status display
based on a web browser. The browser may run on the same
machine as amaroK, on another desktop machine or - which
makes most sense - on a smart phone/PDA/web tablet/...
connected via wireless network interface (e.g. Bluetooth, WLAN,
or IrDA).
14 years ago
* Version 0.0.1 (26-03-2006)
- Initial Release
* Version 0.0.2 (27-03-2006)
- Added playlist display and title selection from playlist
* Version 0.0.3 (02-04-2006)
- Added configuration GUI
- Re-implemented playlist handling with DCOP::Amarok::Playlist
* Version 0.0.4 (09-04-2006)
- Added context page
- Added link to current title on playlist page
* Version 0.0.5 (10-04-2006)
- Fixed "address already in use" issue - now you should get an error only
if the address/port pair really is already used (and not if the connection
is just waiting to close).
* Version 0.0.6 (15-04-2006)
- Improved and extended configuration GUI
- Fixed "togglebox:"/"album:" links on the context page
* Version 0.0.7 (19-10-2006)
- Fixed generation of empty playlist page due to <item disabled="true" ...> in playlist XML file
- Cleaned up generated HTML code
* Version 0.0.8 (27-12-2006)
- Fixed syntax in Perl/Tk GUI
14 years ago
* Version 0.0.1 (26-03-2006)
- Initial Release
* Version 0.0.2 (27-03-2006)
- Added playlist display and title selection from playlist
* Version 0.0.3 (02-04-2006)
- Added configuration GUI
- Re-implemented playlist handling with DCOP::Amarok::Playlist
* Version 0.0.4 (09-04-2006)
- Added context page
- Added link to current title on playlist page
* Version 0.0.5 (10-04-2006)
- Fixed "address already in use" issue - now you should get an error only
if the address/port pair really is already used (and not if the connection
is just waiting to close).
* Version 0.0.6 (15-04-2006)
- Improved and extended configuration GUI
- Fixed "togglebox:"/"album:" links on the context page
* Version 0.0.7 (19-10-2006)
- Fixed generation of empty playlist page due to <item disabled="true" ...> in playlist XML file
- Cleaned up generated HTML code
* Version 0.0.8 (27-12-2006)
- Fixed syntax in Perl/Tk GUI
kdawg
13 years ago
Can't locate object method "run" via package "DCOP::Amarok::Playlist" at /usr/local/share/perl/5.8.7/DCOP/Amarok/Playlist.pm line 106.
Any help would be much appreciated
Report
Drifter
14 years ago
I installed below modules...
DCOP-0.036.tar.gz
DCOP-Amarok-0.035.tar.gz
DCOP-Amarok-Player-0.036.tar.gz
But I am getting this error when I type "perl httpremote_amarok.pl"
Can't locate DCOP/Amarok/Playlist.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl .) at httpremote_amarok.pl line 32.
BEGIN failed--compilation aborted at httpremote_amarok.pl line 32.
I tried to install "DCOP-Amarok-Playlist-0.007.tar.gz"
But there I get this error,
Writing Makefile for DCOP::Amarok::Playlist
cp ._Playlist.pm blib/lib/DCOP/Amarok/._Playlist.pm
cp Playlist.pm blib/lib/DCOP/Amarok/Playlist.pm
Manifying blib/man3/DCOP::Amarok::Playlist.3pm
/usr/bin/perl5.8.7 "-Iblib/arch" "-Iblib/lib" ._Makefile.PL ._Makefile
Unrecognized character \x05 at ._Makefile.PL line 1.
make: *** [._Makefile] Error 255
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Thanks...
Report
ninkasi
13 years ago
1. tar -xzf the file
2. do a "make Makefile.PL"
3. edit Makefile and modify all references to ._Makefile.PL to Makefile.PL
4. do a "make"
5. repeat step 3
6. do a "make install"
Report
mprinke
14 years ago
Report
mone
14 years ago
find . -name '._*' -exec /bin/rm {} \;
worked for me on kubuntu 6.10
(found here: http://lists.rawmode.org/pipermail/dbix-class/2005-August/000110.html )
Report
N7DR
14 years ago
Now that it's running, there seems to be one problem.
When I click the "Playlist" link, the page that is shown is more or less empty. Certainly it does not show the playlist.
(If I try to include the source code for the page in this message, unfortunately the forum software mangles it.)
If I hit the "Currently Playing" link on that page, then nothing happens at all.
The only links visible are the "Back" link (twice) and the "Currently Playing" link (which does nothing).
Report
mprinke
14 years ago
As a workaround until an update of this script is ready, please comment out lines 431...433 in httpremote_amarok.pl:
#if (defined($item->{disabled}) && ($item->{disabled} eq "true")) {
# last;
#}
The link "Currently Playing" lets you jump to the title currently playing - this is useful if you have scrolled up or down in a long playlist.
Report
mprinke
14 years ago
Report
N7DR
14 years ago
Running Kubuntu 6.06-1 I am getting this error when I try to run this script:
Can't locate DCOP/Amarok/Player.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/n7dr/.kde/share/apps/amarok/scripts/httpremote_amarok/httpremote_amarok.pl line 31.
BEGIN failed--compilation aborted at /home/n7dr/.kde/share/apps/amarok/scripts/httpremote_amarok/httpremote_amarok.pl line 31.
Report
Bradger
14 years ago
Report
mprinke
14 years ago
for details.
Report
bugmenot
14 years ago
The mysql part should be simple, and then just make them all links to the command for amarok to add to the playlist "amarok -a" I would assume that the perl module already has this.
I will atempt to chagne some this code... I'll take a quick crash course in perl, by following your code.
ALSO as a side note, I had to manually downlaod and compile the 0.006 verion of DCOP::Amarok::Playlist to get it to work.
Report
mprinke
14 years ago
- which device
- which browser
- what kind of network interface
do you use?
Report
paleo
14 years ago
Report
mprinke
14 years ago
Enjoy!
Report
BCMM
14 years ago
If so, it would be a very cool feature.
Report
markey
14 years ago
Report
mprinke
14 years ago
Now I checked it more thoroughly. The page is rendered perfectly by Mozilla and even with the Palm's Web Pro the result is not too bad (checked by copying the files to SD card). To get the links to the songs working could be a little tricky.
I think I will give it a try, but it might take a while.
Report
BCMM
14 years ago
BTW, how do you get the sidebar HTML in a script? Is it a temporary file somewhere or some other method? I'd be interested to see what it looks like.
Report
zaventhii
14 years ago
Amarok.pm line 16:
my $self = $class->SUPER::new(%params, target => "amarok" );
I installed the required perl modules via cpan...
Report
karlheinz
14 years ago
Do you know also the scripts wabarok and jukebox here on kde-apps.org? Wabarok only streams music and jukebox doesn't work with recent amarok versions anymore. You could also look at wabarok and extend it to make a nice remote for amarok (hopefully I will soon revive my simpad).
For gentooers out there, the needed perl modules can easily be installed via the g-cpan package in portage.
With dev-perl/libwww-perl and dcopperl emerged the script exited with an error, these 2 packages would provide some of the needed perl modules and probably there are some sort of version problems.
Bye, Val.
Report
mprinke
14 years ago
Report
mprinke
14 years ago
thanks for the hints. However, the hardcoded dcop path is in the perl
DCOP module and not in this amarokscript! I had the same problem on SuSE 9.2 (and created a link, too).
With the last update, dcop is used directly (without the perl wrappers) in a few places, because the playlist commands are not implemented yet ( DCOP::Amarok::Playlist does not exist yet).
Maybe somebody could change the path and add support for the features currently missing. Or should we just call dcop directly? I don't know...
Report