Kodi Community Forum
[RELEASE] XBMC Subtitles - Addon Script - 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: [RELEASE] XBMC Subtitles - Addon Script (/showthread.php?tid=126495)



RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-15

I get pissed off easily cos I am trying to work and help here at the same time... while noone bothers to read the first post and provide info we need to assist in any error/bug hunting.

I really don't mind being attacked for my poor coding skills, I am not a coder.... I did this out of necessity and I learned how to deal with python and XBMC together which is more that can be said for him(twins). fact that he couldn't produce a debug log in 4 useless posts, so that we could try to help, shows me that he is trolling... thats cool and entertaining until it pisses Martijn off and he gets a ban slapped on him Smile

I have learned to deal with trolls, new users and people that come bitching, I really get disappointed when senior forum users do not provide info needed to help them.






RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-15

(2012-10-15, 13:50)Burke Wrote: That would be grate,

latter i can change it my self - if you change something in addon that i need.

Hvala Smile

what service do you use this for? OpenSubtitles? Podnapisi?


RE: [RELEASE] XBMC Subtitles - Addon Script - Burke - 2012-10-15

podnapisi, opensubtitles , if nothing there then titlovi end as last resort sublight


RE: [RELEASE] XBMC Subtitles - Addon Script - pbtester - 2012-10-15

(2012-10-15, 08:07)amet Wrote:
(2012-10-15, 02:25)pbtester Wrote: I'm having some troubles on linux with titlovi.com addon. For most of the movies I can't download any subtitle. It says 'Downloading subtitle' and frozes. When I exit XBMC, I get crash log in my home dir. It looks like this: http://pastebin.com/kDZTT1PF

not a debug log, enable debug logging

Got it. Hope this would be ok: http://pastebin.com/0zR33Zjh
It seems that, for some reason, xbmc could not extract the downloaded package. I've checked if it's a permission problem, but it's not the case. The package is downloaded into the 'sub_tmp' dir, but it 's not extracted. Please, let me know if I can give more help to you, I really appreciate what you're doing ...



RE: [RELEASE] XBMC Subtitles - Addon Script - fernandovg - 2012-10-15

(2012-10-14, 21:00)amet Wrote: no guaranties, no bug reports... install via zip option ...

https://dl.dropbox.com/u/19359762/script.runonplayback.zip

thanks but didn't worked. Will try again today.
Maybe is my XBMC build. I'm using one from August 5th (because the scan/scrapper is working)





RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-15

(2012-10-15, 15:58)pbtester Wrote:
(2012-10-15, 08:07)amet Wrote:
(2012-10-15, 02:25)pbtester Wrote: I'm having some troubles on linux with titlovi.com addon. For most of the movies I can't download any subtitle. It says 'Downloading subtitle' and frozes. When I exit XBMC, I get crash log in my home dir. It looks like this: http://pastebin.com/kDZTT1PF

not a debug log, enable debug logging

Got it. Hope this would be ok: http://pastebin.com/0zR33Zjh
It seems that, for some reason, xbmc could not extract the downloaded package. I've checked if it's a permission problem, but it's not the case. The package is downloaded into the 'sub_tmp' dir, but it 's not extracted. Please, let me know if I can give more help to you, I really appreciate what you're doing ...

looks like you are using ubuntu version without RAR support enabled, is that possible?




RE: [RELEASE] XBMC Subtitles - Addon Script - pbtester - 2012-10-16

(2012-10-15, 16:55)amet Wrote:
(2012-10-15, 15:58)pbtester Wrote:
(2012-10-15, 08:07)amet Wrote: not a debug log, enable debug logging

Got it. Hope this would be ok: http://pastebin.com/0zR33Zjh
It seems that, for some reason, xbmc could not extract the downloaded package. I've checked if it's a permission problem, but it's not the case. The package is downloaded into the 'sub_tmp' dir, but it 's not extracted. Please, let me know if I can give more help to you, I really appreciate what you're doing ...

looks like you are using ubuntu version without RAR support enabled, is that possible?

Yes, you're right. I didn't know that Ubuntu didn't include RAR support because it's proprietary software. I installed an unrar tool and now it works for most of the movies in my library, except for one. There is a movie which I still can't download subtitles for, and the log file is showing exactly the same message as it was before installing unrar. I tried to unpack the titlovi.rar file in the 'sub_tmp' directory manualy, and it works. The log file : http://pastebin.com/Sj2SUXAQ






RE: [RELEASE] XBMC Subtitles - Addon Script - HiGhLaNdeR - 2012-10-16

(2012-10-16, 00:38)pbtester Wrote:
(2012-10-15, 16:55)amet Wrote:
(2012-10-15, 15:58)pbtester Wrote: Got it. Hope this would be ok: http://pastebin.com/0zR33Zjh
It seems that, for some reason, xbmc could not extract the downloaded package. I've checked if it's a permission problem, but it's not the case. The package is downloaded into the 'sub_tmp' dir, but it 's not extracted. Please, let me know if I can give more help to you, I really appreciate what you're doing ...

