<p>After some research, I discover this <a href="https://stackoverflow.com/questions/1966503/does-imdb-provide-an-api">post</a>.</p>

<p>So far the API for <a href="http://www.omdbapi.com" rel="nofollow noreferrer">http://www.omdbapi.com</a> has proven to be exactly what I wanted. For completeness, I found those command line tools helpful:</p>

<ul>
<li><a href="https://github.com/xbgmsharp/allocine" rel="nofollow noreferrer">https://github.com/xbgmsharp/allocine</a></li>
<li><a href="https://github.com/bgr/imdb-cli" rel="nofollow noreferrer">https://github.com/bgr/imdb-cli</a></li>
</ul>

<p>And on debian:</p>

<pre><code>$ sudo apt-get install python-imdbp
</code></pre>

CC BY-SA 3.0
2015-04-08T09:20:02.840Z
2015-04-08T10:21:24.410Z
2017-05-23T12:40:36.170Z
malat
<p>I am looking for an open-source solution for automatically pulling films/TV shows informations. I've found MetaX (Windows only) and Subler (MacOSX only) from a post <a href="https://apple.stackexchange.com/questions/91790/adding-metadata-for-films-tv-shows-in-itunes">here</a>. Apparently metadata sources can be found from: TVDB, TheMovieDB, Amazon, and tagChimp, as well as IMDB, ref <a href="http://www.danhinsley.com/" rel="nofollow noreferrer">here</a>.</p>

<p>I know I can use <a href="http://gpac.wp.mines-telecom.fr/mp4box/" rel="nofollow noreferrer">MP4Box</a> (or libav/ffmpeg) to easily add metadata (including Cover Art), but really what I would like is a script and/or GUI to easily <strong>retrieve</strong> metadata (plot summary, cast and crew, genre, release data, Cover Art as JPEG...).</p>

<p>Some people suggested using <a href="http://www.tweaking4all.com/home-theatre/adding-movie-information-metadata-to-mp4-m4v/#linux_vlc" rel="nofollow noreferrer">VLC</a> on Linux. But I cannot get anything to work over here (using debian/jessie amd64). Neither the <em>“Download Cover Art”</em>, nor the <em>“Add Cover Art”</em> seems to work.</p>

<p><img src="https://i.sstatic.net/ciiFR.png" alt="VLC Screenshot"></p>

<p>The first one does nothing, the second one print this on the console:</p>

<pre><code>[00007f3fc4567d38] taglib meta writer error: File /tmp/big_buck_bunny_480p_h264.mov can't be opened for tag writing
</code></pre>

<p>Bonus point: if this could be integrated to <a href="https://handbrake.fr/" rel="nofollow noreferrer">Handbrake</a>, that would be awesome.</p>

CC BY-SA 3.0
2015-04-04T19:32:14.747Z
Do you have any sources that can be used to pull these informations in an automated manner? [ffmpeg can handle metadata](https://www.ffmpeg.org/ffmpeg-all.html#Metadata-1)
sebix
<mp4><linux><handbrake>
Adding metadata for films/TV shows on Linux
malat
# Adding metadata for films/TV shows on Linux

(Asked by: username_0 on 2015-04-04)

I am looking for an open-source solution for automatically pulling films/TV shows informations. I've found MetaX (Windows only) and Subler (MacOSX only) from a post here. Apparently metadata sources can be found from: TVDB, TheMovieDB, Amazon, and tagChimp, as well as IMDB, ref here.
I know I can use MP4Box (or libav/ffmpeg) to easily add metadata (including Cover Art), but really what I would like is a script and/or GUI to easily retrieve metadata (plot summary, cast and crew, genre, release data, Cover Art as JPEG...).
Some people suggested using VLC on Linux. But I cannot get anything to work over here (using debian/jessie amd64). Neither the “Download Cover Art”, nor the “Add Cover Art” seems to work.

The first one does nothing, the second one print this on the console:
[00007f3fc4567d38] taglib meta writer error: File /tmp/big_buck_bunny_480p_h264.mov can't be opened for tag writing

Bonus point: if this could be integrated to Handbrake, that would be awesome.

**Tags:** mp4, linux, handbrake

> **Comments:**
> **username_1**: Do you have any sources that can be used to pull these informations in an automated manner? [ffmpeg can handle metadata](https://www.ffmpeg.org/ffmpeg-all.html#Metadata-1)  

---

## 1 answers

### Answer by username_0 on 2015-04-08. Score: 3 | Accepted answer

After some research, I discover this post.
So far the API for http://www.omdbapi.com has proven to be exactly what I wanted. For completeness, I found those command line tools helpful:

https://github.com/xbgmsharp/allocine
https://github.com/bgr/imdb-cli

And on debian:
$ sudo apt-get install python-imdbp


---

