locast2plex icon indicating copy to clipboard operation
locast2plex copied to clipboard

Network recovery issue

Open ThePianoMan2255 opened this issue 3 years ago • 3 comments

This issue happens on windows but I’m sure it happens on other operating systems. When I reboot my router or we have a network outage, the program / script loses connection and when internet returns I have to actually restart the script in order to return service.

It’s a bit pick issue, however it would be nice if it recovered its self and continued on. Let me know if this is possible, or maybe something I need to live with.

Thanks for your work.

ThePianoMan2255 avatar May 11 '21 02:05 ThePianoMan2255

You have an interesting issue and I am curious if it is your network or locast2plex. I have a refactored version of locast2plex and would like you to try and see if it happens with that version. It is located at https://github.com/rocky4546/tvheadend-locast/releases/. The Wiki has most of the instructions you should need. In general, I would agree that the script should not need to be restarted in order to play something; however, whatever it is currently playing should terminate.

rocky4546 avatar May 11 '21 20:05 rocky4546

Does your version still have the every other second buffer issue ?

ThePianoMan2255 avatar May 12 '21 10:05 ThePianoMan2255

By removing the dependency on ffmpeg, it may have removed the buffering issue as well as reduced the CPU usage.

rocky4546 avatar May 12 '21 11:05 rocky4546