[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD)

  Thread Rating:
  • 7 Votes - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
arubinst Offline
Junior Member
Posts: 22
Joined: Jan 2011
Reputation: 1
Location: Lausanne, Switzerland
Post: #2026
(2012-03-19 22:22)yonpa Wrote:  Hi. Many thanks for this great addon. I recently installed XBMC and i have two issues with this addon.

1. with 2.9.36 y the latest 2.9.37 version i cant download subtitles from subdivx or argenteam. When i choose search in these sites i received the following errors

subdivx: error: ascii codec cant decode byte 0xf3 in position 87: ordinal not in range(128)
argenteam: error: ascii codec cant decode byte 0xc3 in position 14: ordinal not in range(128)

with 2.9.34 i dont have this issue.

2. by default, does the addon search by filename or by movie title ? Because my movies languages are in spanish and when i tried to search subtitles from subdivx or agenteam it cant found anything. (2.9.34 version) if i look the log it appears that the addon search by movie title(for example it search by cisne negro (movie title) and not by filename: black swan (2010) ). Anyway, If i do a manual search it automatically put the correct file name(black swan) in the search box and it find the subtitle. Is possible change it for search by filename instead by movie title ?

Many thanks

UPDATE: Debug log file: http://pastebin.com/u0dV1pQU

Same here. Having the exact same problem with both (subdivx and argenteam)

Mac Mini Intel Core 2 Duo 2.4Ghz | 8GB DDR3 | NVIDIA GeForce 320M | Synology DS412+ | 1 TB Time Capsule | Samsung 65" UE65HU8500 | Onkyo TX-NR809 AVR | Jamo S 426 HCS 3 5.0 Speaker system | Yamaha YST-SW012 Subwoofer | Mac OS X 10.9.3 (Mavericks) | Gotham
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2027
(2012-03-19 22:22)yonpa Wrote:  Hi. Many thanks for this great addon. I recently installed XBMC and i have two issues with this addon.

1. with 2.9.36 y the latest 2.9.37 version i cant download subtitles from subdivx or argenteam. When i choose search in these sites i received the following errors

subdivx: error: ascii codec cant decode byte 0xf3 in position 87: ordinal not in range(128)
argenteam: error: ascii codec cant decode byte 0xc3 in position 14: ordinal not in range(128)

with 2.9.34 i dont have this issue.

2. by default, does the addon search by filename or by movie title ? Because my movies languages are in spanish and when i tried to search subtitles from subdivx or agenteam it cant found anything. (2.9.34 version) if i look the log it appears that the addon search by movie title(for example it search by cisne negro (movie title) and not by filename: black swan (2010) ). Anyway, If i do a manual search it automatically put the correct file name(black swan) in the search box and it find the subtitle. Is possible change it for search by filename instead by movie title ?

Many thanks

UPDATE: Debug log file: http://pastebin.com/u0dV1pQU

(2012-03-21 00:24)arubinst Wrote:  Same here. Having the exact same problem with both (subdivx and argenteam)

https://github.com/amet/script.xbmc.subt...47cd56cb4b
and
https://github.com/amet/script.xbmc.subt...2816097550

should have a "fix" of some sort, please try and let me know
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2028
Currently this addon downloads the subtitles for a single movie as a temporary file, and I have to perform the download each time with a different movie.
Is there a way to have the subtitles saved into one place where xbmc can check for subtitles automatically without having to perform the subtitle download each time when playing a movie?

P.S. My movies are stored on a NAS, but the plug-in only seems to be able to store locally. Selecting to save in the active movie folder makes the add-on not display subtitles at all.
(This post was last modified: 2012-03-21 19:56 by qofbored.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2029
(2012-03-21 15:36)qofbored Wrote:  Currently this addon downloads the subtitles for a single movie as a temporary file, and I have to perform the download each time with a different movie.
Is there a way to have the subtitles saved into one place where xbmc can check for subtitles automatically without having to perform the subtitle download each time when playing a movie?

sure, select to save it in movie folder, that is a default option.
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2030
(2012-03-21 19:47)amet Wrote:  sure, select to save it in movie folder, that is a default option.

Ah, forgot to mention.. My movies are stored on a NAS, and the plug-in only seems to be able to store locally. Selecting to save in the active movie folder makes the add-on not display subtitles at all. (they are not saved anywhere that I could find)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2031
(2012-03-21 19:57)qofbored Wrote:  
(2012-03-21 19:47)amet Wrote:  sure, select to save it in movie folder, that is a default option.

Ah, forgot to mention.. My movies are stored on a NAS, and the plug-in only seems to be able to store locally. Selecting to save in the active movie folder makes the add-on not display subtitles at all. (they are not saved anywhere that I could find)

1.) having a Debug Log would help, otherwise we are doing everything blind

2.) the eden version of the addon can definitely save to SMB/NFS share if they have correct permissions

3.) other option is to set subtitle folder in XBMC to the same temp folder you are saving subs in XBMC Subtitle Addon
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2032
xbmc.log

