aussieaddons / plugin.video.afl-video

Kodi add-on for AFL Video
http://aussieaddons.com/addons/afl/
GNU General Public License v3.0
20 stars 6 forks source link

Rabsberry Pi 18+ #2617

Closed CaptainTriangle closed 5 years ago

CaptainTriangle commented 5 years ago

I'm having problem with the add-on saying it requires Kodi 18+, I have version 18.1 installed and could watch the preseason stuff no problems but now I can't watch anything live on the add-on.

I've tried live streams and live TV on other addons with no issue, can anyone help with this

glennguy commented 5 years ago

Sure thing. Do you have the development repository installed? If so check for updates, there was an issue resolved earlier today.

Go to my add-ons, install from repository, then highlight the repo and bring up context menu (right click/long press/press 'c') and select check for updates. There's a dependency that should update and fix the issue.

Ado78 commented 5 years ago

Hi Glennguy, I was having an issue on my retropie where I would select the live match to watch and it would look like it was loading but after a few seconds it just wouldn't load. Replays worked fine, just not live matches. Now I've just tried installing from the development repository following your instructions, but now when I go to watch a live match I get an error;

'Missing Widevine SSD module' libssd_wv.so not found in any expected location. ssd_wv module is supplied with Windows/Mac/LibreELEC, and can be installed from most package managers in Linux eg. "sudo apt install kodi-inputstream-adaptive"

then after pressing ok it says;

AFL Video v1.9.2 Kodi 18+ is now required to view live streams.

Replays still work fine, I have Kodi 18.1 installed, have tried rebooting after re-installing a couple times. Everything works fine on my laptop not sure why it's not working on my retropie. Any suggestions would be much appreciated.

Thanks

glennguy commented 5 years ago

Hi @Ado78 Try ssh into your raspberry pi and run "sudo apt install kodi-inputstream-adaptive" . Hopefully the package is exists and is relatively up to date. libssd_wv.so should come with it and get installed to the correct location.

Ado78 commented 5 years ago

Ah should have mentioned I already tried that too

glennguy commented 5 years ago

What was the result of it? Did it install or did you get something like 'unable to locate package' ?

If it did install, can you run sudo find / -iname 'libssd_wv.so' and let me know where it is?

Also, if you could get us a debug log that would be great:

Thanks

Ado78 commented 5 years ago

It said; Reading package lists… Done Building dependency tree Reading state information… Done Kodi-inputstream-adaptive is already the newest version (2.3.15-1~stretch). Etc 0 upgraded, 0 newly installed

After running sudo find / -iname 'libssd_wv.so' it said this; /usr/lib/arm-linux-gnueabihf/kodi/addons/inputstream.adaptive/libssd_wv.so

Issue number is 4345

Thanks so much for helping look into this!

glennguy commented 5 years ago

Ok I think this is a permissions problem, probably caused by the suggestion to run apt with sudo.

Pretty much we need to change owner of /usr/lib/arm-linux-gnueabihf/kodi/addons/inputstream.adaptive/ to the same as the user Kodi runs as.

Our helper module is checking if the file exists, but because it has no permission to access it it's returning false.

Try running sudo chown -R pi /usr/lib/arm-linux-gnueabihf/kodi/addons/inputstream.adaptive/

Ado78 commented 5 years ago

Nothing happened when running that :/. Tried it twice

glennguy commented 5 years ago

Well there should be no output if there's no issue with the command. But you still get the error complaining there's no libssd_wv.so file?

Ado78 commented 5 years ago

Yeah same error. Replays still work fine

CaptainTriangle commented 5 years ago

Sorry for a slow reply, the set up wasn't at mine and I left before I received any responses, I updated it and it worked fine, I tried that yesterday but I guess it was before the patch was released.

Thanks for the help.