How do I fully integrate Periscope with Nautilus so that I can right-click on a video file and get subtitles downloaded? I have downloaded all the appropriate files and Periscope is fully installed. The problem is getting it fully integrated with Nautilus or something like Nautilus. I do not want to operate at the the console
2 Answers
Here's a simple Nautilus script that should do the job:
#!/bin/bash
# NAME: Get_subtitles
# AUTHOR: (c) 2014 Glutanimate
# DEPENDENCIES: periscope (https://code.google.com/p/periscope/)
# LICENSE: MIT license (http://opensource.org/licenses/MIT)
LANGUAGE="en"
while [ $# -gt 0 ]; do
MOVIE="$1"
periscope "$MOVIE" -l "$LANGUAGE"
shift
done
Note: I don't have periscope installed so I'd appreciate your feedback on whether the script works or not.

- 21,393
Here is one particular way to do this:
First up, install python support in nautilus by installing python-nautilus and python-notify:
sudo aptitude install python-nautilus python-notify
Then install periscope.
Now you need to copy the periscope-nautilus.py script into the ~/.nautilus/python-extensions folder:
cd ~/.nautilus/python-extensions
wget http://periscope.googlecode.com/svn/trunk/bin/periscope-nautilus/periscope-nautilus.py
If you want to change the default languages, run periscope once, a file named "config" will be created under ~/.config/periscope. Update this file to reflect your preferred languages. (English example below, you can use commas to have multiple languages)
lang = en
Restart nautilus.
nautilus -q
Open nautilus and go find a video file, right click and now you've got the notification to see if corresponding subtitles were found.

- 822
- 1
- 6
- 23
-
Thanks. But I have tried this as well as all other methods posted on the forums and nothing works. Rumor has it that the integration works on Nemo or Thunar.... – ALAN Mar 03 '14 at 17:04
periscope -l en <movie-file>
– Sadi Mar 04 '14 at 10:15