Auto download Subtitle

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
EZ1976 Offline
Senior Member
Posts: 145
Joined: Apr 2012
Reputation: 1
Post: #1
Hi everyone.
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?
thanks
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #2
(2012-04-16 10:37)EZ1976 Wrote:  Hi everyone.
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?
thanks

Not possible atm, there is no way to run the script when the movie starts... Might look into it at some point


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
EZ1976 Offline
Senior Member
Posts: 145
Joined: Apr 2012
Reputation: 1
Post: #3
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)
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #4
(2012-04-16 10:48)EZ1976 Wrote:  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)

Yes, add "Runscript(script.xbmc.subtitles)" in your remote keymap, google that and you'll find how to do it


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
brunoga Offline
Junior Member
Posts: 6
Joined: Jun 2012
Reputation: 0
Post: #5
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?
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #6
Only first language is matched against sync


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
akiaki Offline
Member
Posts: 50
Joined: Sep 2008
Reputation: 0
Post: #7
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?
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #8
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 ...


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
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #9
here try this ... no guaranties ... https://github.com/downloads/amet/script..._0.0.2.zip

install using "install via zip" option under addon manager

source on github -> https://github.com/amet/script.autosubs


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-11-16 13:47 by amet.)
find quote
akiaki Offline
Member
Posts: 50
Joined: Sep 2008
Reputation: 0
Post: #10
thanks! I'l ltry it and report back when I get home from work!
find quote
Post Reply