Addon on Krypton working but on Jarvis doesn't
#1
Hi,

Does anyone know why an Addon can play content ( .mp3 and .mkv files ) on Krypton, but when I install the same addon on Jarvis the playback won't start?

addon.xml -> http://pastebin.com/DbMs8KNE

addon.py -> http://pastebin.com/12NZCzqn

Thank you!
Reply
#2
Debug Log might provide some clues.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2016-03-18, 22:45)ronie Wrote: Debug Log might provide some clues.

You are very right sir, here is my log: http://xbmclogs.com/p9ausupmq

What I have noticed is this:

SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/lates...ingwarning.
SNIMissingWarning

When I click an playable file I am getting it's URL with this method:

url = s.get(api_base + '/api/v2/mounts/' + mount['id'] + '/files/download', params = {'path': foldername + '/' + file['name']}).json()['link']

What should I do in this case ?
Reply
#4
only thing you can do is disable certificate validation.

It works on Krypton, since we upgraded python and now also provide needed trust certs.
Reply
#5
How can I disable certificate validation ?

I tried to disable it by adding verify=False in the following:

URL = s.get(api_base + '/api/v2/mounts/' + mount['id'] + '/files/download', params = {'path': foldername + '/' + file['name']}, verify=False).json()['link']

according to this link: http://docs.python-requests.org/en/maste.../advanced/

After doing more researches I was able to disable it by ading requests.packages.urllib3.disable_warnings()

But now when I try to play a video I get this: 09:23:35 T:5952 NOTICE: CRenderSystemDX::CreateDevice - Your video driver doesn't support DirectX 11 Video Acceleration API. Application is not be able to use hardware video processing and decoding
Reply

Logout Mark Read Team Forum Stats Members Help
Addon on Krypton working but on Jarvis doesn't1