looks like you are using ubuntu version without RAR support enabled, is that possible?

Yes, you're right. I didn't know that Ubuntu didn't include RAR support because it's proprietary software. I installed an unrar tool and now it works for most of the movies in my library, except for one. There is a movie which I still can't download subtitles for, and the log file is showing exactly the same message as it was before installing unrar. I tried to unpack the titlovi.rar file in the 'sub_tmp' directory manualy, and it works. The log file : http://pastebin.com/Sj2SUXAQ

Hi all.
I tried to check your problem and maybe the bracket on the dir is causing the plugin to crash on that particular release.
In windows worked flawless. I made a directory just like yours and downloaded the same subtitle (or at least the one for that release and in Serbian).
Linux can be picky with paths with special characters.
Try renaming the directory taking out the brackets ( [ ] )!
Hope it helps.

note: can't test on linux atm because gf is using the linux xbmc Smile lol

Cheers!


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-16

(2012-10-16, 00:38)pbtester Wrote:
(2012-10-15, 16:55)amet Wrote:
(2012-10-15, 15:58)pbtester Wrote: Got it. Hope this would be ok: http://pastebin.com/0zR33Zjh
It seems that, for some reason, xbmc could not extract the downloaded package. I've checked if it's a permission problem, but it's not the case. The package is downloaded into the 'sub_tmp' dir, but it 's not extracted. Please, let me know if I can give more help to you, I really appreciate what you're doing ...

looks like you are using ubuntu version without RAR support enabled, is that possible?

Yes, you're right. I didn't know that Ubuntu didn't include RAR support because it's proprietary software. I installed an unrar tool and now it works for most of the movies in my library, except for one. There is a movie which I still can't download subtitles for, and the log file is showing exactly the same message as it was before installing unrar. I tried to unpack the titlovi.rar file in the 'sub_tmp' directory manualy, and it works. The log file : http://pastebin.com/Sj2SUXAQ

It's the same issue, look at the line 478 in log.

To fix the issue you need to build XBMC yourself including the rar support or use OpenSubtitles or podnapisi that only use zip to store subs



RE: [RELEASE] XBMC Subtitles - Addon Script - widecast - 2012-10-16

Hi amet, I have been using your powerful plugin for quite some time now and it makes life so much easier. Recently, the subtitles that the plugin lists don't appear to work once they are selected from a source.

These are the lines that seem to be relevent, from the logs. This is happening on ATV2 with Eden.

00:43:51 T:127238144 NOTICE: Opening Subtitle stream: 0 source: 1024
00:43:51 T:127238144 WARNING: FillBuffer: curl failed with code 22
00:43:51 T:127238144 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
00:43:51 T:127238144 ERROR: Open - failed to open source <dav://David:****@192.MY.IP:80/Videos/Thor.2011.720p.BRRip.x264.AAC-ViSiON/Thor.2011.720p.BRRip.x264.AAC-ViSiON.srt>
00:43:51 T:127238144 ERROR: OpenStream - Unable to create subtitle parser

This particular instance was when trying with an opensubtitles.org file.

Thanks a lot.


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-16

@publicENEMY ... see what I mean.. ^^

@widecast, follow Debug Log or first post in this thread


RE: [RELEASE] XBMC Subtitles - Addon Script - fernandovg - 2012-10-16

Amet, ITS WORKING! THANK YOU!
Your plugin to auto-run XBMC subtitles...
It took 5-7 to run but its great!
I guess you have to restart XBMC so It can work.

I you want to publish, go ahead.
...or I can use for a few more days and send you a feedback.


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-16

(2012-10-16, 14:34)fernandovg Wrote: Amet, ITS WORKING! THANK YOU!
Your plugin to auto-run XBMC subtitles...
It took 5-7 to run but its great!
I guess you have to restart XBMC so It can work.

I you want to publish, go ahead.
...or I can use for a few more days and send you a feedback.

use it and let me know... I dont think I want to publish it at all Smile




RE: [RELEASE] XBMC Subtitles - Addon Script - widecast - 2012-10-16

(2012-10-16, 09:01)amet Wrote: @widecast, follow debug log or first post in this thread

Hey amet, sorry about that. Here is the link to the full log: http://pastebin.com/DUPxbv3w




RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-16

(2012-10-16, 16:16)widecast Wrote:
(2012-10-16, 09:01)amet Wrote: @widecast, follow debug log or first post in this thread

Hey amet, sorry about that. Here is the link to the full log: http://pastebin.com/DUPxbv3w

We need full DEBUG log, please read Debug Log again