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.