Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rework script header and some other info strings

Signed-off-by: Emeric Grange <emeric.grange@gmail.com>
  • Loading branch information...
commit 94ca68c2bf50c5e07d8180760214319058190d21 1 parent 8d00d66
@emericg authored
View
2  README
@@ -1,3 +1,3 @@
-This little software written in python is build to help you finding and downloading subtitles for your favorite videos! It can be used as a nautilus script, or as a simple software working under Gnome or KDE desktop environments.
+This little software written in python is build to help you finding and downloading subtitles for your favorite videos! It can be used as a nautilus script, or as a simple software working under GNOME or KDE desktop environments.
The subtitles are downloaded from www.opensubtitles.org. The search is done by identifying your videos by extracting a hash from the files, and not by using the file names. This way you have more chance to get the correct subtitles for your videos, avoiding text and audio synchronization problems.
View
6 gnome/opensubtitles-download.desktop
@@ -9,9 +9,7 @@ Exec=opensubtitles-download.py "%F"
Name=OpenSubtitles-download
GenericName=Automatic subtitles downloader
GenericName[fr]=Téléchargeur automatique de sous-titres
-X-GNOME-FullName=Download subtitle from opensubtitles.org
+X-GNOME-FullName=Download subtitles from opensubtitles.org
X-GNOME-FullName[fr]=Télécharge des sous-titres depuis opensubtitles.org
-Comment=Download subtitle from opensubtitles.org
+Comment=Download subtitles from opensubtitles.org
Comment[fr]=Télécharge des sous-titres depuis opensubtitles.org
-
-Name[fr_FR]=opensubtitles-download
View
11 gnome/opensubtitles-download.py
@@ -1,13 +1,12 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
-# OpenSubtitles download / Gnome edition
-# Version 2.0
-#
+# OpenSubtitles-download / GNOME edition / Version 2.0
# Automatically find and download subtitles for your favorite videos!
+# https://github.com/emericg/opensubtitles-download
-# Emeric Grange <emeric.grange@gmail.com>
-# Tomáš Hnyk <tomashnyk@gmail.com>
+# Contributors:
+# Tomáš Hnyk <tomashnyk@gmail.com> for his work on multiple language download
# Carlos Acedo <carlos@linux-labs.net> for his work on the original script
# Copyright (c) 2012 by Emeric GRANGE <emeric.grange@gmail.com>
@@ -27,8 +26,8 @@
import os
import struct
-import subprocess
import mimetypes
+import subprocess
from sys import argv
from xmlrpclib import ServerProxy, Error
Please sign in to comment.
Something went wrong with that request. Please try again.