-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (16) .- Knowledge Base (1) . 

WebUI

   0.36  

Amarok 2.0 Script

Score 84%
WebUI
zoom


WebUI
zoom


WebUI
zoom


Minimum required   KDE 4.x
Downloads:  1385
Submitted:  Oct 28 2009
Updated:  Jul 19 2013

Description:

This project isn't being maintained anymore. However, there is a fork which is under active development: http://kde-apps.org/content/show.php/Amarok+Apollo+WebUI?content=159671

Web interface for Amarok (2.x)

The current version is optimized for iPhone and at an early stage. Any sort of feedback/suggestion is appreciated!

After starting the script just open http://[ip-of-your-host-running-amarok]:8080/ in your iPhone Safari browser. If port 8080 is already in use change "PORT" in "$HOME/.kde/share/apps/amarok/scripts/amarok-webui/conf.js"). The default credentials are login=foo pw=bar67#. They can be changed in conf.js, too.

I tested the script with Amarok 2.2 on Debian unstable.

My current TODO list:
* Collection browsing.
* Manipulation of playlist [clear button is missing]
* Basic authentication (RFC2617) [digest auth?]
* Play/pause/stop/reload/vol up/down button images
* Make controls accessible from every view (modal dlg)
* Modify navigation in collection browsing for large collections (search dlg?)
* "Push" notifications (long polling?)
* Configuration UI




Changelog:

0.36 2010-1-11
    * Added config option to restrict access to a subnet.
* Fixed order of tracks when adding/setting an album to/as a playlist.

0.35 2009-11-9
    * Moved controls from the current-track-view to a modal dlg
which is accessible from _every_ view.
* Icon for the springboard/home screen on the iPhone.
* Smaller cover image in current-track-view.
* Minor bugfixes.

0.3 2009-11-5
    * Improved collection browsing:
Track list from an album
All tracks from an artist
* Playlist manipulation (accessible by collection browser)
Add album/all tracks from an artist to current playlist
Replace current playlist by album/all tracks from an artist
* New control buttons (play, pause, stop, reload, vol up/down)
* Code refactoring

0.2 2009-10-31
    * Added basic HTTP authentication
Since this doesn't really offer security on untrusted connections
digest authentication will probably be implemented soon.
The credentials currently are: login=foo passwd=bar67#
They can be changed in $HOME/.kde/share/apps/amarok/scripts/amarok-webui/conf.js
* Added collection browsing
Currently only the artists and their albums can be browsed.
Adding/replacing albums or songs from the collection to/in the
playlist will be added soon.
* Fixed error in debug message
* Code refactoring

0.1 2009-10-28
    * Initial Release




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from jwchile
Report inappropriate content



goto page:  1  2  3 

-
.

 Type error

 
 by ManInTheSun on: Oct 29 2009
 
Score 50%

amarok: SCRIPT "Amarok WebUI" : "TypeError: Type error"

When trying to connect to <ip>:<port> where WebUI is running.


Reply to this

-

 Re: Type error

 
 by ManInTheSun on: Oct 29 2009
 
Score 50%

Ok. I got it figured out:
Add .toString() to r[0] and r[1] in handlePendingRequests()'s debug.


Reply to this

-

 Re: Re: Type error

 
 by jwchile on: Oct 30 2009
 
Score 50%

Thanks a lot for your feedback!

Hm, I'm not getting this error but I will upload a version with your suggested change since it fixes your problem.

Could you maybe tell me what version of Amarok and Qt you are using? And in the line you are referring to a string is concatenated with an QAbstractSocket (r[0]) and a string (r[1]):
Quote:
Amarok.debug("Pending: Handling request (left: "+this.requestQueue.length+"): "+r[0]+" "+r[1]);

Since the leftmost argument already is a string (literal) I expected all the other arguments to be converted to a string automatically (as described in 11.6 in the ECMA spec http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf). But I'm relatively new to ECMA/JavaScript, so I'm glad if you/anyone can give me a hint.

Cheers,
Johannes


Reply to this

-

 Re: Re: Re: Type error

 
 by ManInTheSun on: Nov 2 2009
 
Score 50%

You are very welcome, Johannes. I'm glad I been able to help with this one.

I have Amarok 2.2.0 and Qt 4.5.2.

You are right about converting following objects to String when leftmost is a literal. It *should* behave so in JavaScript but I have never done scripting with Qt stuff -- Maybe it's objects behave different and need a direct call. (What looks like a bug to me.)


Reply to this

-

 Thanks!

 
 by patclay on: Oct 31 2009
 
Score 50%

I have been looking for something like this for ages. Now I can use it to control my mostly headless mp3 player from the next room.

