Metadata-Version: 2.1
Name: eisenradio
Version: 1.0.1
Summary: Play radio. Style your App.
Home-page: 
Author: René Horn
Author-email: rene_horn@gmx.net
License: MIT License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Multimedia :: Sound/Audio :: Capture/Recording
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

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 the app with pictures, write a poem, song text, or a comment for your favorite picture to have a good time
 * create a shuffled playlist in seconds, directly in your gym or at work; no more tedious click orgies and then listen to it again ...
 * Eisenradio backend (server) opens the connection, buffers the incoming stream and redirect it to the browser; a proxy
 * Eisenradio 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 |-------> starFM
	     |o |------->   <-- |r |
	     |w |GhettoRecorder |v |-------> planetFM
	     |s |--->    <----- |e |
	     |e |               |r |-------> satteliteFM
	     |r |               |  |
         net: localhost     net: internet
         corsÂ²: accept      corsÂ²: deny
         audioNode: 1,-1    audioNode: 0, 0

        Â²Cross-Origin Resource Sharing mechanism (CORS) i.a. prevents Browser from analysing audio data 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


