amet / service.autosubs Goto Github PK
View Code? Open in Web Editor NEWauto run XBMC Subtitles if no subs are found for a movie
License: GNU General Public License v2.0
auto run XBMC Subtitles if no subs are found for a movie
License: GNU General Public License v2.0
It would be great to have tags for the actual releases to be able to follow the development and see what has changed.
EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'translatePath'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.autosubs/default.py", line 3, in
from resources.lib.autosubs import *
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.autosubs/resources/lib/autosubs.py", line 14, in
cwd = xbmc.translatePath(addon.getAddonInfo('path'))
^^^^^^^^^^^^^^^^^^
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--
kodi.log
Hey
Thanks so much for this, it's really great.
I'm unable to get this to install on the latest Android monthly build. When trying to install from zip file I get "dependencies not met" error. Can't find it in the addon repository either. Of course I'd love to give you guys more logs/info if needed.
Thanks
A great improvement of this script could be to auto download the best starred sub even if it's not mark has "Sync".
This could be an option with a star level choice from 0 to 5, to accept or not an available sub file
Any change in getting this plugin compatible with the "new" subtitle functionality in Gotham (v13)? Since it doesn't work for me I assume this is because there is no support for this version (yet)..
I'm trying the last few hours to get reload config on settings change to work but it keeps throwing KeyErrors at me and i can't figure out why.
I checked a few example scripts and documentations about Python but i'm missing something here.
Was hoping you could help me on this? (if you have time for it)
This is what i have so far
http://pastebin.com/S8DKT2Gt
Error is this.
http://pastebin.com/Nw732bXv
If i remove this function everything works as expected.
Maybe it's something very simple but i'm missing it here.
Triggers on tv tunes files even though it's excluded.
E.g. I can understand Hindi/Marathi languages well. But I want to have subtitles for English and other languages.
So, if the audio being played is in Hindi or Marathi, I don't want to download the subtitles. For other languages, continue to do as this add-in already does.
I hope that this request is self explanatory and simple.
Hi,
I have TV Show and subtitles next to it, but this plugin always show popup to download subtitles - not only in case I don't have subtitles, but always.
See attached log, hope it helps. http://xbmclogs.com/show.php?id=228611
Happend to me to Gotham 13.1 on Windows 7 and on Android 4.2.2
Regards,
Tomas K.
Can you add support for Gotham version of XBMC?
I get this error occasionally while watching tv episodes using PseudoTV Live (IPTV Simple PVR Add-on)
Kodi: 19.3.0
AutoSubs 1.1.1
Error Type: <class 'TypeError'>
Error Contents: descriptor 'getAlbum' of 'xbmx.InfoTagMusic' object needs an argument
Traceback: File: "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.autosubs/resources.autosubs.py" line 123, in onPlayBackStarted
video_clip_album = xbmx.InfoTagMusic.getAlbum()
TypeError: descriptor 'getAlbum' of 'xbmx.InfoTagMusic' object needs an argument
`2023-01-24 11:10:38.916 T:1118 info : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded '823' EPG channels.
2023-01-24 11:10:48.264 T:1118 info : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded '82388' EPG entries.
2023-01-24 11:10:49.359 T:1118 info : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 17091 (ms)
2023-01-24 11:10:49.406 T:1118 info : AddOnLog: pvr.iptvsimple: Create Starting separate client update thread...
2023-01-24 11:10:49.407 T:1118 info : PVR Manager: Starting
2023-01-24 11:10:55.161 T:1146 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'translatePath'
Traceback (most recent call last):
File "/home/astr/.kodi/addons/service.autosubs/default.py", line 3, in
from resources.lib.autosubs import *
File "/home/astr/.kodi/addons/service.autosubs/resources/lib/autosubs.py", line 14, in
cwd = xbmc.translatePath(addon.getAddonInfo('path'))
AttributeError: module 'xbmc' has no attribute 'translatePath'
-->End of Python script error report<--
2023-01-24 11:11:01.204 T:1144 info : ### Unpause Jumpback 3.0.3 - Starting...
2023-01-24 11:11:01.204 T:1144 info : ### Unpause Jumpback 3.0.3 - Kodi Version: 20.0 (20.0.0) Git:20230115-389e701cb9
2023-01-24 11:11:01.204 T:1144 info : ### Unpause Jumpback 3.0.3 - Addon arguments: ['']
2023-01-24 11:11:01.366 T:1165 info : PVR Manager: Started
`
@amet
Can you move files so it's usable for end users to directly install it in XBMC as zip file ?
Rename branch to service.autosubs since it's a service? Not really necessary but looks cleaner imo ;)
Thanks in advance.
Subtitle download isn't triggered when you play http/rtmp streams.
I'm currently using nextup service notification which is a supported addon for the rapier skin.
When I play a episode directly from my library the autosubs works just fine however when I let it automatically go to the next episode when the previous episode is over it won't automatically download the subtitles again. I think this might have to with the way the autosubs is being called?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.