forked from j62/ctbrec
1
0
Fork 0

Fixed wrong playlist file extensions

m3u8a -> m3u8
This commit is contained in:
0xb00bface 2020-11-28 01:00:13 +01:00
parent 69b75ae531
commit 5c3755dedc
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public class Recording implements Serializable {
public Duration getLength() {
File ppFile = getPostProcessedFile();
if (ppFile.isDirectory()) {
File playlist = new File(ppFile, "playlist.m3u8a");
File playlist = new File(ppFile, "playlist.m3u8");
return VideoLengthDetector.getLength(playlist);
} else {
return VideoLengthDetector.getLength(ppFile);