Changeset 3946


Ignore:
Timestamp:
Sep 12, 2010, 7:31:51 PM (16 years ago)
Author:
civer
Message:

[IPK /mayhemIII Kingsize/HD ]

  • rm unneded code
  • added new screen
Location:
ipk/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/mediacenter_mayhemIIIHD_3_1/usr/lib/enigma2/python/Plugins/Extensions/MediaCenter/skins/mayhemIIIHD/skin.xml

    r3919 r3946  
    190190                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    191191                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    192                                         <applet type="onLayoutFinish">
    193 from Components.config import *
    194 currentview = config.plugins.mc_vp_view.enabled.getValue()
    195 print "[Mediacenter] VideoPlayer mayhemIII-HD FLASH currentview:", currentview
    196 
    197 from Components.AVSwitch import AVSwitch
    198 self.FramebufferScale = AVSwitch().getFramebufferScale()
    199 
    200 self.spaceTop = 100
    201 self.spaceLeft = 25
    202 
    203 self.textcolor = "#FFFFFF"
    204 self.color = "#000000"
    205 textsize = 18
    206 self.spaceX = 35
    207 self.picX = 200
    208 self.spaceY = 25
    209 self.picY = 230
    210 self.thumbsX = 5 # thumbnails in X
    211 self.thumbsY = 2 # thumbnails in Y
    212 self.thumbsC = 10 # all thumbnails
    213 thumbsC = self.thumbsC
    214 self.positionlist = []
    215 skincontent = ""
    216 posX = -1
    217 for x in range(self.thumbsC):
    218         posY = x / self.thumbsX
    219         posX += 1
    220         if posX >= self.thumbsX:
    221                 posX = 0
    222         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    223         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    224         self.positionlist.append((absX, absY))
     192                </screen>
     193
     194                <!--MC GlobalFunctions IMDB Info Screen-->
     195                <screen name="MC_VideoImdbView" position="0,0" size="1280,720" title="Imdbfile Info" backgroundColor="#42000000" >
     196                        <widget name="thumbCoverBig" position="735,35" size="515,650" zPosition="2" transparent="1" alphatest="on" />
     197                        <widget name="thumbPosterMid" position="735,35" size="515,650" zPosition="3" transparent="1" alphatest="on" />
     198                        <widget name="imdbinfo" font="Regular;18" position="50,35" size="680,650" zPosition="4" transparent="1" />
     199                        <eLabel backgroundColor="green" position="406,689" size="140,3" zPosition="5"/>
     200                        <eLabel backgroundColor="red" position="133,689" size="140,3" zPosition="5"/>
     201                        <widget name="key_red" position="133,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     202                        <widget name="key_green" position="406,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     203                                <applet type="onLayoutFinish">
     204# here you can set the pictures sizes
     205self.picX = 515
     206self.picY = 650
     207# start showing the screen
     208self.showPic()
    225209                                </applet>
    226210                </screen>
    227 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    228 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    229 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
    230211
    231212                <!--MC MoviePlayer Infobar-->
     
    314295                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    315296                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    316                                         <applet type="onLayoutFinish">
    317 from Components.config import *
    318 currentview = config.plugins.mc_vp_view.enabled.getValue()
    319 print "[Mediacenter] VideoPlayer mayhemIII-HD FLASH currentview:", currentview
    320 
    321 from Components.AVSwitch import AVSwitch
    322 self.FramebufferScale = AVSwitch().getFramebufferScale()
    323 
    324 self.spaceTop = 100
    325 self.spaceLeft = 25
    326 
    327 self.textcolor = "#FFFFFF"
    328 self.color = "#000000"
    329 textsize = 18
    330 self.spaceX = 35
    331 self.picX = 200
    332 self.spaceY = 25
    333 self.picY = 230
    334 self.thumbsX = 5 # thumbnails in X
    335 self.thumbsY = 2 # thumbnails in Y
    336 self.thumbsC = 10 # all thumbnails
    337 thumbsC = self.thumbsC
    338 self.positionlist = []
    339 skincontent = ""
    340 posX = -1
    341 for x in range(self.thumbsC):
    342         posY = x / self.thumbsX
    343         posX += 1
    344         if posX >= self.thumbsX:
    345                 posX = 0
    346         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    347         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    348         self.positionlist.append((absX, absY))
    349                                 </applet>
    350                 </screen>
    351 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    352 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    353 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     297                </screen>
    354298
    355299                <!-- MC Radio Player -->
  • ipk/source/mediacenter_mayhemIIIKS_3_1/usr/lib/enigma2/python/Plugins/Extensions/MediaCenter/skins/mayhemIIIKS/skin.xml

    r3919 r3946  
    189189                        <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    190190                        <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    191 
    192                         <applet type="onLayoutFinish">
    193 from Components.config import *
    194 currentview = config.plugins.mc_vp_view.enabled.getValue()
    195 print "[Mediacenter] VideoPlayer mayhemIII-KS FLASH currentview:", currentview
    196 
    197 from Components.AVSwitch import AVSwitch
    198 self.FramebufferScale = AVSwitch().getFramebufferScale()
    199 
    200 self.spaceTop = 100
    201 self.spaceLeft = 25
    202 
    203 self.textcolor = "#FFFFFF"
    204 self.color = "#000000"
    205 textsize = 18
    206 self.spaceX = 35
    207 self.picX = 200
    208 self.spaceY = 15
    209 self.picY = 200
    210 self.thumbsX = 4 # thumbnails in X
    211 self.thumbsY = 2 # thumbnails in Y
    212 self.thumbsC = 8 # all thumbnails
    213 thumbsC = self.thumbsC
    214 self.positionlist = []
    215 skincontent = ""
    216 posX = -1
    217 for x in range(self.thumbsC):
    218         posY = x / self.thumbsX
    219         posX += 1
    220         if posX >= self.thumbsX:
    221                 posX = 0
    222         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    223         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    224         self.positionlist.append((absX, absY))
    225                           </applet>
    226                 </screen>
    227 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    228 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    229 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     191                </screen>
     192
     193                <!--MC GlobalFunctions IMDB Info Screen-->
     194                <screen name="MC_VideoImdbView" position="0,0" size="1024,576" title="Imdbfile Info" backgroundColor="#42000000" >
     195                        <widget name="thumbCoverBig" position="518,20" size="471,536" zPosition="2" transparent="1" alphatest="on" />
     196                        <widget name="thumbPosterMid" position="518,20" size="471,536" zPosition="3" transparent="1" alphatest="on" />
     197                        <widget name="imdbinfo" font="Regular;18" position="35,30" size="480,500" zPosition="4" transparent="1" />
     198                        <eLabel backgroundColor="green" position="326,555" size="140,3" zPosition="5"/>
     199                        <eLabel backgroundColor="red" position="93,555" size="140,3" zPosition="5"/>
     200                        <widget name="key_red" position="93,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     201                        <widget name="key_green" position="326,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     202                                <applet type="onLayoutFinish">
     203# here you can set the pictures sizes
     204self.picX = 471
     205self.picY = 536
     206# start showing the screen
     207self.showPic()
     208                                </applet>
     209                </screen>
    230210
    231211                <!--MC MoviePlayer Infobar-->
     
    309289                        <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    310290                        <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    311 
    312                         <applet type="onLayoutFinish">
    313 from Components.config import *
    314 currentview = config.plugins.mc_vp_view.enabled.getValue()
    315 print "[Mediacenter] VideoPlayer mayhemIII-KS FLASH currentview:", currentview
    316 
    317 from Components.AVSwitch import AVSwitch
    318 self.FramebufferScale = AVSwitch().getFramebufferScale()
    319 
    320 self.spaceTop = 100
    321 self.spaceLeft = 25
    322 
    323 self.textcolor = "#FFFFFF"
    324 self.color = "#000000"
    325 textsize = 18
    326 self.spaceX = 35
    327 self.picX = 200
    328 self.spaceY = 15
    329 self.picY = 200
    330 self.thumbsX = 4 # thumbnails in X
    331 self.thumbsY = 2 # thumbnails in Y
    332 self.thumbsC = 8 # all thumbnails
    333 thumbsC = self.thumbsC
    334 self.positionlist = []
    335 skincontent = ""
    336 posX = -1
    337 for x in range(self.thumbsC):
    338         posY = x / self.thumbsX
    339         posX += 1
    340         if posX >= self.thumbsX:
    341                 posX = 0
    342         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    343         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    344         self.positionlist.append((absX, absY))
    345                           </applet>
    346                 </screen>
    347 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    348 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    349 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     291                </screen>
    350292
    351293                <!-- MC Radio Player -->
  • ipk/source/swapmediacenter_mayhemIIIHD_3_1/var/swap/mcskins/mayhemIIIHD/skin.xml

    r3919 r3946  
    190190                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    191191                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    192                                         <applet type="onLayoutFinish">
    193 from Components.config import *
    194 currentview = config.plugins.mc_vp_view.enabled.getValue()
    195 print "[Mediacenter] VideoPlayer mayhemIII-HD FLASH currentview:", currentview
    196 
    197 from Components.AVSwitch import AVSwitch
    198 self.FramebufferScale = AVSwitch().getFramebufferScale()
    199 
    200 self.spaceTop = 100
    201 self.spaceLeft = 25
    202 
    203 self.textcolor = "#FFFFFF"
    204 self.color = "#000000"
    205 textsize = 18
    206 self.spaceX = 35
    207 self.picX = 200
    208 self.spaceY = 25
    209 self.picY = 230
    210 self.thumbsX = 5 # thumbnails in X
    211 self.thumbsY = 2 # thumbnails in Y
    212 self.thumbsC = 10 # all thumbnails
    213 thumbsC = self.thumbsC
    214 self.positionlist = []
    215 skincontent = ""
    216 posX = -1
    217 for x in range(self.thumbsC):
    218         posY = x / self.thumbsX
    219         posX += 1
    220         if posX >= self.thumbsX:
    221                 posX = 0
    222         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    223         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    224         self.positionlist.append((absX, absY))
     192                </screen>
     193
     194                <!--MC GlobalFunctions IMDB Info Screen-->
     195                <screen name="MC_VideoImdbView" position="0,0" size="1280,720" title="Imdbfile Info" backgroundColor="#42000000" >
     196                        <widget name="thumbCoverBig" position="735,35" size="515,650" zPosition="2" transparent="1" alphatest="on" />
     197                        <widget name="thumbPosterMid" position="735,35" size="515,650" zPosition="3" transparent="1" alphatest="on" />
     198                        <widget name="imdbinfo" font="Regular;18" position="50,35" size="680,650" zPosition="4" transparent="1" />
     199                        <eLabel backgroundColor="green" position="406,689" size="140,3" zPosition="5"/>
     200                        <eLabel backgroundColor="red" position="133,689" size="140,3" zPosition="5"/>
     201                        <widget name="key_red" position="133,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     202                        <widget name="key_green" position="406,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     203                                <applet type="onLayoutFinish">
     204# here you can set the pictures sizes
     205self.picX = 515
     206self.picY = 650
     207# start showing the screen
     208self.showPic()
    225209                                </applet>
    226210                </screen>
    227 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    228 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    229 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
    230211
    231212                <!--MC MoviePlayer Infobar-->
     
    314295                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    315296                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    316                                         <applet type="onLayoutFinish">
    317 from Components.config import *
    318 currentview = config.plugins.mc_vp_view.enabled.getValue()
    319 print "[Mediacenter] VideoPlayer mayhemIII-HD FLASH currentview:", currentview
    320 
    321 from Components.AVSwitch import AVSwitch
    322 self.FramebufferScale = AVSwitch().getFramebufferScale()
    323 
    324 self.spaceTop = 100
    325 self.spaceLeft = 25
    326 
    327 self.textcolor = "#FFFFFF"
    328 self.color = "#000000"
    329 textsize = 18
    330 self.spaceX = 35
    331 self.picX = 200
    332 self.spaceY = 25
    333 self.picY = 230
    334 self.thumbsX = 5 # thumbnails in X
    335 self.thumbsY = 2 # thumbnails in Y
    336 self.thumbsC = 10 # all thumbnails
    337 thumbsC = self.thumbsC
    338 self.positionlist = []
    339 skincontent = ""
    340 posX = -1
    341 for x in range(self.thumbsC):
    342         posY = x / self.thumbsX
    343         posX += 1
    344         if posX >= self.thumbsX:
    345                 posX = 0
    346         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    347         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    348         self.positionlist.append((absX, absY))
    349                                 </applet>
    350                 </screen>
    351 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    352 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    353 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     297                </screen>
    354298
    355299                <!-- MC Radio Player -->
  • ipk/source/swapmediacenter_mayhemIIIKS_3_1/var/swap/mcskins/mayhemIIIKS/skin.xml

    r3919 r3946  
    189189                        <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    190190                        <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    191 
    192                         <applet type="onLayoutFinish">
    193 from Components.config import *
    194 currentview = config.plugins.mc_vp_view.enabled.getValue()
    195 print "[Mediacenter] VideoPlayer mayhemIII-KS SWAP currentview:", currentview
    196 
    197 from Components.AVSwitch import AVSwitch
    198 self.FramebufferScale = AVSwitch().getFramebufferScale()
    199 
    200 self.spaceTop = 100
    201 self.spaceLeft = 25
    202 
    203 self.textcolor = "#FFFFFF"
    204 self.color = "#000000"
    205 textsize = 18
    206 self.spaceX = 35
    207 self.picX = 200
    208 self.spaceY = 15
    209 self.picY = 200
    210 self.thumbsX = 4 # thumbnails in X
    211 self.thumbsY = 2 # thumbnails in Y
    212 self.thumbsC = 8 # all thumbnails
    213 thumbsC = self.thumbsC
    214 self.positionlist = []
    215 skincontent = ""
    216 posX = -1
    217 for x in range(self.thumbsC):
    218         posY = x / self.thumbsX
    219         posX += 1
    220         if posX >= self.thumbsX:
    221                 posX = 0
    222         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    223         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    224         self.positionlist.append((absX, absY))
    225                           </applet>
    226                 </screen>
    227 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    228 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    229 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     191                </screen>
     192
     193                <!--MC GlobalFunctions IMDB Info Screen-->
     194                <screen name="MC_VideoImdbView" position="0,0" size="1024,576" title="Imdbfile Info" backgroundColor="#42000000" >
     195                        <widget name="thumbCoverBig" position="518,20" size="471,536" zPosition="2" transparent="1" alphatest="on" />
     196                        <widget name="thumbPosterMid" position="518,20" size="471,536" zPosition="3" transparent="1" alphatest="on" />
     197                        <widget name="imdbinfo" font="Regular;18" position="35,30" size="480,500" zPosition="4" transparent="1" />
     198                        <eLabel backgroundColor="green" position="326,555" size="140,3" zPosition="5"/>
     199                        <eLabel backgroundColor="red" position="93,555" size="140,3" zPosition="5"/>
     200                        <widget name="key_red" position="93,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     201                        <widget name="key_green" position="326,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     202                                <applet type="onLayoutFinish">
     203# here you can set the pictures sizes
     204self.picX = 471
     205self.picY = 536
     206# start showing the screen
     207self.showPic()
     208                                </applet>
     209                </screen>
    230210
    231211                <!--MC MoviePlayer Infobar-->
     
    310290                        <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    311291                        <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />"
    312 
    313                         <applet type="onLayoutFinish">
    314 from Components.config import *
    315 currentview = config.plugins.mc_vp_view.enabled.getValue()
    316 print "[Mediacenter] VideoPlayer mayhemIII-KS SWAP currentview:", currentview
    317 
    318 from Components.AVSwitch import AVSwitch
    319 self.FramebufferScale = AVSwitch().getFramebufferScale()
    320 
    321 self.spaceTop = 100
    322 self.spaceLeft = 25
    323 
    324 self.textcolor = "#FFFFFF"
    325 self.color = "#000000"
    326 textsize = 18
    327 self.spaceX = 35
    328 self.picX = 200
    329 self.spaceY = 15
    330 self.picY = 200
    331 self.thumbsX = 4 # thumbnails in X
    332 self.thumbsY = 2 # thumbnails in Y
    333 self.thumbsC = 8 # all thumbnails
    334 thumbsC = self.thumbsC
    335 self.positionlist = []
    336 skincontent = ""
    337 posX = -1
    338 for x in range(self.thumbsC):
    339         posY = x / self.thumbsX
    340         posX += 1
    341         if posX >= self.thumbsX:
    342                 posX = 0
    343         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    344         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    345         self.positionlist.append((absX, absY))
    346                           </applet>
    347                 </screen>
    348 #       print "label(%s)     pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize))
    349 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    350 #       print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10,  str(self.picY - (textsize*2) + 10))
     292                </screen>
    351293
    352294                <!-- MC Radio Player -->
Note: See TracChangeset for help on using the changeset viewer.