diff --git a/livestreams.py b/livestreams.py index 36efddda6e4129661ee0268e535ab60ede1a9e84..8421d41522d682314b86919704c912858606e008 100644 --- a/livestreams.py +++ b/livestreams.py @@ -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):