GNOME Bugzilla – Bug 613214
totem subtitle plugin cannot contact opensubtitles.org
Last modified: 2010-03-20 14:07:11 UTC
Created attachment 156434 [details] Patch to show small change in opensubtitles.py (www->api) Reported earlier on launchpad (see https://bugs.launchpad.net/ubuntu/+source/totem/+bug/540533) The subtitle plugin in Totem cannot contact the opensubtitles.org's database anymore, since the URL 'www.opensubtitles.org' isn't valid anymore for API calls. It apparently has changed to http://api.opensubtitles.org. The URL of the server for API calls is hard coded in opensubtitles.py, around line 319. After I changed 'www' into 'api', the opensubtitles.org database could be contacted again. I've attached a patch that shows the small change I've made.
I confirm both the bug and the fix suggested. The patch attached by reporter is reversed but it's too trivial to redo. Please apply :) Thanks!
Created attachment 156607 [details] [review] Corrected patch for opensubtitles.py to address the issue described Indeed got them reversed. Here's a corrected patch.
Committed to master and gnome-2-28. Didn't ask for a freeze break request because the change was sufficiently critical and low-risk. Thanks for the patch. :-) commit b85a5b88f6532cbfd07bb677842611f52c056acc Author: Robert Moerland <veel_mail@xs4all.nl> Date: Sat Mar 20 14:00:37 2010 +0000 Bug 613214 — totem subtitle plugin cannot contact opensubtitles.org Fix the API URI for the opensubtitles.org plugin. Closes: bgo#613214 src/plugins/opensubtitles/opensubtitles.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)