Play radio. Style your App.
Project description
Web radio expandable collection
-
REST API app on blueprints and application factory of the flask framework, with SQLite database
-
organize your web radios, delete and update, backup and restore
-
style your app with pictures, import a poem, song text, or a funny comment to have a good time
-
create a shuffled playlist of local audio files in seconds, directly in your gym or at work
-
backend (server) opens the connection, buffers the incoming stream and presents it to the browser on internal net
-
frontend (browser) controls the backend, plays local audio, shows a spectrum analyser at your disposal
-
Android: download to mobile (link below .-apk), rename *WHL to *ZIP, extract with Android file manager
-
https://pypi.org/project/eisenradio-apk/ , uses Python Kivy library for multi-touch on start-up
https://pypi.org/project/Kivy/#files
""" sketch """ |B | |S | Flask web server, Header[Werkzeug/2.0.2 Python/3.10.1] |r |listen |e |-------> starRadio |o |-------> <-- |r | |w |GhettoRecorder |v |-------> planetRadio |s |---> <----- |e | |e | |r |-------> satteliteRadio |r | | | net: localhost net: internet CORS: accept CORS: deny audioNode: 1,-1 audioNode: 0, 0 JavaScript,CSS Python, SQL
Cross-Origin Resource Sharing mechanism (CORS) i.a. prevents Browser from analysing audio from internet
pip install
""" xxs Linux xxs """
$ pip3 install eisenradio
$ python3 -m eisenradio.wsgi # watch flask
""" xxm Windows xxm """
> pip install eisenradio
> python -m eisenradio.wsgi
""" xxl big company xxl """
$$$ pip3 install eisenradio
$$$ python3 -m eisenradio.app # serve flask
""" for the sake of completeness, a python
production server 'waitress' is started """
Pytest
~ ... /test/functional$ python3 -m pytest -s # -s print to console
find the modified test db in ./app_writable/db
Uninstall
Python user:
- find module location
- uninstall and then remove remnants
$ pip3 show eisenradio
$ pip3 uninstall eisenradio
Location: ... /python310/site-packages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for eisenradio-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5653ec477811f3183ee40d3ffdae007523408a9e9f8cef64ba69c6b5a96001f |
|
MD5 | ddac7b88ddb2950de4276d4d0fc0bf17 |
|
BLAKE2b-256 | 23b0a5712c97a0a7b22956ced73d57a0ce0e34561516d2454e5dfcf2dc398383 |