RetroPie-Setup icon indicating copy to clipboard operation
RetroPie-Setup copied to clipboard

Kodi PVR addon & Joystick issues with RetroPie

Open C-Fu opened this issue 11 years ago • 11 comments

So after accidentally discovering a Kodi installer (?) within RetroPie-Setup (how awesome! Really appreciate it since it took me a few days just trying my luck installing XBMC and Kodi on my own), I found out that the PVR/LiveTV function was disabled, or unavailable. I believe it's because the "installer" did not install the necessary package for it to function/enable, like Simple IPTV or TvHeadend. So I did

sudo apt-cache search kodi-pvr*

and it returned

kodi-pvr-argustv - XBMC PVR Addon Argustv - PVR API:1.9.2 kodi-pvr-demo - XBMC PVR Demo Addon - PVR API:1.9.2 kodi-pvr-dvbviewer - XBMC PVR Addon Dvbviewer - PVR API:1.9.2 kodi-pvr-iptvsimple - XBMC PVR Iptv Addon - PVR API:1.9.2 kodi-pvr-mediaportal-tvserver - XBMC PVR Addon Mediaportal Tvserver - PVR API:1.9.2 kodi-pvr-mythtv - XBMC PVR Addon MythTv - PVR API:1.9.2 kodi-pvr-nextpvr - XBMC PVR Addon NextPvr - PVR API:1.9.2 kodi-pvr-njoy - XBMC PVR Addon Njoy - PVR API:1.9.2 kodi-pvr-tvheadend-hts - XBMC PVR Addon TvHeadend Hts - PVR API:1.9.2 kodi-pvr-vdr-vnsi - XBMC PVR Addon VDR Vnsi - PVR API:1.9.2 kodi-pvr-vuplus - XBMC PVR Addon Vuplus - PVR API:1.9.2

so I typed

sudo apt-get install kodi-pvr-iptvsimple

and voila, PVR/LiveTV function is available again!

2nd issue is with joystick support. While Retropie & EmulationStation found my joystick, Kodi doesn't. As I understand, there is no support for joystick in Kodi. But then I found this:

https://github.com/garbear/peripheral.joystick

Apparently Kodi devs are working for a new type of addon for Peripherals. http://forum.kodi.tv/showthread.php?tid=171180&pid=1864650#pid1864650 So I tried compiling it as per the instructions, but doesn't work.

Reason I asked is that it would be awesome for me (and I'm sure for a few others as well) to have RetroPie for the gaming backend, EmulationStation 2 as the frontend, Raspbian for Desktop, and Kodi for a full live streaming and media consumption device.

C-Fu avatar Feb 15 '15 14:02 C-Fu

+1

Any news?

SeverinAlexB avatar Jul 19 '15 09:07 SeverinAlexB

Kodi (at least as of 15) supports joystick and gamepads for controlling the interface. Tested on a Void Linux setup with Kodi 15.1 installed, it seems to work, but required me to install certain XML files into the ~/.kodi/userdata/keymaps/ directory. After doing so, it worked perfectly. However, installing these files in the corresponding directory on RetroPie, even with the same version of Kodi, does not work, suggesting that either the build of Kodi used is compiled without joystick/gamepad support, or has downright disabled the support for these.

To enable support for this in Kodi, it needs to be ./configure'd with --enable-sdl and --enable-joystick.

necrophcodr avatar Oct 05 '15 15:10 necrophcodr

Submitted a request here:

http://michael.gorven.za.net/raspberrypi/xbmc#comment-1907

HerbFargus avatar Oct 05 '15 15:10 HerbFargus

@HerbFargus sounds good, gonna follow that thread as much as I can for updates, so I can pull it from the unstable repo, or where ever it lands.

necrophcodr avatar Oct 05 '15 15:10 necrophcodr

I just use xboxdrv with arguments to bind controller buttons/axis to keyboard commands when Kodi is launched, and xboxdrv with basic arguments for emulators to pick it up when in RetroPie.

I have Kodi and RetroPie installed as standalone environments on top of Wheezy.

arka9ine avatar Oct 05 '15 16:10 arka9ine

@pancakeykakes does it work with controllers other than the Xbox controllers?

necrophcodr avatar Oct 06 '15 06:10 necrophcodr

I have not tried with other controllers. I mean, its called xboxdrv so I wouldn't put too many eggs in that basket.

arka9ine avatar Oct 06 '15 06:10 arka9ine

I have the same problem...

FishTest avatar Mar 08 '16 14:03 FishTest

Repo with Kodi 16 added now for RPI - which has patches for joypad support. Requires a manual configuration currently though.

joolswills avatar Apr 09 '16 02:04 joolswills

What kind of manual configuration does it require? No need to go into full detail about it, but some hints, or perhaps links, might be ideal, especially for people following this issue.

necrophcodr avatar Apr 11 '16 21:04 necrophcodr

On the wiki. If you need further help ask on the new forum.

https://retropie.org.uk/forum/

HerbFargus avatar Apr 11 '16 21:04 HerbFargus