Just one thing which is probably obvious in retrospect, but this script relies on having apache installed on the amarok machine.

The web pages look great on my wifes machine running chrome, not so pretty on my nix machine running firefox. But it works!


Reply to this

-

 Re: Thanks!

 
 by jwchile on: Oct 31 2009
 
Score 50%

I'm glad you like it:)

Quote:
[...] this script relies on having apache installed on the amarok machine.


Actually this is not a requirement. The webpages are delivered by a simple HTTP-Server whithin in the script.

Quote:
The web pages look great on my wifes machine running chrome, not so pretty on my nix machine running firefox. But it works!


So far I optimized the web pages for my own needs, the iPhone browser. Since Safari (iPhone) and Chrome both rely on WebKit it's not surprising that they look better on Chrome than Firefox. Once I implemented the major functionality I'll think about adding a "theme" which suits most desktop browsers.

Cheers,
Johannes


Reply to this

-

 Re: Re: Thanks!

 
 by patclay on: Nov 1 2009
 
Score 50%

Hmm, I have it figured out now.

I messed some other stuff up, and had to reinstall Xubuntu, but that gave me the opportunity to figure out what I really needed to do to make it work:
Install the script
Restart Amarok
Go back into Amarok and turn the script on.

Simple!


Reply to this

-

 Great

 
 by minatolf on: Oct 31 2009
 
Score 50%

This thing rocks! It wasn't fair for amarok not to have a remote application like many other music players had one (or more). The only thing I would like to be improved is, if i's possible of course, to include the iphone music player icons to play, pause, go next, etc. instead of the ones that are beeing used right now. Besides that, it really works flawlesslly so I can't complain at all.

Thanks.


Reply to this

-

 Re: Great

 
 by jwchile on: Nov 5 2009
 
Score 50%

Thanks for the feedback! In 0.3 I replaced the buttons as you suggested.

Johannes


Reply to this

-

 VERY good

 
 by foolosophy on: Dec 21 2009
 
Score 50%

I find this extremely useful.
Just one thing: am I stupid or there is no way to add just one track to the playlist? I sometimes don't want to add a whole album (in parties, for example).


Reply to this

-

 Re: VERY good

 
 by jwchile on: Jan 11 2010
 
Score 50%

Hi!

> VERY good
> I find this extremely useful.

Thanks!

> Just one thing: am I stupid or there is no way to
> add just one track to the playlist? I sometimes
> don't want to add a whole album (in parties, for
> example).

Yes, you are right. Currently there is now way to add one specific track. I thought it might be a little cumbersome populating a playlist track by track with this web interface. I'll think of adding it in the next release when I have time.

Cheers,
Johannes


Reply to this

-

 This is it....

 
 by trisr on: Jan 18 2010
 
Score 50%

This is the thing that I've been searching for. My pc is upstairs and to be able to control it from my phone is an absolute god send. All I wanted was play/pause, next, and volume. Anything else is just yummy icing on the cake.

I'm using a HTC magic running Android and it looks and runs fine.

Browsing the Collection is a bit slow and I'd be interested to see what it looks like when you get through your "TO DO" list. Still with 20000+ tracks I think I'll always put together a playlist on the pc rather that from the phone. Adding 1 song at a time as was suggested might be useful for the odd occasion when you want to show a friend a new song.

The ability to see and update ratings would be high on my list of features that I would love to see. I have really wanted to rate my collection but am not always at my computer when listening.

Again Thanks...

Tris


Reply to this

-

 Great Work

 
 by nhnFreespirit on: Jan 19 2010
 
Score 50%

This looks really nice, and Amarok has been lacking something like this.

One big issue that I have is that with the very latest Amarok from git master (what will become 2.2.3, I have not tested it with other versions) much of the info that is supposed to show just shows up as empty white boxes. For instance, when browsing the collection, artist and album names are fine, but all track names are missing, and in the "current track" view, everything except the album image is missing.


Reply to this

-

 Re: Great Work

 
 by jwchile on: Jan 23 2010
 
Score 50%

Hi Tris!

Thanks for the hint. Do you have any details regarding the 2.2.3 scripting API changes?

When I've some spare time I'll think of adding the rating feature.

Cheers,
Johannes


Reply to this

-

 Re: Re: Great Work

 
 by nhnFreespirit on: Jan 25 2010
 
Score 50%

Actually, it seems to be a browser specific issue.

It works in Chromium but not in firefox and, most importantly, on the N900 browser.


Reply to this

-
.

 Re: Re: Re: Great Work

 
 by kubista on: Feb 5 2010
 
Score 50%

I've experienced the same thing. Chrome works, Firefox doesn't. One more thing: is it possible to include (shoutcast)streams?


Reply to this

goto page:  1  2  3 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.