diff options
Diffstat (limited to 'libs/music/player.d/cgi-bin')
-rwxr-xr-x | libs/music/player.d/cgi-bin/m3u8.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/music/player.d/cgi-bin/m3u8.cgi b/libs/music/player.d/cgi-bin/m3u8.cgi index 7e14493..506ce0e 100755 --- a/libs/music/player.d/cgi-bin/m3u8.cgi +++ b/libs/music/player.d/cgi-bin/m3u8.cgi @@ -18,7 +18,7 @@ print('Content-type: audio/mpegurl',end='\r\n') print(end='\r\n') f.readline() try: - fmt=d['type'][0] if d['type'][0] in ['ogg','wav','flac'] else 'ogg' + fmt=d['type'][0] if d['type'][0] in ['ogg','flac','opus','m4a'] else 'ogg' except KeyError: fmt='ogg' for line in f: |