mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 08:46:58 -05:00
use session id as stream client id
This commit is contained in:
parent
887b60b80d
commit
fb1f5f2324
@ -1,6 +1,5 @@
|
|||||||
from flask import Response, request, redirect, abort, stream_with_context, session
|
from flask import Response, request, redirect, abort, stream_with_context, session
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import uuid
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from fHDHR.exceptions import TunerError
|
from fHDHR.exceptions import TunerError
|
||||||
@ -75,7 +74,7 @@ class Tuners():
|
|||||||
"transcode": transcode,
|
"transcode": transcode,
|
||||||
"accessed": accessed_url,
|
"accessed": accessed_url,
|
||||||
"client": client_address,
|
"client": client_address,
|
||||||
"client_id": "%s_%s" % (client_address, uuid.uuid4())
|
"client_id": session["session_id"]
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user