summaryrefslogtreecommitdiff
path: root/mediabrowser
diff options
context:
space:
mode:
Diffstat (limited to 'mediabrowser')
-rw-r--r--mediabrowser/__init__.py2
-rw-r--r--mediabrowser/ffmpeg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mediabrowser/__init__.py b/mediabrowser/__init__.py
index dc7aa16..824d7d8 100644
--- a/mediabrowser/__init__.py
+++ b/mediabrowser/__init__.py
@@ -96,7 +96,7 @@ def build(root_directory, cache):
@cached(cache=cache, keyfunc=lambda ospath: ospath)
def splittimes_cached(ospath):
- return list(ffmpeg.calculate_splittimes(ospath, 50))
+ return list(ffmpeg.calculate_splittimes(ospath, 60))
@cached(cache=cache, keyfunc=lambda path: "ffprobe_{}".format(path))
def ffprobe(path):
diff --git a/mediabrowser/ffmpeg.py b/mediabrowser/ffmpeg.py
index d132b24..816d546 100644
--- a/mediabrowser/ffmpeg.py
+++ b/mediabrowser/ffmpeg.py
@@ -103,7 +103,7 @@ def calculate_splittimes(ospath, chunk_duration):
"""
def calculate_points(media_duration):
- pos = min(20, media_duration)
+ pos = min(60, media_duration)
while pos < media_duration:
yield pos
pos += chunk_duration