mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-08-03 07:12:30 +00:00
Added tuners to api_views
This commit is contained in:
parent
1545870b41
commit
45573b9ca1
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ class DiscoverAPIView(APIView):
|
|||
"DeviceAuth": "test_auth_token",
|
||||
"BaseURL": base_url,
|
||||
"LineupURL": f"{base_url}/lineup.json",
|
||||
"TunerCount": "10",
|
||||
}
|
||||
else:
|
||||
data = {
|
||||
|
|
@ -67,6 +68,7 @@ class DiscoverAPIView(APIView):
|
|||
"DeviceAuth": "test_auth_token",
|
||||
"BaseURL": base_url,
|
||||
"LineupURL": f"{base_url}/lineup.json",
|
||||
"TunerCount": "10",
|
||||
}
|
||||
return JsonResponse(data)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue