Skip to content

Commit

Permalink
Release v2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hyugogirubato committed Jun 6, 2023
1 parent c0d325e commit 12e3893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pydash2hls/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .converter import *
from .converter import Converter

__version__ = "2.1.4"
4 changes: 2 additions & 2 deletions pydash2hls/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _existing_profile(self, profile_id: str) -> Optional[int]:
return None

def _manifest_profiles(self) -> None:
source = self.mdp_url
source = None if self.mdp_url is None else "/".join(self.mdp_url.split("/")[:-1])

# Period
periods = self.mdp_dict["MPD"]["Period"]
Expand Down Expand Up @@ -216,7 +216,7 @@ def build_hls(self, profile_id: str, licence: str = None) -> str:
"#EXT-X-VERSION:6",
f"#EXT-X-MEDIA-SEQUENCE:{sequence}",
f"#EXT-X-TARGETDURATION:{duration}",
"#EXT-X-PLAYLIST-TYPE:VOD"
"#EXT-X-PLAYLIST-TYPE:VOD",
"#EXT-X-ALLOW-CACHE:YES",
]

Expand Down

0 comments on commit 12e3893

Please sign in to comment.