-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
It's been a while since I dug into this project (just haven't been following any podcasts these days), but with a recent update over mimetypes a thought popped in my mind.
I figured I'd add it here since I'm in no state to set up and test myself right now.
Perhaps use either a split("/") or str.startswith() to test the first half of the mimetype only.
As all mimetypes podfox works with are either audio or video types, this would save managing the subtypes in a list.
Possible code around line 195:
if hasattr(link, 'type') and (link.type.split("/")[0] in ("audio", "video")):
If nothing else, it's something I'm sure someone can bang their head against and come up with a solution to
Metadata
Metadata
Assignees
Labels
No labels