diff --git a/app/sound.py b/app/sound.py index 0d7fb86..1b5ab43 100644 --- a/app/sound.py +++ b/app/sound.py @@ -44,7 +44,7 @@ def downloadLimiter(): # Streams back the specified media back to the client @app.route('/stream//') -@limiter.limit(downloadLimiter, error_message='Rate Limit Hit') +@limiter.limit(downloadLimiter, lambda : 'global', error_message='Rate Limit Hit') def stream(service, mediaid): if service == 'youtube': if YouTubeAudio.isValid(mediaid):