GithubHelp home page GithubHelp logo

service.autosubs's People

Contributors

amet avatar catzil avatar d4m avatar ghostxwheel avatar juokelis avatar mafarricos avatar rata avatar schumi2004 avatar veronit avatar vpnservercc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

service.autosubs's Issues

Releases aren't tagged

It would be great to have tags for the actual releases to be able to follow the development and see what has changed.

Autosubs 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 "/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

Can't install on the latest Android monthly build

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

auto download the best starred sub

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

Compatibility with Gotham (v13)

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)..

Reload config on settings change ?

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.

TypeError: descriptor 'getAlbum' of 'xbmx.InfoTagMusic' object needs an argument

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

Kodi 20 and autosubs - kodi crash

`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
`

Move and rename script files?

@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.

Doesn't work when a new episode plays automatically

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.