You can also run the script from Zynthian directly. Install the files into your Zynthian and SSH to the puredata directory where you installed iNetRadio an run the script from there.
In my case, it is as follows:
# cd /zynthian/zynthian-my-data/presets/puredata/generative/iNetRadio/
# ./setup.py
Edit: File re-uploaded. Some timing issues solved, and active play/stop state is now persistent when changing stations.
this is the help-screen for setup.py:
usage: setup.py [-h] [-n N] [-d N] [-a] [-s] [-p] [-v] [stationsfile]
Deploy Radiostations for Zynthian's iNetRadio PD-patch.
positional arguments:
stationsfile text-file containing the station names and stream
URL's to be deployed. (default=radiostations.txt)
optional arguments:
-h, --help show this help message and exit
-n N, --stations N number of station slots to deploy
-d N, --defaultstation N
station-number to load on startup
-a, --altprefix alternative station prefix (default="[NUM]",
alternative="NUM:")
-s, --speed enable speed control
-p, --preview stations preview only. Does not write out any files
-v, --verbose print internals
I have added my internet radio player to chain manager branch so it should be available in the next release. I will look at what has been done here to see what can be integrated, particularly methods to configure stations.
Yeahhh! You are fantastic testers!!
Always find the issue in the extreme usage!! I love it!!
It seems current radio implementation should be one of the “single chain” processors.
Of course, some of you would like to have several ones running at once, and i understand the motivations, so try to convince the radio engine developers to improve the current implementation
I just building my (third) zynthian box and one of them plays local Retro FM station in the background. I thought of changing the station without much hassle…
It should be possible to change station with MIDI program change. This may require savings different ZS3. I think there is an option to direct PC at presets directly but it may be global so not necessarily desirable.
Add a bug report to the issue tracker for the replay problem and I’m sure the “radio engine developer” will take a look.