From 4cbb648dc4b49ce4233a1b324a42c90c4e9b39f9 Mon Sep 17 00:00:00 2001 From: im85288 Date: Mon, 1 Jun 2015 09:12:09 +0100 Subject: [PATCH] nextup info removed --- resources/lib/NextUpInfo.py | 102 --------- resources/skins/default/720p/NextUpInfo.xml | 198 ------------------ resources/skins/default/media/box.png | Bin 244 -> 0 bytes resources/skins/default/media/imdb.png | Bin 2453 -> 0 bytes resources/skins/default/media/progress-bg.png | Bin 349 -> 0 bytes .../skins/default/media/progress-end.png | Bin 190 -> 0 bytes resources/skins/default/media/white.png | Bin 263 -> 0 bytes 7 files changed, 300 deletions(-) delete mode 100644 resources/lib/NextUpInfo.py delete mode 100644 resources/skins/default/720p/NextUpInfo.xml delete mode 100644 resources/skins/default/media/box.png delete mode 100644 resources/skins/default/media/imdb.png delete mode 100644 resources/skins/default/media/progress-bg.png delete mode 100644 resources/skins/default/media/progress-end.png delete mode 100644 resources/skins/default/media/white.png diff --git a/resources/lib/NextUpInfo.py b/resources/lib/NextUpInfo.py deleted file mode 100644 index ec54567a..00000000 --- a/resources/lib/NextUpInfo.py +++ /dev/null @@ -1,102 +0,0 @@ - -import sys -import xbmc -import xbmcgui -import xbmcaddon -import json as json -import urllib -from API import API -from PlaybackUtils import PlaybackUtils - -ACTION_PLAYER_STOP = 13 - -class NextUpInfo(xbmcgui.WindowXMLDialog): - - item = None - cancel = False - watchnow = False - - def __init__(self, *args, **kwargs): - xbmcgui.WindowXMLDialog.__init__(self, *args, **kwargs) - - def onInit(self): - self.action_exitkeys_id = [10, 13] - - image = API().getArtwork(self.item, "Primary2") - clearartimage = API().getArtwork(self.item, "Art") - overview = API().getOverview(self.item) - name = API().getName(self.item) - - episodeInfo = "" - season = str(self.item.get("ParentIndexNumber")) - episodeNum = str(self.item.get("IndexNumber")) - episodeInfo = season + "x" + episodeNum + "." - - rating = None - if self.item.get("CommunityRating") != None and self.item.get("CommunityRating") !="": - rating = str(self.item.get("CommunityRating")) - year = API().getPremiereDate(self.item) - duration = str(int(self.item.get("RunTimeTicks", "0"))/(10000000*60)) - info = year + " " + str(duration) + " min" - # set the dialog data - self.getControl(3000).setLabel(name) - self.getControl(3001).setText(overview) - self.getControl(3002).setLabel(episodeInfo) - self.getControl(3004).setLabel(info) - - self.getControl(3009).setImage(image) - self.getControl(3006).setImage(clearartimage) - - if rating != None: - self.getControl(3003).setLabel(rating) - else: - self.getControl(3003).setVisible(False) - - - def setItem(self, item): - self.item = item - - def setCancel(self, cancel): - self.cancel = cancel - - def isCancel(self): - return self.cancel - - def setWatchNow(self, watchnow): - self.watchnow = watchnow - - def isWatchNow(self): - return self.watchnow - - def onFocus(self, controlId): - pass - - def doAction(self): - pass - - def closeDialog(self): - self.close() - - def onClick(self, controlID): - - xbmc.log("nextup info onclick: "+str(controlID)) - - if(controlID == 3012): - # watch now - self.setWatchNow(True) - self.close() - - elif(controlID == 3013): - #cancel - self.setCancel(True) - self.close() - - pass - - def onAction(self, action): - - xbmc.log("nextup info action: "+str(action.getId())) - if action == ACTION_PLAYER_STOP: - self.close() - - diff --git a/resources/skins/default/720p/NextUpInfo.xml b/resources/skins/default/720p/NextUpInfo.xml deleted file mode 100644 index 86f43e3c..00000000 --- a/resources/skins/default/720p/NextUpInfo.xml +++ /dev/null @@ -1,198 +0,0 @@ - - - 3012 - 0 - - - - Conditional - Visible - WindowOpen - - 0 - 110 - 500 - 281 - keep - - - 110r - 100% - 374 - white.png - ff010101 - - - - Watch Now - 0 - 40 - 200 - 3013 - 3013 - font14 - - FFededed - B3dddddd - FFff4081 - 68 - ff333333 - - - Cancel - 0 - -30 - 200 - 3012 - 3012 - font14 - - FFededed - B3dddddd - FFff4081 - 68 - ff333333 - - - - 300r - 0 - 100% - Visible - WindowOpen - - 80 - 80 - 20 - 20 - - -70 - -226 - 334 - 486 - - - 294 - 0 - - 100% - 0 - 40 - font16 - B3dddddd - - - - 100% - 0 - 175 - 40 - font16 - B3dddddd - false - - - 100% - 267 - 0 - 40 - font16 - orange - false - - - 52 - 24 - 24 - keep - imdb.png - Control.IsVisible(3003) - - - 35 - 100% - 50 - 40 - font14 - B3dddddd - - - 90 - 100% - 50 - 40 - font14 - B3dddddd - false - Control.IsVisible(3003) - - - 100% - 50 - 40 - font14 - B3dddddd - false - !Control.IsVisible(3003) - - - 85% - 105 - 68 - font12 - justify - 0 - 4Ddddddd - - - 400 - 30 - 40 - font12 - B3dddddd - - - - -30 - right - 400 - 30 - 80 - WeatherTemp - B3dddddd - - - - Progress Back - 100% - 10 - 8 - white.png - ` - - - Progress Bar - 100% - 10 - 8 - Player.ProgressCache - true - progress-bg.png - progress-end.png - progress-end.png - progress-end.png - - - Progress Bar - 100% - 10 - 8 - Player.Progress - true - - - - - - - \ No newline at end of file diff --git a/resources/skins/default/media/box.png b/resources/skins/default/media/box.png deleted file mode 100644 index 6885d23f5e4b7f38fa8c3399f4d50ddcddb9501b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7a$D;Kb?2i11Zh|kH}&M z25w;xW@MN(M*=9wUgGKN%6^Yalv70I%Ikz5Kq1-8kcblJ{M_8syb>Unfx)>bHL)Z$ zMWH;iBtya7(>EYRFO?lA9^vWY7!q;#?R7)O1_K_}i{5(^R?avmFfGdPID^!QPx+_5 z-IrpxvQqDVF4L9rJ6}qs?P^%exxsttF}Aa;0uBs}EO3G+!TjBO#+crQ^4*_p>lt)2 V{}@dFm3tOsxu>h2%Q~loCIDM`NpAoE diff --git a/resources/skins/default/media/imdb.png b/resources/skins/default/media/imdb.png deleted file mode 100644 index 459c23a45a7254bf1d79f1920adbe3c04f2d8aad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2453 zcmai0c|4Ts9v>RSsSa6^q_@${QfB5gX2uLd#>`lvFp7)HtY%`CW?s!mC1Xpvq}!hT z+*YBol%){KQc6y;BnlOZsH}B6qmxd5+|Rl1=Y8Mjd48Yo_xoG_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7ZW{63SoY-(sw%}4M_J>mY&vMZDY+dbM0 z642*NqS_CqCvdMh{1S9j0eb9Ii-EOUdK#LgKiuN~C2ZRXIyTWZZ{L1Iqt-1)J+B(L z&(f291lJoMRBsoK7ff1~6>5vX#Ly($$2!(@gE&T8dsy|cqBErx8D|d#xc7DCJb!Yg zt+W0P)r|54sK4o}xB^6&W^3BO z+M3N7i{-cWlUJSL9$hpA-5upsp3AOpF5O%|GPq?;#cd}t-9N40gysTA=t_+)dPh_| z8ND>y-2EvuX%z00;$dm+v90*`vM}K_ixmBpVZ_x1FG`<e-`OgHR;JshEW3c7JQ^(gC1U9~QWSaC{ zl??3*#=AR09u4oO`S{4xy7*Yb*~cMIXe|oZ*?aN}XI0xqqW3)*$$fWHQMvk7DU>li zb;u`4IvzvoO`TS_w8A3ao}O7n3YpkDobNPX*=XRt?qu`HwR#Q!mo?eMe$bQr;GVf8 zQDIlkIr4~Dq8TUgFHRoei#zgnH{`hr&)7H1B@vhU@0ulFHV!ahAhJSU-M6Xk-xc4~ z-hZRdZZ@fG?dFav7Ipel=JlLNm)D60q7A|)lULf2QyZz#zglp~r*adfDD=yfbJ`KpD6brck56R+k*&0Un-sGBJHwc6x=<10~GS}6cQDD6O*StiH`;<*x~8o7*cWT?M+9)0|pF-H4sMQ%EHZW7 RA+jL*JYD@<);T3K0RYu%LVExJ diff --git a/resources/skins/default/media/progress-end.png b/resources/skins/default/media/progress-end.png deleted file mode 100644 index 06ebe8f0436a72a67ab1d2cb18707009ba113b61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^96&6wy$!fk$L9 z0|U1(2s1Lwnj--eWH0gbb!ETDB*Mzab7ARoNuZEgW=KSdbAE1aYF-JD%fR4Vl$uzQ znxasiS(2gP?&%w#ke{cJsNkEJJoQO@G*E%0r;B5V#`)ww|NsB5XR~SOY-ErKHJBs9 Yzz`V3B9pb@{TYxkp00i_>zopr0Hv!i8UO$Q diff --git a/resources/skins/default/media/white.png b/resources/skins/default/media/white.png deleted file mode 100644 index 136602c62b5c777dbd23c678f700fecc9b963b37..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 263 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Y)RhkEFVdQ&MBb@0Df;e82|tP