...
 
Commits (2)
......@@ -42,7 +42,8 @@ def get_sources_list(source_stream):
if 'addTo' in path.query:
playlist_name = path.query['addTo']
playlist = list(filter(lambda a: type(a) == str, new_source.assets))
random.shuffle(playlist)
if 'shuffle' in path.query:
random.shuffle(playlist)
new_source.assets[playlist_name] = playlist
all_sources.append(new_source)
......