Warning: session_start(): open(/tmp/sess_1bnljgr2m0d3558p98jqusf0h4, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
download_opensubtitle openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

download_opensubtitle

   0.4  

KDE Service Menu

Score 75%
download_opensubtitle
zoom


download_opensubtitle
zoom


Link:  http://
Downloads:  1435
Submitted:  Sep 1 2007
Updated:  Dec 28 2013

Description:

This is a service menu to download subtitles from opensubtitle.org

just right click on a video file -> actions -> download subtitle, it will show you a list of subtitles select one and it will be downloaded and saved with the same name as the video (with a subtitle extension of course), so your player will detect automatically the subtitle

The search is done extracting a hash from the file, this way you will get the correct subtitle for sure (no more async problems)

thank you to opensubtitles.org for that great service, hope this will be implemented directly in media players

- To install:
KDE3: Copy download_subtitle.desktop to ~/.kde/share/apps/konqueror/servicemenus
KDE4: Copy download_subtitle.desktop to ~.kde/share/kde4/services/ServiceMenus
Copy download_subtitle.py to some dir of your path (i.e. ~/bin)

- Dependencies:
python
wget
kdialog

The default language is english, you can change it in the python file




Changelog:

Added support for the new OpenSubtitles API - Thanks Nicola Felice!




LicenseGPL
Send to a friend
Subscribe
Other  Content  from Hirs
Report inappropriate content



goto page: prev   1  2  3 

-

 script crashes

 
 by oeglesius on: Jul 13 2008
 
Score 50%

When I try downloading subtitles with this script, it crashes with the following error message:

Quote:

Traceback (most recent call last):
File "download_opensubtitle.py", line 64, in <module>
token = session["token"]
KeyError: 'token'


Any ideas what went wrong?

Thanks,
Stefan


Reply to this

-
.

 [SOLVED] Re: script crashes

 
 by eneko on: Aug 4 2010
 
Score 63%

URL of the opensubtitles.com API has changed, you must correct this in download_opensubtitle.py:

Line 56:

BEFORE (wrong)
server = ServerProxy("http://www.opensubtitles.org/xml-rpc")

AFTER (correct)
ServerProxy("http://api.opensubtitles.org/xml-rpc")

Changing the URL solved the problem for me, hope it helps anyone else.

Nice work Hirs!

Eneko


Reply to this

-

 Always an error

 
 by danux on: Apr 29 2009
 
Score 50%

I try the script, but it always crushes... it only displays a dialgobox saying "An Error ocurred".... I tryed to run it from Konsole and I get the same error, but no explanation about what could it be...


Reply to this

-
.

 Howto install easily v0.3

 
 by zipizap123 on: Nov 21 2010
 
Score 50%

The script version 0.3 (last updated in Jan 17 2009) was proved to work in KDE4 (KDE4.4.2), with the following procedure for Kubuntu (or any other debian/ubuntu based system)

1- Download the script using this page "download" button

2- Open a console in the folder where you downloaded the script

3- Untar the downloaded file (it will create a directory named "download_opensubtitle/".). Type in the console:
[b]
tar -zxvf 65444-download_opensubtitle.tar.gz"
[\b]

4- Install the Service-menu-script file to the correct location (the following destination directory is for KDE4. For KDE3 it is different). Type in the console:
[b]
ServiceMenu_script_file_kde4="download_opensubtitle/kde4/download_opensubtitle.desktop"
Destination_dir_kde4="$HOME/.kde/share/kde4/services/ServiceMenus"
mkdir -p $Destination_dir_kde4
cp -v $ServiceMenu_script_file_kde4 $Destination_dir_kde4
[\b]

4.99- At the current version 0.3 of the script there is an error in line 56 (as explained by <<eneko>> in the above comments) of the python file, and it needs to be corrected so that it works. Type this in the console to correct it:
[b]
sed --in-place 's_http://www.opensubtitles.org/xml-rpc_http://api.opensubtitles.org/xml-rpc_g' download_opensubtitle/download_opensubtitle.py
[\b]

5- Install the python file to "/usr/local/bin"
[b]
Python_file_kde4="download_opensubtitle/download_opensubtitle.py"
cp -v $Python_file_kde4 /usr/local/bin
[\b]

6- Check that your system has all the needed dependencies (most probably it will already have them installed, but if not just you can install them this way). Type this in a console, inserting your password when asked:
sudo apt-get install wget python



And you are done - it will be working by now, try it in konqueror :)

