git-developer / autosuspend

AutoSuspend-Script for Tvheadend on Linux
GNU General Public License v3.0
7 stars 9 forks source link

Improved error handling for API calls to tvheadend #17

Closed bnebenda closed 4 years ago

bnebenda commented 4 years ago

The API of tvheadend is querried using curl calls. Only exit code 28 was handled in the past. Now the function logs all error to syslog and does not crash if other errors occur.