forked from j62/ctbrec
parent
69b75ae531
commit
5c3755dedc
|
@ -211,7 +211,7 @@ public class Recording implements Serializable {
|
||||||
public Duration getLength() {
|
public Duration getLength() {
|
||||||
File ppFile = getPostProcessedFile();
|
File ppFile = getPostProcessedFile();
|
||||||
if (ppFile.isDirectory()) {
|
if (ppFile.isDirectory()) {
|
||||||
File playlist = new File(ppFile, "playlist.m3u8a");
|
File playlist = new File(ppFile, "playlist.m3u8");
|
||||||
return VideoLengthDetector.getLength(playlist);
|
return VideoLengthDetector.getLength(playlist);
|
||||||
} else {
|
} else {
|
||||||
return VideoLengthDetector.getLength(ppFile);
|
return VideoLengthDetector.getLength(ppFile);
|
||||||
|
|
Loading…
Reference in New Issue