Skip to content

Commit

Permalink
fix: sort playlist of playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoltzsche committed Mar 1, 2024
1 parent 52cd1cb commit 9f8ebfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/webm3u/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def playlist_index():
uri_format = request.args.get('uri-format')
root_dir = _playlist_dir()
playlists = glob.glob(os.path.join(root_dir, "**.m3u8"))
print(playlists)
playlists.sort()
q = ''
if uri_format:
q = f"?uri-format={quote_plus(uri_format)}"
Expand Down

0 comments on commit 9f8ebfe

Please sign in to comment.