I realise that XBMC, the PC and account it runs on, does not have priviledges to write on the network share. I prefer to keep it this way, because people using the HTPC are not allowed anything but to read data. So the option to store the subtitles in the same folder as the movie does not work.
Trying to select a custom save location manually, I only get to browse in two places. C: and HomeFolder.

[Image: screenshot000.png]

I would like to make a single network folder, where the htpc has writing priviledges, to store all downloaded subtitles in. And I would like to allow all the subtitle files to pile up in there, using the movie titles as filenames, while setting the folder as the default subtitle location for xbmc. (Separate file for each movie, to prevent having to go through the proces of downloading subs each time if they have already been downloaded before.)
Is this possible, and how can this be accomplished?
(This post was last modified: 2012-03-21 21:05 by qofbored.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2033
(2012-03-21 20:59)qofbored Wrote:  Is this possible, and how can this be accomplished?

system -> video-> subtitles->Subtitle folder ... ?
(This post was last modified: 2012-03-21 21:17 by amet.)
find
arubinst Offline
Junior Member
Posts: 22
Joined: Jan 2011
Reputation: 1
Location: Lausanne, Switzerland
Post: #2034
(2012-03-21 14:26)amet Wrote:  
(2012-03-19 22:22)yonpa Wrote:  Hi. Many thanks for this great addon. I recently installed XBMC and i have two issues with this addon.

1. with 2.9.36 y the latest 2.9.37 version i cant download subtitles from subdivx or argenteam. When i choose search in these sites i received the following errors

subdivx: error: ascii codec cant decode byte 0xf3 in position 87: ordinal not in range(128)
argenteam: error: ascii codec cant decode byte 0xc3 in position 14: ordinal not in range(128)

with 2.9.34 i dont have this issue.

2. by default, does the addon search by filename or by movie title ? Because my movies languages are in spanish and when i tried to search subtitles from subdivx or agenteam it cant found anything. (2.9.34 version) if i look the log it appears that the addon search by movie title(for example it search by cisne negro (movie title) and not by filename: black swan (2010) ). Anyway, If i do a manual search it automatically put the correct file name(black swan) in the search box and it find the subtitle. Is possible change it for search by filename instead by movie title ?

Many thanks

UPDATE: Debug log file: http://pastebin.com/u0dV1pQU

(2012-03-21 00:24)arubinst Wrote:  Same here. Having the exact same problem with both (subdivx and argenteam)

https://github.com/amet/script.xbmc.subt...47cd56cb4b
and
https://github.com/amet/script.xbmc.subt...2816097550

should have a "fix" of some sort, please try and let me know

Yep! They both seem to be working now.

Thanx!

Mac Mini Intel Core 2 Duo 2.4Ghz | 8GB DDR3 | NVIDIA GeForce 320M | Synology DS412+ | 1 TB Time Capsule | Samsung 65" UE65HU8500 | Onkyo TX-NR809 AVR | Jamo S 426 HCS 3 5.0 Speaker system | Yamaha YST-SW012 Subwoofer | Mac OS X 10.9.3 (Mavericks) | Gotham
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2035
(2012-03-21 21:16)amet Wrote:  system -> video-> subtitles->Subtitle folder ... ?

This I know. Allow me to clarify my question... When I configure the subtitle Add-on to save to a specified (local) folder, it only saves one file named temp_sub.en.srt. It keeps rewriting to this file for any movie subtitle that I download. So how can I configure the Addon to store the files, named after movie titles, all next to eachother without overwriting anything?
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2036
(2012-03-21 21:36)qofbored Wrote:  
(2012-03-21 21:16)amet Wrote:  system -> video-> subtitles->Subtitle folder ... ?

This I know. Allow me to clarify my question... When I configure the subtitle Add-on to save to a specified (local) folder, it only saves one file named temp_sub.en.srt. It keeps rewriting to this file for any movie subtitle that I download. So how can I configure the Addon to store the files, named after movie titles, all next to eachother without overwriting anything?

try again with that Debug Log, you need to enable debug logging
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2037
Okay, I've replaced the uploaded log file with a new one. It's quite large, because I tried a bunch of things. None seem to work now. Confused
I hope you can make sense of the log file. Looking forward to your reply, and thanks!

log file
(This post was last modified: 2012-03-21 21:57 by qofbored.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2038
(2012-03-21 21:56)qofbored Wrote:  Okay, I've replaced the uploaded log file with a new one. It's quite large, because I tried a bunch of things. None seem to work now. Confused
I hope you can make sense of the log file. Looking forward to your reply, and thanks!

log file

is disable hash "on" in advanced addon settings?
find
qofbored Offline
Junior Member
Posts: 13
Joined: Mar 2012
Reputation: 0
Post: #2039
Yes, "disable hash search" was set to On.

Well I suppose it is not crucial to get it working as I described. I might have to settle with using the locally stored temp_sub file.. That is, if there is no immediate solution to be found.
Anyhow, thank you for the effort.
(This post was last modified: 2012-03-21 22:27 by qofbored.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #2040
(2012-03-21 22:13)qofbored Wrote:  Yes, disable has search was set to On.

and if you switch it Off, does it work then?
find
Thread Closed