git-developer / autosuspend

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

Implement Digest Authentication #24

Closed CV8R closed 2 years ago

CV8R commented 2 years ago

Just upgraded to tvheadend v4.3 and ran into authentication issues. Found I needed to change to digest+plain authentication. Would be nice to remove the dependency on plain and have digest implemented.

git-developer commented 2 years ago

Thanks for your feedback.

Please check if branch feature/auth-digest meets your requirement. In this branch, autosuspends supports a new configuration variable TVHEADEND_CURL_OPTIONS for custom curl options. You could try the following line in your configuration:

TVHEADEND_CURL_OPTIONS=--digest

git-developer commented 2 years ago

I'm looking forward to your feedback, @CV8R.

CV8R commented 2 years ago

@git-developer I'll feedback for sure. Unfortunately the day job has got in the way so won't be able to look at it for a few of days.

git-developer commented 2 years ago

Any updates, @CV8R?

CV8R commented 2 years ago

Hi @git-developer, apologies for the delay. I had the chance to install it yesterday. It appears to be working but its a bit too early to confirm. Is there a test I can run to ensure that it is logging in and reading the guide?

git-developer commented 2 years ago

You could schedule a record that starts within the next TVHEADEND_IDLE_MINUTES_BEFORE_RECORDING minutes, logoff and watch of the server is shutting down.

CV8R commented 2 years ago

Looks like its working. I can see the Next activity in the syslog. It is sleeping, not sleeping during records and waking. Sorted - thank you!

git-developer commented 2 years ago

You're welcome!