Use IMDB Art For Video Thumbnails In Nautilus

Want your video thumbnails in nautilus or thunar to display their official artwork from imdb? Say hello to imdb-thumbnail!

Download

Grab the official .deb file from the imdb-thumbnail launchpad @ : -

Installation

Once you've grabbed the .deb do what comes natural and install it! 

Now comes the boring bit.

Configure

First off we need to let Nautilus know to use it.

  • imdb-thumbnailer –set-nautilus

Now we need to let the script know where you keep your videos: -

  • gedit ~/.imdb-thumbnailer/config

Now just add the path to where you keep your videos after: -

  • films_path[1]=

You can add as many paths as you like, just place separately afterthe “films_path[x]=” line. Like so: -

  • films_path[1]=/home/joey/Videos/Movies
  • films_path[2]=/home/joey/Videos/TV Shows
  • films_path[3]=/home/joey/Trailers/to be released

Examples
For example, if you keep your videos in your ~/Videos folder then you'd put: -

  • films_path[1]=/Home/Videos/

If you kept them on an external drive you may need to put something similar to this: -

  • films_path[1]=/usr/media/external\ drive/movies

Though it'd be far easier to simply create a 'link' to your movies folder and put it in your Home/Videos folder! In the above case this'd be as simple as then putting: -

  • films_path[1]=/Home/Videos/movies

Almost there!
Finally we need to edit one last file.

  • gedit ~/.bashrc

Paste the following at the very end of the file: -

  • alias imdb-up=’find /path/to/your/videos* -type f | while read -r line ; do imdb-thumbnailer -u “$line” ; done’

Sweeeeet!

Now you're done! You may need to logout and log back into for the script to start working and if it still doesn't it means you need to clean your thumbnail-cache!
imdb-thumbnailer in thunar

Related posts:

  1. OpenOffice File Thumbnails In Nautilus
Post a comment or leave a trackback: Trackback URL.
  • Anonymous

    Sweet.. i’ve been looking for this

  • Anonymous

    Thanks for this one as well :)

  • Anonymous

    do you know any way of making it give images to the files in the subfolders of the path?

    • http://omgubuntu.co.uk/ d0od

      You can add as many paths as you like in: –

      gedit ~/.imdb-thumbnailer/config

      Just put each after

      films_path[1]=
      films_path[2]=
      films_path[3]=
      films_path[4]=

      etc. I’ll update the post to mention this.

      • Anonymous

        i would prefer it to include the subfolders by default since movies are added and deleted from my collection all the time
        anyway , i will probably have them outside the subfolders to get the images

  • ItsBlueB

    Since adding the line to .bashrc I get an “error” whenever I open terminal.

    bash: /home/robert/.bashrc: line 101: unexpected EOF while looking for matching `”
    bash: /home/robert/.bashrc: line 102: syntax error: unexpected end of file

    What could be the cause? The thumbnails turn out fine, btw.

  • Mohan

    Wow…that is pretty cool!

  • http://biringa.com/ WindPower

    Is there such a thing for Dolphin (Kubuntu)?

  • Ben

    Sounds like a good reason for me to finally rename all of my movies to something nicer.

    Sweet :D

  • Anonymous

    Works like a charm!

    Great blog man! Keeps me up to date on all.

    • http://omgubuntu.co.uk/ d0od

      no problem! :D

  • Hannah

    I like the idea, but in practise it made my movie folder look much uglier than before. Can I turn this back? Will just uninstalling the thing make the icons go back to default?

    • http://omgubuntu.co.uk/ d0od

      Just uninstall it and then clear your thumbnail cache.

      • Hannah

        Thanks!