Created unit tests for check_streams
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m5s
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m5s
This commit is contained in:
@@ -66,6 +66,8 @@ class StreamValidator:
|
||||
"application/octet-stream",
|
||||
"application/x-mpegURL",
|
||||
]
|
||||
if content_type is None:
|
||||
return False
|
||||
return any(ct in content_type for ct in valid_types)
|
||||
|
||||
def parse_playlist(self, file_path):
|
||||
|
||||
Reference in New Issue
Block a user