2005-06-09, 16:22
has anybody else noticed ifilmbrowser doesn't change background images?
if so, here are the changes to fix that. maybe it's just my copy. (watch for proper tabbing)
look for this definition "def getbackgroundpath(self,type):" and replace it with:
to get rid of the blanking of the background when switching. look for " def load_area_screen(self):" and comment out the following line #self.removecontrol(self.background)
change the lines just below:
to:
and finally find "def destroy_area_screen(self):"
change:
i think that's all i changed.
if so, here are the changes to fix that. maybe it's just my copy. (watch for proper tabbing)
look for this definition "def getbackgroundpath(self,type):" and replace it with:
Quote: def getbackgroundpath(self,type):
path = pics_dir+'ifilm_main.png'
if type == self.ifilmareas[pos_movies].id:
path = pics_dir+'ifilm_movie.png'
if type == self.ifilmareas[pos_shorts].id:
path = pics_dir+'ifilm_short.png'
if type == self.ifilmareas[pos_viral].id:
path = pics_dir+'ifilm_viral.png'
if type == self.ifilmareas[pos_uncensored].id:
path = pics_dir+'ifilm_uncen.png'
if type == self.ifilmareas[pos_music].id:
path = pics_dir+'ifilm_music.png'
if type == self.ifilmareas[pos_video_games].id:
path = pics_dir+'ifilm_game.png'
if type == self.ifilmareas[pos_tv_clips].id:
path = pics_dir+'ifilm_tv.png'
return path;
to get rid of the blanking of the background when switching. look for " def load_area_screen(self):" and comment out the following line #self.removecontrol(self.background)
change the lines just below:
Quote: self.background = xbmcgui.controlimage(0,0, int(720*self.scalex),int(480*self.scaley), self.getbackgroundpath(self.currentselectedareaid))
self.addcontrol(self.background)
to:
Quote: self.background2 = xbmcgui.controlimage(0,0, int(720*self.scalex),int(480*self.scaley), self.getbackgroundpath(self.currentselectedareaid))
self.addcontrol(self.background2)
and finally find "def destroy_area_screen(self):"
change:
Quote: self.removecontrol(self.background)to:
Quote: self.removecontrol(self.background2)
i think that's all i changed.