2011-01-16, 00:42
do you want you skin to be on passion-xbmc skin nightly build?
ppic Wrote:do you want you skin to be on passion-xbmc skin nightly build?
ppic Wrote:no, you surely made an error.
# enumerate thru our records and set our properties
for count, episode in enumerate( episodes ):
# separate individual fields
fields = re.findall( "<field>(.*?)</field>", episode, re.DOTALL )
# set properties
self.WINDOW.setProperty( "LatestEpisode.%d.ShowTitle" % ( count + 1, ), fields[ 28 ] )
self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeTitle" % ( count + 1, ), fields[ 2 ] )
self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeNo" % ( count + 1, ), "s%02de%02d" % ( int( fields[ 14 ] ), int( fields[ 15 ] ), ) )
self.WINDOW.setProperty( "LatestEpisode.%d.Rating" % ( count + 1, ), fields[ 5 ] )
self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeSeason" % ( count + 1, ), fields[ 14 ] )
self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeNumber" % ( count + 1, ), fields[ 15 ] )
self.WINDOW.setProperty( "LatestEpisode.%d.Plot" % ( count + 1, ), fields[ 3 ] )
#mod
self.WINDOW.setProperty( "LatestEpisode.%d.FolderPath" % ( count + 1, ), fields[ 25 ] )
# get cache names of path to use for thumbnail/fanart and play path
thumb_cache, fanart_cache, play_path = self._get_media( fields[ 25 ], fields[ 24 ] )
if ( not os.path.isfile( xbmc.translatePath( "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, ) ) ) ):
fanart_cache = xbmc.getCacheThumbName(os.path.join(os.path.split(os.path.split(fields[ 25 ])[0])[0], ""))
if os.path.isfile("%s.dds" % (xbmc.translatePath( "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", os.path.splitext(fanart_cache)[0],) ) )):
fanart_cache = "%s.dds" % (os.path.splitext(fanart_cache)[0],)
self.WINDOW.setProperty( "LatestEpisode.%d.Path" % ( count + 1, ), play_path )
self.WINDOW.setProperty( "LatestEpisode.%d.Fanart" % ( count + 1, ), "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, ) )
# initial thumb path
thumb = "special://profile/Thumbnails/Video/%s/%s" % ( thumb_cache[ 0 ], thumb_cache, )
# if thumb does not exist use an auto generated thumb path
if ( not os.path.isfile( xbmc.translatePath( thumb ) ) ):
thumb = "special://profile/Thumbnails/Video/%s/auto-%s" % ( thumb_cache[ 0 ], thumb_cache, )
self.WINDOW.setProperty( "LatestEpisode.%d.Thumb" % ( count + 1, ), thumb )
bandelguy Wrote:The skin is light on resources yet refreshing. Keep up the good work
ppic Wrote:what are you trying to do ?
#mod
self.WINDOW.setProperty( "LatestEpisode.%d.FolderPath" % ( count + 1, ), fields[ 25 ] )
innyinskip Wrote:This skin looks AWESOME!!! Brilliant work mate, well done!!
Im guessing its not going to be ported to the XBOX?
Would love it if it could be!!
DJXFMA Wrote:Thanks!! Just trying out some stuff! Glad you like it.
Well it could be done I think, I don't use to much functionallity so the response stay's fast. Wich version of XBMC is used for XBOX? And is it also resolution 16:9?? Could make another mod just for XBOX no problem, only I can't test it out.. So you should test it for me, if you are up to the challenge
innyinskip Wrote:Well i use the nightly builds but XBMC4XBXOX is currently on V3.0
My res is 19:9 but that changes for each person!
I would definately be up for testing it out for you mate. Ill give the version on here a go tonight but im sure it will come up with the usual skins compatability error and need to be recompiled using the earlier skin engine before dharma if that make sense?