Introduction to Subliminal
Subliminal is perfect subtitle downloader that comes with an easy CLI (command-line interface) that can be integrated to the Dolphin as service menu.Subliminal uses multiple providers like:
- Addic7ed
- OpenSubtitles
- Podnapisi
- TheSubDB
- TvSubtitles
Debian installation
sudo apt-get instal python-pip
sudo pip install subliminal
Download a movie
After installation you should test the Sublimal for your movies. If you don't have any movies you can download Sintel.Sintel the movie (open source)
Download Sintel the movie
More open source movies
Test Subliminal
Use terminal and download subtitle to the movie using following command:
subliminal -l en Name_Of_The_Movie_file.mkvIt should download the subtitle to the same directory. The "-l" sets the subtitle language to be "en" (English) in the example above.
How to use Subliminal.... run this command in terminal:
subliminal --help
KDE Dolphin right click service menu for Sublimal
As root make a new file:
/usr/share/kde4/services/subliminal.desktop
Content of the file:
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=video/*
Actions=DownloadSub
[Desktop Action DownloadSub]
Type=Application
Name=Subliminal subtitle search
Exec=subliminal -m 0 -l en fi --addic7ed-username <username> --addic7ed-password <password> -- %U
Icon=video
The bold text in the example is the search command, you can edit it the way you like. Mine search command finds both English "en" and Finnish "fi" subtitles.
Register to the "addic7ed" and change the <username> and <password> placeholders if you like to use that provider or just remove the option .
When you have saved the file then check that Dolphin is closed. Then open Dolphin, go to the folder that contains some movie files, right click the movie file and select: Actions > Subliminal subtitle search
That's all! It should work now!
0 kommenttia:
Post a Comment