Ignore:
Timestamp:
May 28, 2012, 8:05:40 PM (14 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/swapplayers_mediacenter_1.0/var/swap/extensions/MediaCenter/MC_PictureViewer.py

    r16112 r16119  
    44from Screens.ServiceInfo import ServiceInfoList, ServiceInfoListEntry
    55from Screens.InfoBarGenerics import InfoBarSeek, InfoBarAudioSelection, InfoBarCueSheetSupport, InfoBarNotifications, \
    6         InfoBarShowHide, InfoBarServiceErrorPopupSupport, InfoBarSecondInfobar, \
    7         InfoBarPVRState, InfoBarSimpleEventView, InfoBarServiceNotifications, InfoBarResolutionSelection, \
     6        InfoBarShowHide, InfoBarServiceErrorPopupSupport, \
     7        InfoBarPVRState, InfoBarSimpleEventView, InfoBarServiceNotifications, \
    88        InfoBarMoviePlayerSummarySupport, InfoBarSubtitleSupport, InfoBarTeletextPlugin
     9
    910from Components.AVSwitch import AVSwitch
    1011from Components.ActionMap import ActionMap, NumberActionMap, HelpableActionMap
     
    3839from Plugins.Extensions.Aafpanel.plugin import command
    3940from __init__ import _
     41
     42print "hallllllllllllllllllllllllllllllllllllllllllllllllo"
     43checkpli = False
     44if os.path.isfile("/etc/.enigma2-pli") is True:
     45        checkpli = True
     46
     47try:
     48        from Screens.InfoBarGenerics import InfoBarSecondInfobar, InfoBarResolutionSelection
     49except:
     50        pass
    4051
    4152lastpath = "/"
     
    14251436                self.close()
    14261437
    1427 class MC_PicView(Screen, InfoBarAspectSelection, InfoBarResolutionSelection):
     1438
     1439if checkpli is True:
     1440        input = Screen, InfoBarAspectSelection
     1441else:
     1442        input = Screen, InfoBarAspectSelection, InfoBarResolutionSelection
     1443
     1444class MC_PicView(input):
    14281445        def __init__(self, session, filelist, pindex, path, startslide):
    14291446                self.debug = command('cat /var/etc/autostart/start-config | grep debug | cut -d = -f2')
Note: See TracChangeset for help on using the changeset viewer.