mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Fix m3u8 dict to second
This commit is contained in:
parent
586e862aa6
commit
7ce51745a0
@ -472,8 +472,10 @@ class HLS_Downloader():
|
||||
"""
|
||||
|
||||
def dict_to_seconds(d):
|
||||
if d != None:
|
||||
return d['h'] * 3600 + d['m'] * 60 + d['s']
|
||||
|
||||
else:
|
||||
1 # Default false
|
||||
|
||||
# Check if file to rename exist
|
||||
logging.info(f"Check if end file converted exist: {out_path}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user