Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Program quit after 3-4 hours #6
I use PiFmRds with piping audio.
If You have free time, please test it.
Exactly the same issue here! Running the following command on a Raspberry Pi (1) Model B (rev2) board, while transmitting some shoutcast stream through sox piping (OS: Raspbian 'wheezy' & 'jessie'):
sox -t mp3 http://[stream.url]:8000 -t wav - | sudo ./pi_fm_rds -freq 96.0 -pi FFFF -ps PIRDS -rt 'PI RDS DEMO' -ctl pifm -audio -
Any hint on the reason for this to happen, and also, on how to possibly fix this, other than writing some script that 'reboots' pifmrds when it falls?
I resolved the "Cannot Rewind Terminating" bit.... Not sure on it's exact cause but it seems to be related to the internet (even on the LAN too for some reason) dropping out even just a smudge (or slowing down) and after so many hours it just decides to eventually give up on the stream, similar concept I suppose to how if you start 2 streams at once on a PC they will eventually come out of sync the longer you leave them running despite starting them at the same time....
My issue is now, the termination is still a clean one.No error, just clean, I have had an overrun one a few times but think that is just memory on the Pi itself.
I too am seeking something that restarts the code again to allow it to continue unsupervised, for example, when the code stops, simply hit the up arrow on your keyboard followed by enter and it will re-run fluently.
There is a fix here: #16 but I tried it with the modifications and now the program won't even start.
I have been assured that the program is not coded to quit so really not sure why it does this and really not sure why it can't pick itself up again....