Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
49c81f52
Commit
49c81f52
authored
Jul 23, 2018
by
Julian Rother
Browse files
Fixed live source thumbnails
parent
dbbfcbe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
livestreams.py
View file @
49c81f52
...
...
@@ -119,7 +119,7 @@ def streamdrop(id):
def
live_source_thumbnail
():
sources
=
query
(
'SELECT * FROM live_sources WHERE clientid IS NOT NULL'
)
for
source
in
sources
:
schedule_job
(
'thumbnail'
,
{
'src'
:
'rtmp://%s/src/%i'
%
(
source
[
'server'
],
source
[
'id'
]),
'filename'
:
's_%i.jpg'
%
source
[
'id'
]})
schedule_job
(
'thumbnail'
,
{
'src
url
'
:
'rtmp://%s/src/%i'
%
(
source
[
'server'
],
source
[
'id'
]),
'filename'
:
's_%i.jpg'
%
source
[
'id'
]})
@
app
.
route
(
'/internal/streaming/auth/<server>'
,
methods
=
[
'GET'
,
'POST'
])
def
streamauth
(
server
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment