DEFENDORe / pseudotv

Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.
MIT License
234 stars 36 forks source link

Update plex status to stopped in more situations. Code for resolution/codec normalization and alignment, but currently disabled by constants in ffmpeg.js #68

Closed vexorian closed 4 years ago

vexorian commented 4 years ago

This PR incluides a big refactor to ffmpeg.js to allow combining multiple filters depending on options and circumstances. This allows to introduce ideas like resolution or codec normalization and audio padding by pseudotv. In the future it will also allow error streams to replace missing videos when the video download from plex fails.

Also a minur fix for plex play status updater, this ensures manually stopping the stream or crashing also updates the play status.