Page 1 of 1

Help getting an episodeID from a tv show file

Posted: Sat Jan 26, 2019 7:19 pm
by luckdelli
How can I get the ID of an episode if I only have the video file with none metadata whatsoever? I've seen that there are some apps that do this but i can't figure out how they do it.

Thanks

Re: Help getting an episodeID from a tv show file

Posted: Fri Feb 15, 2019 4:08 pm
by badassrockett
What info do you have? When you say episode ID do you mean the episode ID from the database via the API or do you just mean Series X, Season Y Episode Z for example?

Re: Help getting an episodeID from a tv show file

Posted: Wed Mar 13, 2019 11:22 am
by mackworth
If you just have pure video, you can't get the metadata needed to find the episode. On the other hand, sometimes you can get enough metadata just from the name of the file, and certain formats (e.g. MP4) can have metadata embedded within, so you can use a video library (e.g. mp4v2https://github.com/TechSmith/mp4v2) to extract that information.