retr0rangepi / RetrOrangePi

Official RetrOrangePi
MIT License
165 stars 22 forks source link

Web Interface is not working in Kodi during playback video #19

Closed BondarenkoArtur closed 6 years ago

BondarenkoArtur commented 6 years ago

It seems that mpv (or what else used for hardware acceleration) is broke remote web interface (I'm talking about this one). It works fine in all menus and settings but completely freezes when you starting to play any movie. Shows duration of movie 00:01 and ignores any inputs so I cannot stop playback or turn off OPi. Also I tested the same on playing music. With music everything works flawless, so the problem only in playing videos...

It was tested on Orange Pi One, if any additional information needed, please add a comment. Thanks in advance.

BondarenkoArtur commented 6 years ago

P.S. it seems that I can use old version of kodi (probably 16), I would be thankful if somebody will explain me how to set it by default for booting.

retr0rangepi commented 6 years ago

Kodi 16 (OpenELEC) can be set to default by selecting it from EmulationStation main menu. To return to ES from OpenELEC, click on Programs - Retrorangepi. Builtin video player in Kodi 17 is not hardware accelerated, but has acceptable performance < 720p

BondarenkoArtur commented 6 years ago

Is it possible to do somehow by ssh ? I found few scripts that named boot_to_kodi.sh and others, how is possible to run Kodi 16 (OpenELEC)? Where is it located and what I need to change in script?

retr0rangepi commented 6 years ago

Yes, it's possible. The OpenELEC option in EmulationStation just runs the following command: 'sudo mkimage -C none -A arm -T script -d /boot/boot.kodi.cmd /boot/boot.scr' then reboot

BondarenkoArtur commented 6 years ago

Seems it works, Thanks Is it possible to somehow enable ssh by changing file on SD card? (in OpenElec)

retr0rangepi commented 6 years ago

Can't you just enable it from the settings menu?

BondarenkoArtur commented 6 years ago

Currently no, because I don't have any HDMI TV :(

But anyway this issue with web interface is still appearing on v17 of Kodi. If it's possible i think it would be great to fix it. If not, issue might be closed.

retr0rangepi commented 6 years ago

i need to understand first how the web interface works, i will try something tonight

retr0rangepi commented 6 years ago

I can confirm it works fine on OpenELEC. img_0998

About Kodi Krypton Works as well but not with MPV, as expected from external players img_1001

retr0rangepi commented 6 years ago

it works fine with internal VideoPlayer, but as said, it's not hardware accelerated.