tgorgdotcom / locast2plex

A very simple script to connect locast to Plex's live tv/dvr feature.
MIT License
234 stars 43 forks source link

Network recovery issue #257

Open ThePianoMan2255 opened 3 years ago

ThePianoMan2255 commented 3 years ago

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.

rocky4546 commented 3 years ago

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.

ThePianoMan2255 commented 3 years ago

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

rocky4546 commented 3 years ago

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