Release Subtitles Mangler - A comprehensive subtitle companion
#61
(2019-05-29, 17:29)testphase Wrote: i thank you for your efforts to bring this add-on, I want to try this, but after installation I got a Error Message,and I can not start the add-on.
I am using coreelec 9.0.2 do you have any idea what was wrong?

Hi,
please set addon's logging level to Debug and provide the log file after the error occurs.
Odroid C2; Libreelec 9.0.2
Reply
#62
(2019-05-30, 07:08)bkiziuk Wrote:
(2019-05-29, 17:29)testphase Wrote: i thank you for your efforts to bring this add-on, I want to try this, but after installation I got a Error Message,and I can not start the add-on.
I am using coreelec 9.0.2 do you have any idea what was wrong?

Hi,
please set addon's logging level to Debug and provide the log file after the error occurs. 
hi thanks for your reply and the hints about the kodi log. i managed to download it and see the actual debug info. based on this i just add the log file manuelly, maybe in the feature a check of existence of the log path can be added to a void the issue Smile

thank you again

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/service.subsmangler/smangler.log'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.subsmangler/service.py", line 2, in <module>
                                                from resources.lib import smangler
                                              File "/storage/.kodi/addons/service.subsmangler/resources/lib/smangler.py", line 14, in <module>
                                                import common
                                              File "/storage/.kodi/addons/service.subsmangler/resources/lib/common.py", line 30, in <module>
                                                loghandler = logging.handlers.TimedRotatingFileHandler(os.path.join(__addonworkdir__, 'smangler.log',), when="midnight", interval=1, backupCount=2)
                                              File "/usr/lib/python2.7/logging/handlers.py", line 171, in __init__
                                              File "/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
                                              File "/usr/lib/python2.7/logging/__init__.py", line 920, in __init__
                                              File "/usr/lib/python2.7/logging/__init__.py", line 950, in _open
                                            IOError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/service.subsmangler/smangler.log'
Reply
#63
(2019-05-30, 19:05)testphase Wrote: based on this i just add the log file manuelly, maybe in the feature a check of existence of the log path can be added to a void the issue

Many thanks for the log. I will push a new version to official repo today.
This issue appeared during code refactoring - log file had been created before data-dir was set-up.
Odroid C2; Libreelec 9.0.2
Reply
#64
Hi @bkiziuk did u have the chance to work on the subtitles included in the containers
Reply
#65
(2019-05-31, 08:39)sasagr Wrote: Hi @bkiziuk did u have the chance to work on the subtitles included in the containers

Hi.
Yes, I tried to approach it. However I met some issues that I don't know how to work-around yet.
The first issue is that the add-on is targeted to be available via official Kodi repo. This implies that no external binaries must be included in the package which then limits use of mkv manipulation tools (mkvinfo, mkvextract) that are not available natively in Kodi.
Second - even if the above was available, it seems that streaming video can not be processed as it is locked by other playback process. So it would probably require to download the entire video, extract subtitles and then initiate playback which is against the idea of streaming.
Odroid C2; Libreelec 9.0.2
Reply
#66
I see. I think that in this case it does not make sense. I don’t know how exactly kodi code works but I thought that maybe kodi was anyway caching the subtitle and put it somewhere temporary that could have been processed by your addon before the playback starts
Reply
#67
(2019-05-31, 08:51)bkiziuk Wrote:
(2019-05-31, 08:39)sasagr Wrote: Hi @bkiziuk did u have the chance to work on the subtitles included in the containers

Hi.
Yes, I tried to approach it. However I met some issues that I don't know how to work-around yet.
The first issue is that the add-on is targeted to be available via official Kodi repo. This implies that no external binaries must be included in the package which then limits use of mkv manipulation tools (mkvinfo, mkvextract) that are not available natively in Kodi.
Second - even if the above was available, it seems that streaming video can not be processed as it is locked by other playback process. So it would probably require to download the entire video, extract subtitles and then initiate playback which is against the idea of streaming.

Hey! On my OLED TV, HDR content shows very bright subtitles and the even changing the color to light grey doesn't improve the situation. Could this addon help with reducing the luminosity/ transparency/ brightness of subtitles?
Reply
#68
(2020-03-17, 09:15)xinseo Wrote: Could this addon help with reducing the luminosity/ transparency/ brightness of subtitles?

Hi. This - in theory - would be possible if the format is set to SubstationAlpha format.
However, as the new pull requests to the Kodi repo now require addons' compatibility with Python 3, I'm waiting with any further development till the appearance of a working Kodi Beta build with a proper Python 3 support.
Odroid C2; Libreelec 9.0.2
Reply



Logout Mark Read Team Forum Stats Members Help
Subtitles Mangler - A comprehensive subtitle companion1
This forum uses Lukasz Tkacz MyBB addons.