Commit 49c81f52 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed live source thumbnails

parent dbbfcbe2
......@@ -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', {'srcurl': '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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment