[RELEASE] XBMC Subtitles - Addon Script

  Thread Rating:
  • 5 Votes - 4.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
necronomicon Offline
Junior Member
Posts: 10
Joined: Apr 2012
Reputation: 0
Post: #161
I'm having trouble with the extension since upgrading from Dharma to Eden (using OpenElec: http://openelec.tv/). There is a bug report in the OpenElec github: https://github.com/OpenELEC/OpenELEC.tv/issues/511

Summary (extracted from https://github.com/OpenELEC/OpenELEC.tv/issues/511):

The extension was working flawlessly on Dharma, but after the update to beta 1.95.2 it stopped working. I figured out this would be an OpenElec-only problem when also upgrading a Windows XBMC install to Eden and noticing that the extension was working fine in that environment. Both installs (OpenElec and standard Windows XBMC) are using MySQL and shared Thumbnails (with pathsubstitution). My Windows install has python26.dll, while the OpenElec version has been upgraded to 2.7.3

From the user experience perspective, the subtitle download dialog just says "subtitles downloaded and extracted", but nothing really happen. The dialog does not stall or hang up, so you can just go back and continue watching the video (but with no subtitles whatsoever). The extension seems to be downloading the subtitles (the /.xbmc/userdata/addon_data/script.xbmc.subtitles/sub_tmp directory shows the dowloads and I can even tell the script is unpacking RAR or ZIP files), but it's unable to copy/move them to the target location.

Full Debug Log: http://xbmclogs.com/show.php?id=2000
(This post was last modified: 2012-04-28 19:38 by necronomicon.)
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #162
read the first page of this thread


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
ailingcoot Offline
Senior Member
Posts: 200
Joined: Mar 2012
Reputation: 0
Post: #163
(2012-04-28 18:22)amet Wrote:  [quote='Rififi77' pid='1089232' dateline='1335628027']
[quote='amet' pid='1089128' dateline='1335618879']

hey amet, for the shooters service connection problem(just freeze at that step.) http://pastebin.com/qaemTBxs
Anyway to fix that?

Actually XBMC totally freeze at that step, and I have to restart it.
(This post was last modified: 2012-04-28 18:50 by ailingcoot.)
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #164
(2012-04-28 18:48)ailingcoot Wrote:  
(2012-04-28 18:22)amet Wrote:  [quote='Rififi77' pid='1089232' dateline='1335628027']
[quote='amet' pid='1089128' dateline='1335618879']

hey amet, for the shooters service connection problem(just freeze at that step.) http://pastebin.com/qaemTBxs
Anyway to fix that?

sure, but you need to read the first post of this thread again.. we need FULL debug log... its not optional


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
necronomicon Offline
Junior Member
Posts: 10
Joined: Apr 2012
Reputation: 0
Post: #165
(2012-04-28 18:29)amet Wrote:  read the first page of this thread

I've just edited my post, adding the required full debug log: http://forum.xbmc.org/showthread.php?tid=126495&pid=1089270#pid1089270
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #166
(2012-04-28 19:39)necronomicon Wrote:  
(2012-04-28 18:29)amet Wrote:  read the first page of this thread

I've just edited my post, adding the required full debug log: http://forum.xbmc.org/showthread.php?tid=126495&pid=1089270#pid1089270

since I cant see, does "smb://xbmc:SMB_PASSWD_REMOVED@HOSTNAME_REMOVED/disk_3/Video/Series/New Girl/01/" have any non ascii characters ?

try with this fix -> https://github.com/amet/script.xbmc.subt...a8262aba66


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2012-04-28 20:07 by amet.)
find quote
necronomicon Offline
Junior Member
Posts: 10
Joined: Apr 2012
Reputation: 0
Post: #167
(2012-04-28 19:55)amet Wrote:  
(2012-04-28 19:39)necronomicon Wrote:  
(2012-04-28 18:29)amet Wrote:  read the first page of this thread

I've just edited my post, adding the required full debug log: http://forum.xbmc.org/showthread.php?tid=126495&pid=1089270#pid1089270

since I cant see, does "smb://xbmc:SMB_PASSWD_REMOVED@HOSTNAME_REMOVED/disk_3/Video/Series/New Girl/01/" have any non ascii characters ?

Both the password and the hostname have ASCII characters.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,512
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #168
(2012-04-28 19:57)necronomicon Wrote:  
(2012-04-28 19:55)amet Wrote:  
(2012-04-28 19:39)necronomicon Wrote:  I've just edited my post, adding the required full debug log: http://forum.xbmc.org/showthread.php?tid=126495&pid=1089270#pid1089270

since I cant see, does "smb://xbmc:SMB_PASSWD_REMOVED@HOSTNAME_REMOVED/disk_3/Video/Series/New Girl/01/" have any non ascii characters ?

Both the password and the hostname have ASCII characters.

only ascii? try this -> https://github.com/amet/script.xbmc.subt...a8262aba66


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
necronomicon Offline
Junior Member
Posts: 10
Joined: Apr 2012
Reputation: 0
Post: #169
(2012-04-28 20:07)amet Wrote:  
(2012-04-28 19:57)necronomicon Wrote:  
(2012-04-28 19:55)amet Wrote:  since I cant see, does "smb://xbmc:SMB_PASSWD_REMOVED@HOSTNAME_REMOVED/disk_3/Video/Series/New Girl/01/" have any non ascii characters ?

Both the password and the hostname have ASCII characters.

only ascii? try this -> https://github.com/amet/script.xbmc.subt...a8262aba66

Yep, 100% ASCII. Let me try this and get back to you.
find quote
necronomicon Offline
Junior Member
Posts: 10
Joined: Apr 2012
Reputation: 0
Post: #170
(2012-04-28 20:09)necronomicon Wrote:  
(2012-04-28 20:07)amet Wrote:  
(2012-04-28 19:57)necronomicon Wrote:  Both the password and the hostname have ASCII characters.

only ascii? try this -> https://github.com/amet/script.xbmc.subt...a8262aba66

Yep, 100% ASCII. Let me try this and get back to you.

Ok, so this seems to be working in some cases, but not in all of them. Subtitles that are unzipped in the temp folder usually look like "New Girl 1x20 - Normal (Español (España)).srt" and are not successfully processed (so you are definitely narrowing down the encoding issue)
I'm using mainly two providers: OpenSubtitles.org and Subdivx (for Spanish subtitles both of them), and I've noticed that some filenames avoid non-ASCII characters and others don't.

Again, it seems you are going down the right path with the fix above... let me know if you want me to test any other modification.
find quote
Post Reply