Help getting an episodeID from a tv show file

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Post Reply
luckdelli
Posts: 1
Joined: Sat Jan 26, 2019 7:14 pm

Sat Jan 26, 2019 7:19 pm

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
badassrockett
Posts: 5
Joined: Sun Dec 16, 2018 10:01 am

Fri Feb 15, 2019 4:08 pm

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?
mackworth
Posts: 30
Joined: Sun Jun 02, 2013 6:36 pm

Wed Mar 13, 2019 11:22 am

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.
Post Reply