mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 08:56:57 -05:00
Fix Streaming
This commit is contained in:
parent
c0acaa736e
commit
e9e0e40d78
@ -84,11 +84,11 @@ class fHDHR_HTTP_Server():
|
|||||||
def after_request(self, response):
|
def after_request(self, response):
|
||||||
|
|
||||||
# Close Tuner if it was in use, and did not close already
|
# Close Tuner if it was in use, and did not close already
|
||||||
if session["tuner_used"] is not None:
|
# if session["tuner_used"] is not None:
|
||||||
tuner = self.fhdhr.device.tuners.tuners[str(session["tuner_used"])]
|
# tuner = self.fhdhr.device.tuners.tuners[str(session["tuner_used"])]
|
||||||
if tuner.tuner_lock.locked():
|
# if tuner.tuner_lock.locked():
|
||||||
self.fhdhr.logger.info("Shutting down Tuner #" + str(session["tuner_used"]) + " after Request.")
|
# self.fhdhr.logger.info("Shutting down Tuner #" + str(session["tuner_used"]) + " after Request.")
|
||||||
tuner.close()
|
# tuner.close()
|
||||||
|
|
||||||
self.fhdhr.logger.debug("Client %s requested %s Closing" % (request.method, request.path))
|
self.fhdhr.logger.debug("Client %s requested %s Closing" % (request.method, request.path))
|
||||||
return response
|
return response
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user