[RELEASE] XBMC Subtitles - Addon Script

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
amet Offline
Retired Team-Kodi Member
Posts: 4,111
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #136
no issues on OSX here... I can not hit the issues you guys are seeing... when I do, I can fix...
find
mr_blobby Offline
Skilled Python Coder
Posts: 111
Joined: Mar 2010
Reputation: 0
Post: #137
I have been able to reproduce and correct the error when searching:

Code:
Error: 'ascii' codec can't decode byte 0x..in position xx: ordinal not in range(128)

It is solved by a simple:

Code:
unicode('string with a problem','latin-1')

I have also noticed that this eror only appears on my Windows 8 machine and not on my OpenElec machine.
On my OpenElec machine the search simply fails silently (no search results).

This weekend I will try to implement fixes for this problem for all "my" services in the addon.
find
Agnew Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #138
Hi,
I'm really new here so please excuse me if I make any mistake .
I'm having problems downloading subtitles from opentitles. The add-on finds then, appears to be downloading them an then says: "subtitle downloaded an extracted" but neither closes itself nor continues playing the movie as usual. Pressing esc key, The movie goes on but there is no trace of the subtitle.
I have posted my debug log (or what I believe to be it) in the following link:
http://pastebin.com/39fwpTU4
I will thank any help and try to correct any mistake as it is pointed to me.

Agnew
find
Agnew Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #139
(2012-04-25 00:48)Agnew Wrote:  Hi,
I'm really new here so please excuse me if I make any mistake .
I'm having problems downloading subtitles from opentitles. The add-on finds then, appears to be downloading them an then says: "subtitle downloaded an extracted" but neither closes itself nor continues playing the movie as usual. Pressing esc key, The movie goes on but there is no trace of the subtitle.
I have posted my debug log (or what I believe to be it) in the following link:
http://pastebin.com/39fwpTU4
I will thank any help and try to correct any mistake as it is pointed to me.

Agnew
Sorry I paid some more attention to previous post, so here is a real DEBUG log:
http://xbmclogs.com/show.php?id=1892
I hope I did it right this time.
find
mr_blobby Offline
Skilled Python Coder
Posts: 111
Joined: Mar 2010
Reputation: 0
Post: #140
(2012-04-25 01:04)Agnew Wrote:  
(2012-04-25 00:48)Agnew Wrote:  Hi,
I'm really new here so please excuse me if I make any mistake .
I'm having problems downloading subtitles from opentitles. The add-on finds then, appears to be downloading them an then says: "subtitle downloaded an extracted" but neither closes itself nor continues playing the movie as usual. Pressing esc key, The movie goes on but there is no trace of the subtitle.
I have posted my debug log (or what I believe to be it) in the following link:
http://pastebin.com/39fwpTU4
I will thank any help and try to correct any mistake as it is pointed to me.

Agnew
Sorry I paid some more attention to previous post, so here is a real DEBUG log:
http://xbmclogs.com/show.php?id=1892
I hope I did it right this time.
It's the same error, caused by a non-ascii character:
00:56:12 T:2973760368   ERROR: UnicodeDecodeError
00:56:12 T:2973760368   ERROR: :
00:56:12 T:2973760368   ERROR: 'ascii' codec can't decode byte 0xa0 in position 4: ordinal not in range(128)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,111
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #141
https://github.com/amet/script.xbmc.subt...355c4f3cad might fix it, I still cant reproduce the issue Sad

@Agnew
if you can use the above and see if it fixes it and let us know please
find
mr_blobby Offline
Skilled Python Coder
Posts: 111
Joined: Mar 2010
Reputation: 0
Post: #142
(2012-04-25 09:09)amet Wrote:  https://github.com/amet/script.xbmc.subt...355c4f3cad might fix it, I still cant reproduce the issue Sad

@Agnew
if you can use the above and see if it fixes it and let us know please
I'm afraid the error is caused in a service.py and is caught in gui.py in the try & except routine that starts on line 212.
The error message is shown in the gui because of line 235.
find
amet Offline
Retired Team-Kodi Member
Posts: 4,111
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #143
(2012-04-25 09:29)mr_blobby Wrote:  
(2012-04-25 09:09)amet Wrote:  https://github.com/amet/script.xbmc.subt...355c4f3cad might fix it, I still cant reproduce the issue Sad

