Auto download Subtitle - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (/forumdisplay.php?fid=143)
+---- Thread: Auto download Subtitle (/showthread.php?tid=129051)
Auto download Subtitle - EZ1976 - 2012-04-16 10:37
love this plugin so thanks a bunch for it.
i have a question: my plugin is set to autodownload "sync" version but is it possible to tell him to autodownload as soon as the movie or tv series starts?
for example if the show or movie doesnt have a subtitle file present, it should check and see if there is one available?
RE: Auto download Subtitle - amet - 2012-04-16 10:39
(2012-04-16 10:37)EZ1976 Wrote: Hi everyone.
Not possible atm, there is no way to run the script when the movie starts... Might look into it at some point
RE: Auto download Subtitle - EZ1976 - 2012-04-16 10:48
thank you for the quick reply.
is it possible to assign a keyboard key or a remote key to the script?
that way i can just press on key and have the subtitle downloaded (even a better idea than the original)
RE: Auto download Subtitle - amet - 2012-04-16 10:55
(2012-04-16 10:48)EZ1976 Wrote: thank you for the quick reply.
Yes, add "Runscript(script.xbmc.subtitles)" in your remote keymap, google that and you'll find how to do it
RE: Auto download Subtitle - brunoga - 2012-06-09 20:26
While we are at it, I have a quick question: I do have the subtitle add-on set to download the first sync subtitle, but this does not seem to work. When i click on the subtitles icon in the OSD, I simply get the window to select the subtitle (after a couple of seconds). Even when the first one listed is marked as async. Am i missing something?
RE: Auto download Subtitle - amet - 2012-06-09 20:27
Only first language is matched against sync
RE: Auto download Subtitle - akiaki - 2012-11-16 11:53
Hi, I'm bringing this up again because I come from MediaPortal, and there a plugin is configured that if no subtitle is found, upon selecting play, plugin looks for subtitles.
Can this be coded somehow here? If no subtitle found, search and download if found, if not found show select screen, and if subtitle exists, don't do anything?
RE: Auto download Subtitle - amet - 2012-11-16 13:11
sure, it shouldn't be too difficult... create service addon to monitor for playback start using Player() class and on start if there is no subs for a given file run XBMC Subtitles. set up subtitle addon to auto download "sync" files and you will get what you described above.
Python Docs have everything you need.
if you dont get anywhere with it i'll see if i can do something about it ...
RE: Auto download Subtitle - amet - 2012-11-16 13:46
here try this ... no guaranties ... https://github.com/downloads/amet/script.autosubs/script.autosubs_0.0.2.zip
install using "install via zip" option under addon manager
source on github -> https://github.com/amet/script.autosubs
RE: Auto download Subtitle - akiaki - 2012-11-16 15:02
thanks! I'l ltry it and report back when I get home from work!
Re: Auto download Subtitle - akiaki - 2012-11-17 00:50
Thank you, after installing and relaunching xbmc it works perfectly!!!!!
You really should include this in the package as an option, I'm sure a lot of people would like this.
I tested on tv series only but I guess it will work for movies too
Re: Auto download Subtitle - akiaki - 2012-11-18 20:38
Ok, so its working too good
It looks for subtitles on every video, including youtube, i can live with it if i have to, but can it be enabled somehow only for local files?
RE: Auto download Subtitle - amet - 2012-11-18 21:07
source on the same link ... no more requests
RE: Auto download Subtitle - schumi2004 - 2012-11-18 21:44
Thanks, this makes my XBMC experience even more complete
Just 1 minor request, Can it be disabled for Live TV section?
I'm willing to fix it myself if i knew it's possible?
I think i found out how.
On line 37
Change it to:
That should do it.
RE: Auto download Subtitle - zilexa - 2012-11-19 12:08
This is soo great, should be included in XBMC by default, inside the subtitle addon! Just a checkbox would do it.