WIP Stereoscopic 3D support for half/full SBS, over/under, etc
Should work like that.

Code:
class MyPlayer(xbmc.Player):
    def _init_ (self):
        xbmc.Player._init_(self)

    def onPlayBackStarted(self):
        if xbmc.Player().isPlayingVideo():
            currentPlayingFile = xbmc.Player().getPlayingFile()
            if re.search(r'3D.OU', currentPlayingFile, re.I):
                xbmc.sleep(500)
                response = xbmc.executebuiltin("Action(3dmodetab)")
                
            if re.search(r'3D.SBS', currentPlayingFile, re.I):
                xbmc.sleep(500)
                response = xbmc.executebuiltin("Action(3dmodesbs)")
                    
    def onPlayBackEnded(self):
        response = xbmc.executebuiltin("Action(3dmodeoff)")

    def onPlayBackStopped(self):
        response = xbmc.executebuiltin("Action(3dmodeoff)")

player=MyPlayer()
while(1):
        xbmc.sleep(500)
Reply
 
Thread Rating:
  • 11 Vote(s) - 4.73 Average


Messages In This Thread
RE: [PATCH]3D Subtitles for half/full SBS and over/under ( - by TeKo - 2013-05-15, 21:15
Intel® InTru™ 3D support - by acidizer - 2014-01-26, 12:47


Logout Mark Read Team Forum Stats Members Help
Stereoscopic 3D support for half/full SBS, over/under, etc4.7311