Greyhound

Amarok 1.x Scripts

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

0
Score 50.0%
Description:

[size=3]Web-based control just got a makeover.[/size]

Introducing Greyhound: the new remote control interface that turns your Amarok-equipped computer into a full-fledged media server.

* Supports Amarok through the DCOP interface
* Fully loaded AJAX-based interface
* Ability to allow or disallow playback control
* Displays album artwork
* Includes iPhone®-friendly interface
* Written in pure PHP
* No external web server required
* Supports username/password authentication
* Free and open source

Greyhound is better than existing web control scripts because you can seek between songs, you don't have to reload the page every two minutes, and it's compatible with Apple's handheld devices and other devices that support meta viewports.

*** Before downloading or installing Greyhound please read the system requirements: http://greyhound.enanocms.org/requirements. ***
Last changelog:

10 years ago

[size=2]New! Version 0.1a4[/size]

* Added support for Avahi (publishes the service on the local network with MDNS) (for developers, the service name is _greyhound._tcp)
* Added authentication support
* Added graphical configuration
* Added IPv6 support
* Added JSON login API
* Fixed a number of webserver performance issues
* Abstracted some backend functions (multithreading simulation, IPC, etc., nothing interesting)
* Added ability to set the volume manually (press the "v" key in the playlist window)

[size=2]Version 0.1a3[/size]

* System requirements checks are more aggressive and cover more required components (for example I forgot SimpleXML)
* Fixed control characters (for colored output) being visible in amarok's dumb terminal window
* Playlist should now update in the browser within about a minute or two of a change to amarok's real playlist
* Home directory is no longer detected; greyhound relies on amarok's saveCurrentPlaylist function

All changes go into Mercurial, see the changelog at http://hg.enanocms.org/cgi-bin/hgweb.cgi/greyhound/shortlog.

svetlinko1

10 years ago

Very good work
but
why if is open in some http client
and amarok server has closed .
Greyhont scrips has crashed .
when i start amarok again
greyhound is stopped
And to start it again I download
amarok desktop app via ssh .....
, that is only problem
which i have

sorry for my English

Report

franek

10 years ago

I have installed php5-cli

[Greyhound] Starting Greyhound Web Control v0.1a4
[Greyhound] loading files
[Greyhound] initializing Services_JSON
[Greyhound] reloading the config
[Greyhound] doing PHP capabilities check
[Greyhound] initializing playlist
[Greyhound] Rebuilding playlist cache

how can I fix this?
THX :)

Report

C

danfuhry

10 years ago

I assume this is Ubuntu Hardy you're using. Are you trying to run Greyhound on Amarok 2.0? It won't work unless you're running 1.4. The Amarok developers radically changed the API with the removal of DCOP in 2.0, and not all of the features Greyhound needs are available via D-Bus yet.

From the website:
> Greyhound doesn't work on Amarok 2.0 yet. Do not try to run Greyhound under Amarok 2.0, it will not work. This is because in Amarok 2.0, DCOP was replaced with DBUS (along with the rest of KDE4). I'm working on adding Amarok 2.0 support, but there are a few hurdles to jump over (read: a saveCurrentPlaylist equivalent).

Report

franek

10 years ago

It is not, I have Amarok 1.4.10. Amarok 2.0 is bad;)

Report

C

danfuhry

10 years ago

Could I refer you to the forum (http://forum.enanocms.org/forum/8/)? It's a bit easier to keep track of things from there.

Can you tell me what version of Ubuntu you're using including architecture (i386, amd64, etc.)? That will help narrow things down a little bit.

Report

C

danfuhry

10 years ago

s/Hardy/Intrepid/ (I'm slow tonight, sorry)

Report

skaar

11 years ago

at home directory detection:
[32;1m[Greyhound] [32;0mStarting Greyhound Web Control v0.1a1 [0m
[32;1m[Greyhound] [32;0mloading files [0m
[32;1m[Greyhound] [32;0minitializing Services_JSON [0m
[32;1m[Greyhound] [32;0mdoing home directory detection [0m
[31;1m[Greyhound] fatal: [37;1mCould not get your home directory [0m

Report

skaar

11 years ago

ok, clear? not too much, installed from the script manager, no requirements listed that i could see, no matter, tomorrow i'll see if i can fixit.

Report

C

danfuhry

11 years ago

I just released a new version in response to the number of bug reports that have come in since the initial release. You might want to see if this version works for you. Thanks for the feedback :)

--Dan

Report

C

danfuhry

11 years ago

OK, that's fair for a program that's at alpha 2. I'm working on a fix that removes the requirement to detect your home directory, because I got a tip from someone in #amarok who said that your amarok settings aren't even always in ~/.kde/share/apps/amarok. Since playlist/saveCurrentPlaylist gives you a path to work with, the future revisions will work based off of that path.

In the mean time, I'd try running greyhound from the command line. Start up Amarok, then open a terminal and type:

cd ~/.kde/share/apps/amarok/scripts/greyhound
php greyhound.php

Watch the output - it might show something that Amarok doesn't show (since PHP prints errors and warnings to stderr). If you get the same error, just watch for alpha 3 - I'll try and get it released in the next day or two based on the bug reports that have come in.

Oh, and your system requirements: http://greyhound.enanocms.org/requirements

--Dan (the developer)

Report

10 years ago

[size=2]New! Version 0.1a4[/size]

* Added support for Avahi (publishes the service on the local network with MDNS) (for developers, the service name is _greyhound._tcp)
* Added authentication support
* Added graphical configuration
* Added IPv6 support
* Added JSON login API
* Fixed a number of webserver performance issues
* Abstracted some backend functions (multithreading simulation, IPC, etc., nothing interesting)
* Added ability to set the volume manually (press the "v" key in the playlist window)

[size=2]Version 0.1a3[/size]

* System requirements checks are more aggressive and cover more required components (for example I forgot SimpleXML)
* Fixed control characters (for colored output) being visible in amarok's dumb terminal window
* Playlist should now update in the browser within about a minute or two of a change to amarok's real playlist
* Home directory is no longer detected; greyhound relies on amarok's saveCurrentPlaylist function

All changes go into Mercurial, see the changelog at http://hg.enanocms.org/cgi-bin/hgweb.cgi/greyhound/shortlog.

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1 alpha 4
updated Dec 23 2008
added Aug 06 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags addon