@Agnew
if you can use the above and see if it fixes it and let us know please
I'm afraid the error is caused in a service.py and is caught in gui.py in the try & except routine that starts on line 212.
The error message is shown in the gui because of line 235.

try: in 212 is for Search_Subtitles() we fail in extracting subs, create_name() fails with "zip_entry" having non ascii chr

or did I misread the whole debug log?
find
rocko_2006 Offline
Junior Member
Posts: 3
Joined: Jul 2011
Reputation: 0
Post: #144
(2012-04-24 08:53)amet Wrote:  I believe that would happen with Linux builds that have no RAR support.

see here, http://xbmc.org/theuni/2012/04/10/xbmc-a...to-debian/ RAR support is disabled

EDIT: granted, we could handle that failure more gracefully Smile

Thanks for the quick response!

Actually it is not soooo un-gracefully Laugh The plugin doesn't hang per se, or throw a cryptic python error, I can press ESC to go back to the movie/show, or select another provider to search the subtitle (but http://www.subdivx.com is the best of the spanish subtitles providers, with a lot of different synced versions to chose from).

Now, If I understand the information in the link, the rar support in Ubuntu does not exist because it does not exist in Debian (because it isn't 100% free, right?).
But the info also says that this support exists in XBMCBuntu. So... the question is: is it possible to use the packages of XMBCBuntu in Ubuntu 12.04?

Edit: sorry, I realize that this is not the thread for this question. Im going to post a new thread for this. Thanks for the help.
(This post was last modified: 2012-04-25 19:00 by rocko_2006.)
find
El_Titi Offline
Junior Member
Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #145
Hello,

First, sorry for my bad English...

I have a problem with XBMC subtitles with Eden

After installing, when i try to search for sub, the windows close and nothing Eek

This is my log : http://pastebin.com/DuF8GyWJ

I try it in another computer, with the same software config (portable mode, video on NAS, Mysql,etc...) and it's ok Frown

Thank You
El_Titi
find
Thakoer Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #146
(2012-04-22 22:18)amet Wrote:  
(2012-04-22 22:02)Thakoer Wrote:  Amet

When can wexpwxt the new update ?
[quote='Thakoer' pid='1083824' dateline='1335124925']
Amet

When can we expect the new update?

soon

Mr Amet,

Are there any problems with the new release ... hopefully it comes soon,
find
amet Offline
Retired Team-Kodi Member
Posts: 4,111
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #147
no problems with new release, use the one from git if you cant wait for the official release
find
Thakoer Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #148
[quote='amet' pid='1088313' dateline='1335534511']
no problems with new release, use the one from git if you cant wait for the official release
[/quote


I don't now how to it Sad
find
amet Offline
Retired Team-Kodi Member
Posts: 4,111
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #149
3.1.0 is out on official repo

Code:
3.1.0

- Fixed 'Ondertitel.com' after site redesign and sync detection added, mr-blobby

- hearing_imp in hash search in podnapisi

- remove "disable hash search"

- option to store subtitles in 'Subs' folder

- remove old window compatibility, might break some skins. xml needs to be updated

- more utf-8 fixes
(This post was last modified: 2012-04-28 12:51 by amet.)
find
Rififi77 Offline
Senior Member
Posts: 142
Joined: Aug 2010
Reputation: 0
Location: Paris, France
Post: #150
Hello,
Thank for this new version, but i'm always the same problem, see my log.

Code:
* log removed *

My config is Ubuntu oneyric with XBMC EDEN

@+

[Image: G2M]
OS: yavdr64-0.5.0 XBMC GOTHAM-13.0 - VDR 2.0.3
Box: Advance 3906B
DVBS2: S2-3200
CM: ASUS AT3N7A-I - 4 Go - HD 750 Go Samsung
NAS: D-Link DNS-325 + infinity USB smart
(This post was last modified: 2012-04-28 13:50 by amet.)
find
Thread Closed