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 - cw-kid - 2013-05-03

Also how do you know which English subs to pick from the list? For Aliens 3 I have on .MKV file there were 35 suggested subs. I tried lots of them and the text did not match what was going on in the video. I then by luck happened to pick one from the list that did work and was in sync OK etc. Is it just trial and error picking the right sub to download?

Thanks

EDIT:

Just select the "Subtitles" menu item for Alien Resurrection and this time it automatically downloaded a subtitle file and its working and in sync.

I had before attempting to play either of these films, enabled in the Advanced Options - Auto Download first "Sync" subtitle.

Not sure why it worked for Alien Resurrection but not Aliens 3. Oh well will test some more titles.

Great add-on by the way I think this is going to be very useful!

EDIT2:

I just tried with another 3rd movie "Aliens" it flashed up a notification saying something about no sync and then displayed a list of 110 possible English subtitles. So I guess some times it automatically works and others not.

Thanks


RE: [RELEASE] XBMC Subtitles - Addon Script - dampis - 2013-05-05

Hello, I added the support to network file system in service Napiprojekt, please add this fix in the next update

Add
Code:
import xbmcvfs

and replace line(in set_filehash function)
Code:
d.update(open(path,"rb").read(10485760))

on
Code:
d.update(xbmcvfs.File(path).read(10485760))



RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2013-05-05

please request PR on https://github.com/amet/script.xbmc.subtitles with changes you would like to see and that have been tested.

thanks


script.xbmc.subtitles script fails - window007 - 2013-05-07

Hi there,

I updated my XBMC to version 12.2 and now my script.xbmc.subtitles script fails.
I re-installed it but that doesn't help.

i run my TV-show and then i call the subtitle menu but that fails.

here is my debug log:
http://pastebin.com/QpV9GQ9K

I'm running XBMC 12.2 on a RPI OpenELEC (official) Version: 3.0.2

Can someone pls tell me what to do do fix it.
Thx in advanced


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2013-05-07

looks like you have no read/write permissions on "/storage/.xbmc/userdata/addon_data/script.xbmc.subtitles/" remove it manually and see what happens


RE: [RELEASE] XBMC Subtitles - Addon Script - snakekontrol - 2013-05-09

Hello, I've been having trouble for a while now trying to download subtitles in .rar format, I have xbian 12 in a raspberry pi, this is my log:
http://pastebin.com/EhaFFWSS

Can you guys help me determine the problem? thanks!


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2013-05-09

"movieFullPath = urllib.unquote(xbmc.Player().getPlayingFile().decode('utf-8'))# Full path of a playing file
RuntimeError: XBMC is not playing any file"

rPi thinks you are not playing anything


RE: [RELEASE] XBMC Subtitles - Addon Script - RoRoo - 2013-05-09

Strange problem ever since upgrading to 12.1 and .2 (I think)

Local subtitle available (english) but I want dutch. Select the subtitle option and it shows me available subs.
Select one, and playback continues. But without subtitles. When I go to the audio menu I see the selected subtitle file.

XBMC log says this:

Code:
15:20:19 T:2656662592 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //Film/Avatar (2009)/Avatar.2009.1080p.x264.DTS.2AUDIO-WAF.nl.srt
15:20:19 T:2656662592   ERROR: CNFSFile::Open: Unable to open file : '//Film/Avatar (2009)/Avatar.2009.1080p.x264.DTS.2AUDIO-WAF.nl.srt' error : 'open call failed with "NFS: Lookup of //Film failed with NFS3ERR_NOENT(-2)"'
15:20:19 T:2631865408  NOTICE: Closing subtitle stream
15:20:19 T:2631865408  NOTICE: Opening Subtitle stream: 0 source: 1026
15:20:19 T:2631865408   ERROR: OpenStream - Unable to create subtitle parser
15:20:19 T:2631865408 WARNING: OpenSubtitleStream - Unsupported stream 0. Stream disabled.

As you can see it wants to write to //Film/Avatar .... instead of //<IP of NAS>/c/media/Film

when I look in /.xbmc/userdata/addon_data/script.xbmc.subtitles/sub_tmp/ I see one srt file and it's the one I want.

This usually works for me. Tried with different skins, but it looks like it's unable to write to my Movie location..


RE: [RELEASE] XBMC Subtitles - Addon Script - snakekontrol - 2013-05-09

(2013-05-09, 08:19)amet Wrote: "movieFullPath = urllib.unquote(xbmc.Player().getPlayingFile().decode('utf-8'))# Full path of a playing file
RuntimeError: XBMC is not playing any file"

rPi thinks you are not playing anything

I don't think that's the case, it still fails even when it knows it is playing:


http://pastebin.com/8SP6Ei2v

Can anyone help me?

Thanks!


RE: [RELEASE] XBMC Subtitles - Addon Script - window007 - 2013-05-09

(2013-05-07, 23:21)amet Wrote: looks like you have no read/write permissions on "/storage/.xbmc/userdata/addon_data/script.xbmc.subtitles/" remove it manually and see what happens

Wow Amazing... i uninstalled the add-on and re installed it but nothing happened.
Than i checked your tip of deleting the folder manually.. it i found it quite strange that is was still in the addon_data folder after uninstalling it..
now i deleted the folder and re installed the add-on and it works fine again.

@Amet: TY VM!!!

Problem solved.


RE: [RELEASE] XBMC Subtitles - Addon Script - nabsboss - 2013-05-15

Hi,

I want to build a service, there is some docs (method, function,...) that can help ?

thanks


Can I start the Subs Download from iOS Remote? - Altsouza - 2013-05-15

Hi,

I would like to start the Subtitle Download Process from the iPhone Official Remote (Or other iOS Remote). Is this posible??

Thanks

Antonio


RE: Can I start the Subs Download from iOS Remote? - amet - 2013-05-15

(2013-05-15, 13:17)Altsouza Wrote: Hi,

I would like to start the Subtitle Download Process from the iPhone Official Remote (Or other iOS Remote). Is this posible??

Thanks

Antonio

sure, on official iOS remote just hold subtitle button and if addon is installed the download will start


RE: [RELEASE] XBMC Subtitles - Addon Script - sancho_marbella - 2013-05-17

If it happens to you in xbian this one may do the trick:

sudo rm ./.xbmc/userdata/addon_data/script.xbmc.subtitles/sub_tmp/*

It will erase the temp files and won't stuck downloading subtitles.


RE: [RELEASE] XBMC Subtitles - Addon Script - Majide - 2013-05-25

Hi, will it be easy to add support for Asiatorrents.me which uses the same structure as already supported eutorrents.ph ? Interface and their source code is the same and differ only thematically !