My respects to the creator and to eneko for the great sharings - this post is intended to make an updated resume of how to make this service-menu-script work without worries.

Hope to see this comment replied some day with something like "thanks" or maybe even with a "no-more-need-for-this-as-the-script-has-been-updated-by-author" :)

zipizap


Reply to this

-
.

 Howto install easily v0.3

 
 by zipizap123 on: Nov 21 2010
 
Score 50%

The script version 0.3 (last updated in Jan 17 2009) was proved to work in KDE4 (KDE4.4.2), with the following procedure for Kubuntu (or any other debian/ubuntu based system)

1- Download the script using this page "download" button

2- Open a console in the folder where you downloaded the script

3- Untar the downloaded file (it will create a directory named "download_opensubtitle/".). Type in the console:
[b]
tar -zxvf 65444-download_opensubtitle.tar.gz"
[\b]

4- Install the Service-menu-script file to the correct location (the following destination directory is for KDE4. For KDE3 it is different). Type in the console:
[b]
ServiceMenu_script_file_kde4="download_opensubtitle/kde4/download_opensubtitle.desktop"
Destination_dir_kde4="$HOME/.kde/share/kde4/services/ServiceMenus"
mkdir -p $Destination_dir_kde4
cp -v $ServiceMenu_script_file_kde4 $Destination_dir_kde4
[\b]

4.99- At the current version 0.3 of the script there is an error in line 56 (as explained by <<eneko>> in the above comments) of the python file, and it needs to be corrected so that it works. Type this in the console to correct it:
[b]
sed --in-place 's_http://www.opensubtitles.org/xml-rpc_http://api.opensubtitles.org/xml-rpc_g' download_opensubtitle/download_opensubtitle.py
[\b]

5- Install the python file to "/usr/local/bin"
[b]
Python_file_kde4="download_opensubtitle/download_opensubtitle.py"
cp -v $Python_file_kde4 /usr/local/bin
[\b]

6- Check that your system has all the needed dependencies (most probably it will already have them installed, but if not just you can install them this way). Type this in a console, inserting your password when asked:
sudo apt-get install wget python



And you are done - it will be working by now, try it in konqueror :)

My respects to the creator and to eneko for the great sharings - this post is intended to make an updated resume of how to make this service-menu-script work without worries.

Hope to see this comment replied some day with something like "thanks" or maybe even with a "no-more-need-for-this-as-the-script-has-been-updated-by-author" :)

zipizap


Reply to this

-

 Re: Howto install easily v0.3

 
 by zipizap123 on: Nov 21 2010
 
Score 50%

well, my previous post looks horrible - the BBCode formating is not working and I can't do anything to fix it, not at my control...

simply ignore completely all the "[b]" and "[\b]" and it will work


Reply to this

-

 Not working for me

 
 by siavash8 on: Apr 17 2011
 
Score 50%

I did everything that zipizap123 has written and still it doesn't work. When I clock on Download subtitle from opensubtitles.net in the service menu, a task titled "Download Subtitles from opensubtitle" opens for a few seconds, no window, only visible in the task manager, and then it automatically closes without any error or result. Any solution?


Reply to this

-

 

 
 by joopbraak on: May 15 2011
 
Score 50%

Try changing
session = server.LogIn("","","en","python")
to
session = server.LogIn("","","en","OS Test User Agent")



Reply to this

-

 Re:

 
 by siavash8 on: May 29 2011
 
Score 50%

Thanks. It solved the problem.


Reply to this

-

 Re:

 
 by vimania on: Jan 18 2015
 
Score 50%

I have a similar problem:

Login failed:
415 Disabled user agent


Reply to this

-

 Re: Re:

 
 by ariacorrente on: Mar 15 2015
 
Score 50%

I've uploaded a working version here:
http://kde-apps.org/content/show.php/kdeServiceMenuOpenSubtitles?content=169223
The problem was caused by OpenSubtitles.org guys changing the user agent used for development purposes used by this script.


Reply to this

goto page: prev   1  2  3 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team