https://github.com/petrushev/txplaya
Web based audio player build on Twisted
https://github.com/petrushev/txplaya
gui mediaplayer mediaplayer-api network-programming python qt qt5 twisted
Last synced: about 1 month ago
JSON representation
Web based audio player build on Twisted
- Host: GitHub
- URL: https://github.com/petrushev/txplaya
- Owner: petrushev
- License: gpl-3.0
- Created: 2015-12-11T00:48:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-01T11:47:47.000Z (over 9 years ago)
- Last Synced: 2025-05-17T18:37:10.507Z (about 1 year ago)
- Topics: gui, mediaplayer, mediaplayer-api, network-programming, python, qt, qt5, twisted
- Language: Python
- Size: 363 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
txplaya
=======
Web based audio player build on Twisted
Requirements
------------
* Server
- Twisted
- werkzeug
- mutagen
- pylast
* Qt client
- PyQt5
- werkzeug
- unidecode
Running server
--------------
Environment variables:
- TXPLAYA_LIBPATH - path to music library, multiple paths supported. default: ~/Music
- TXPLAYA_BIND_ADDRESS - http address, default: localhost
- TXPLAYA_PORT - http port, default: 8070
Optional:
- TXPLAYA_LASTFM_USER - lastfm credentials
- TXPLAYA_LASTFM_PASS
- TXPLAYA_LASTFM_KEY
- TXPLAYA_LASTFM_SECRET
Start:
.. code:: python
twistd -ny playaservice.py
Running GUI:
------------
Build resource, ui and translation files:
.. code:: python
./build.sh
Start:
.. code:: python
python playagui.py
Open browser location: ``http://localhost:8070/stream``
You can add tracks by drag-n-droping files from a file manager.