Skip to main content

Control the audacious media player.

Project description

Info
------------
Audman

A simple wsgi web page to control a running audacious media player process.

Audman uses the standard python wsgi module to mount a web app,
using mako templates, and
IPC over dbus to access a runnning audacious process

Manual
------------

1. Install virtualenv

$ virtualenv --system-site-package audman && source audman/bin/activate

3. Install this package

(audman)$ pip install audman

4. Run audman

(audman)$ runaudman
Audman: Audacious Audio Player Control listening on http://192.168.H.HHH:8051
5. Use audman
browse to http://192.168.H.HHH:8051, replacing 192.168.H.HHH with the actual
ip address printed on the console by the runaudman command.

Notes
------------

* alternate system install by wheel
./setup.py bdist_wheel
sudo pip install --no-index -v -v -v dist/audman-0.2.1-py2.py3-none-any.whl
runaudman

* adhoc source installation
./setup.py sdist
cp dist/audman-0.2.0.tar.gz ~
cd ~
tar ztvf audman-0.2.0.tar.gz
cd audman
./audws.py

* quick setup and test
./setup.py bdist_wheel
PYTHONPATH=dist/audman-0.2.1-py2.7.whl python -m audman.audws

* options
"runaudman -e" or "runaudman --enque" => default to enqueing rather than playing
"runaudman -p <port>" or "runaudman --port=<port>" => listen on specified port
"runaudman -l" or "runaudman --playlists_locked" => no playlist select options

* todo
- get the browsers to cache images files (even on meta refresh)
-? mute button
<button type="button" id="mute">Mute</button>
- apache fcgi integration; other wsgi adapters (dbus permissions)?
-? async controls ala ajax
-? tracklist scroll bars; reacting in real-time vie ajax?

* issues
- switching to view a second playlist in the audacious gui causes
audacious<=3.5 to report the wrong current track
- can other playlist be scrolled through without making them active?

** playlist selection
- could we list the names other playlists without making them active?
- could we list the names of tracks (or the complete "playlist-display")
in playlists without making them active?

Note that the icons are from
https://github.com/google/material-design-icons
a much appreciated resource.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audman-0.3.2.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

audman-0.3.2-py2.7.egg (34.3 kB view details)

Uploaded Source

File details

Details for the file audman-0.3.2.tar.gz.

File metadata

  • Download URL: audman-0.3.2.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for audman-0.3.2.tar.gz
Algorithm Hash digest
SHA256 79ab7498dd7c38b0f75aafe28f02381c5dcb4bc2341e6dc123257b384205655d
MD5 418c4e70b5ae308596fa910b07a19c5b
BLAKE2b-256 05208ae2ec841f10fa936673ed4ca415b7c24b29353858dcdad4dc2c596532ed

See more details on using hashes here.

File details

Details for the file audman-0.3.2-py2.7.egg.

File metadata

  • Download URL: audman-0.3.2-py2.7.egg
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for audman-0.3.2-py2.7.egg
Algorithm Hash digest
SHA256 4e1aa9fe75dc4b0b90d58ec7acb8fa0474bd57de18c74fd4272f4ac9866942dc
MD5 4112c6371d41e87382fa3079909e5941
BLAKE2b-256 9c26f85c413e8561bf77562c98306ab5552adb8958854936dc6d1b21f2479ad8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page