That being said, here's what you need to do:
1. For this trick, we will use imdb-thumbnail, a package available in both rpm (Fedora, Red Hat, etc) and .deb (Ubuntu, Debian, etc) packages. If you don't use one of these distributions, there is also the tar.bz2 package. Download the package suited for your distro from these links and install it.
2. Now, let's configure it. Open a terminal and:
a) If you use Nautilus:
b) If you use Thunar:
3. We also need to edit some config files. Run the following command:
And change the contents like so:
Replacing /path/to/your/movies and so on, with the exact path to the folder where you keep your movies. You can add as many lines as you want, but remember to increase the numbere between the brackets with each line.
4. Finally, the last file we need to edit:
And paste this at the end of the file:
Again, replace /path/to/your/movies/ with the exact path to your movies folder.
[Credits: elsoftwarelibre, bitelia]
a) If you use Nautilus:
imdb-thumbnailer --set-nautilus
b) If you use Thunar:
imdb-thumbnailer --set-thunar
3. We also need to edit some config files. Run the following command:
gedit ~/.imdb-thumbnailer/config
And change the contents like so:
films_path[1]=/path/to/your/movies
Replacing /path/to/your/movies and so on, with the exact path to the folder where you keep your movies. You can add as many lines as you want, but remember to increase the numbere between the brackets with each line.
4. Finally, the last file we need to edit:
gedit ~/.bashrc
And paste this at the end of the file:
alias imdb-up='find /path/to/your/movies/* -type f | while read -r line ; do imdb-thumbnailer -u "$line" ; done'
Again, replace /path/to/your/movies/ with the exact path to your movies folder.
[Credits: elsoftwarelibre, bitelia]
Tidak ada komentar:
Posting Komentar