how to make your video add-on compatible with raspberry pi
#1
Here is little magic to make your video add-on work with raspberry pi

Replace every single instance of PLAYER_CORE_DVDPLAYER by PLAYER_CORE_AUTO and bump the version and push it out to all the pi users.
Reply
#2
Do they have their own repo?
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
There is an other way to switch the Player

Code:
def __getPlayerType(self):
        oConfig = cConfig()
        sPlayerType = oConfig.getSetting('playerType')

        if (sPlayerType == '0'):
            logger.info('playertype from config: auto')
            return xbmc.PLAYER_CORE_AUTO

        if (sPlayerType == '1'):
            logger.info('playertype from config: mplayer')
            return xbmc.PLAYER_CORE_MPLAYER

        if (sPlayerType == '2'):
            logger.info('playertype from config: dvdplayer')
            return xbmc.PLAYER_CORE_DVDPLAYER

Source plugin.video.xstream-2.0.16\plugin.video.xstream\resources\lib\player.py
Reply
#4
I assume the IsPlayable/setResolvedUrl method works?

@s7m1
Do you have raspbmc? I just got confirmation from one of the developers that "dvdplayer requests get send to omx now".
Reply

Logout Mark Read Team Forum Stats Members Help
how to make your video add-on compatible with raspberry pi0