07-27-2020, 11:26 AM
(07-22-2020, 09:30 PM)TheMetalHead Wrote:(07-22-2020, 08:04 AM)Russ K Wrote:(07-22-2020, 02:46 AM)Tim Curtis Wrote: I think you need to be asking @TheMetalHead. I'm not familiar with the RadioRecorder add-in.
Ooops sorry Tim and TheMetalHead. The RadioRecorder works for me but would like to have it be able to work from any IP addressed assigned by the networks DHCP.
Hello Russ
I should have considered the DHCP usage. I used a static IP on my installation.
Anyway, Kent @TheOldPresbyope has read the manual for me and nudged me in the right direction, I have changed the installer code to attach the php web server to any network interface.
A quick and dirty way to manually change this if the Radio Recorder is already installed is to edit the rc.local file and change the start up command IP address to:
/usr/bin/php -q -S 0.0.0.0:8080 -t /home/pi/RadioRecorder >/dev/null 2>&1
The above assumes 8080 is the port being used. Change as required and reboot.
A final note: it is possible that a software update of moOde may change the rc.local file in some way and render the Radio Recorder inoperative. If that happens, just run the installer again with the same parameters as the original install and reboot.
(07-25-2020, 07:20 PM)TheMetalHead Wrote: OK. Update to Russ K post, I can reproduce the problem with a fresh install of moOde v6.7.1 on a Pi-3B+ 1GB v1.3
I Installed the radio station recorder using ./Install-Radio-Station-Recorder.sh ~ 8080 ~ Recordings
When the end of the script displayed 'Import moOde radio stations [y/n] ?' I selected 'n' to not import moOdes radio stations.
Looking at the streams.txt file in RadioRecorder/res/ we see the stream recorder gui 4 default stations, the last of which has NO line feed character.
Now looking at the radio station recorder web page we get the 4 default stations in the list of streams.
To reproduce the disappearing station problem, add the new station (http://chronixaggression.com) to the list of streams:
Name of stream: ChroniX - AGGRESSION
URL: http://192.95.18.39:5784/stream
Additional Parameter: -k 0 -o always
Click 'Apply'. The station briefly appears and then disappears from the list of streams.
There are three work arounds:
1) Delete the four default stations from the list of streams and then add your station(s).
2) Run the 'Import-MoOde-Radio-Stations.sh' script to import moOdes radio stations.
3) Manually add a new line character to the end of the 'RadioRecorder/res/streams.txt' file. This is not recommended because the four default stations are not valid stations.
I will raise an issue on radiorecwebgui
Thanks Russ and glad its being usefull for you.
Thank you for looking into the glitch. Yeah, the workaround works. Will monitor next week if the repeat function works.
