Webmentpyne is a simple web interface for [Clementine](http://www.clementine-player.org/about) player using [MPRIS2](http://specifications.freedesktop.org/mpris-spec/latest/) interface via [D-Bus](http://www.freedesktop.org/wiki/Software/dbus). It allows you to control Clementine (or maybe later on any other player supporting MPRIS2 via D-Bus - …
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
webmentpyne
.gitignore
README.md
requirements.pip
screenshot.png

README.md

Wha?

Webmentpyne is a simple web interface for Clementine player using MPRIS2 interface via D-Bus. It allows you to control Clementine (or maybe later on any other player supporting MPRIS2 via D-Bus - f.e. Rhythmbox, Banshe, Amarok...) from your browser. For now, it's being tested just against Clementine 1.0.1.

Motivation behind this "project" was to allow me control my Rasberry Pi based audio system with my cellphone or laptop. Nevertheless it could be used in zillion other cases.

It's just a simle webapp skeleton returning JSON now (the MPRIS2 wrapper needs some love too). I need to do all the HTML/CSS/JS mayhem to make it usable via browser. Just take a look:

screenshot

or fire up the app to check yourself:

starenka /tmp % git clone git://github.com/starenka/webmentpyne.git
Cloning into 'webmentpyne'...
remote: Counting objects: 176, done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 176 (delta 71), reused 124 (delta 19)
Receiving objects: 100% (176/176), 107.78 KiB, done.
Resolving deltas: 100% (71/71), done.
starenka /tmp % cd webmentpyne
starenka /tmp/webmentpyne % virtualenv .env
New python executable in .env/bin/python
Installing setuptools............done.
Installing pip...............done.
starenka /tmp/webmentpyne % source .env/bin/activate
(.env)starenka /tmp/webmentpyne % pip install -r requirements.pip
....... this will take a while ........
(.env)starenka /tmp/webmentpyne/webmentpyne % ./run.sh
2012-07-23 00:51:18 [26136] [INFO] Starting gunicorn 0.14.5
2012-07-23 00:51:18 [26136] [INFO] Listening at: http://0.0.0.0:5000 (26136)
2012-07-23 00:51:18 [26136] [INFO] Using worker: gevent
2012-07-23 00:51:18 [26139] [INFO] Booting worker with pid: 26139
2012-07-23 00:51:18 [26142] [INFO] Booting worker with pid: 26142
2012-07-23 00:51:18 [26141] [INFO] Booting worker with pid: 26141
2012-07-23 00:51:18 [26140] [INFO] Booting worker with pid: 26140
2012-07-23 00:51:18 [26143] [INFO] Booting worker with pid: 26143

I'd like to implement some Playlist and Tracklist features in the future. Feel free to help me out!