[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143) +---- Thread: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
- amet - 2010-07-19 frater Wrote:;-) indeed a good idea, will work on that - amet - 2010-07-19 IIINeOIIINL Wrote:Sorry for complaining to soon, tried the fix from mr_blobby, and it works like a charm, thank you guy's!! 1.7.8 should bi in the official repo in few minutes, that has the fix from mr_blobby Thanks! - mr_blobby - 2010-07-19 frater Wrote:I didn't say "bierdopje" is not working... (I applied the fix).You did notice that ondertitel.com was recently added as a service? Perfect for movies and will find more Dutch subtitles than opensubtitels.org ... - Nektarios - 2010-07-28 I have implemented a timeout and connection handling on the latest version (v1.7.10) and it works well. IMO it was necessary because opensubtitles.org these days does not respond always or responds with errors and so the addon was freezing forever waiting. This was frustrating because only a restart of XBMC could overcome the freezing. I want to submit my changes but I can't find an SVN repository of this addon. If you would like to incorporate them, please tell me what I have to do to give them out. Thanks for this great addon Amet. - amet - 2010-07-28 Nektarios Wrote:I have implemented a timeout and connection handling on the latest version (v1.7.10) and it works well. IMO it was necessary because opensubtitles.org these days does not respond always or responds with errors and so the addon was freezing forever waiting. This was frustrating because only a restart of XBMC could overcome the freezing. the opensubtitles service does have a timeout, it is set to 5 sec svn can be found here, PM me the diff if you want me to add it. Thanks! - mr_blobby - 2010-07-28 Amet Wrote:the opensubtitles service does have a timeout, it is set to 5 secMaybe we can simply use the timeout parameter of urllib2: urlopen(url[, data][, timeout]) This parameter was introduced in Python 2.6 and I know that the latest stable build didn't support it (I tried it for Bierdopje), but maybe the Dharma branch uses Python 2.6. - amet - 2010-07-28 mr_blobby Wrote:Maybe we can simply use the timeout parameter of urllib2: no such luck, python has not been updated for Dharma - PsychoCheF - 2010-07-28 Amet Wrote:1.7.8 should bi in the official repo in few minutes, that has the fix from mr_blobby Is it? I'm only find 1.7.1 in the xbmc addon section. (which is not working) - amet - 2010-07-28 PsychoCheF Wrote:Is it? it is PsychoCheF Wrote:I'm only find 1.7.1 in the xbmc addon section. (which is not working) Not sure where you are looking, tried here? - PsychoCheF - 2010-07-28 Amet Wrote:it isNo, i download it from xbmc-system-addons-xbmc addons... It was the latest version 1.7.10 there (read it wrong before) Anyway, when i start the script it immediatly fails, and nothing more happens. Found this in the log. (Why it says its version 1.7.4??) Code: 20:04:41 T:5796 M:4294967295 DEBUG: XBMC Subtitles version [ 1.7.4 ] Complete log here: http://pastebin.com/yZxTaJs2 - amet - 2010-07-28 PsychoCheF Wrote:No, i download it from xbmc-system-addons-xbmc addons... 1.) can you confirm that there is "gui.py" in "C:\Users\André\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib" 2.) try downloading 1.7.10 and manually unzip in "C:\Users\André\AppData\Roaming\XBMC\addons\" let me know if it works Zeljko - PsychoCheF - 2010-07-28 Amet Wrote:1.) can you confirm that there is "gui.py" in "C:\Users\André\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\resources\lib" "gui.py" is in place, and it was no differ when i extracted it manually. But i actually think i know what the problem could be, i moved the script in to xbmc install folder instead of AppData, and now it works! I had the same problem earlier with downloading/installing addons, i was forced to move them to the install folder. It some problem when windows handling non english letters i think, as you se in log my username is "André" But should actually be "André" and "é" fuck something up. I made a bugreport of it and Jmarshall & CO fixed the problem last week, so maybe you can find the answer there. http://trac.xbmc.org/ticket/9628 http://forum.xbmc.org/showthread.php?tid=77218 Again, im not sure if this is the problem, but i could "solve" it the same way. - PsychoCheF - 2010-07-28 Okay, more questions/problems now that i can use the script in some way. First a question, how does the script search? By filename, foldername, tag info? I have this: \From Paris with love\cbg-fpwl720p.mkv and the only service that find anything was Sublight.si, i also tried undertexter.se, opensubtitles & subscene. I renamed the file to \From Paris with love\From Paris with love.mkv and now also undertexter find the subs. But if i search on opensubtiles and subscene webpage for "From Paris with love" i got tons of good hits. Now i tried to download the sub from undertexter, and it just says downloading, nothing happens. Log here witch shows a search in the 4 services above and attempt do download a sub from undertexter. http://pastebin.com/u700xLep The little i understand from logfiles i can se on row 581 says"Multiple movies found, searching for the right one ..." and then in row 682 "Movie not found in list: From Paris With Love" but the correct sub is on row 583 "Found movie on search page: From Paris With Love (2010)" - gsuss - 2010-07-28 PsychoCheF Wrote:"gui.py" is in place, and it was no differ when i extracted it manually. I have the exact same problem/error when trying to load the subtitles script and my name is also with an é. If you like I can upload my log but I checked it and the script debug msgs are the same... Suppose its a general bug with the ASCII/UNICODE that is being used. Offtopic: PsychoCheF, do you also have problems with your cache not being deleted and/or your library not being update after you scanned for new content. Every time I update it, I have to go in the cache dir and manually delete all files before I'm able to see the new scanned content. - PsychoCheF - 2010-07-29 gsuss Wrote:I have the exact same problem/error when trying to load the subtitles script and my name Yepp, but i didnt realised that it could be the same problem, i just deleted the library and scanned again Maybe we should start a special thrad about this, and find out what more that can be affected? PM me so we dont destroy this thread. |