2009-11-10, 20:14
Hi Waffa,
can you please add this diff to your mod? This adds the ability to display the feels like temperature for those cold winter months!
this latest.py diff is so that if a Movie or Episode doesn't have fanart the thumb will be used in the "Latest Movies/Episode" window on the Home screen.
let me know what you think. this way we can keep the mods down. Any thoughts on create a git repo for this so more people can contribute to Minimeedia?
can you please add this diff to your mod? This adds the ability to display the feels like temperature for those cold winter months!
Code:
diff MiniMeedia Waffa!/720p/Custom1001_SkinSettings.xml MiniMeedia_WM/720p/Custom1001_SkinSettings.xml
295a296,307
>
> <control type="radiobutton" id="4">
> <description>Use Feels like for Temp</description>
> <label>$LOCALIZE[31222]</label>
> <onclick>Skin.ToggleSetting(UseFeelsLikeTemp)</onclick>
> <selected>Skin.HasSetting(UseFeelsLikeTemp)</selected>
> <include>SettingsOptionRadioButton</include>
> </control>
>
>
>
>
diff MiniMeedia Waffa!/720p/Home.xml MiniMeedia_WM/720p/Home.xml
71a72
>
83a85,93
> <include>HomeWeatherFeelsLikeText</include>
> <visible>!Skin.HasSetting(ShowLargerClock) + Skin.HasSetting(UseFeelsLikeTemp)</visible>
> </control>
> <control type="label">
> <include>HomeWeatherFeelsLikeText</include>
> <visible>Skin.HasSetting(ShowLargerClock) + Skin.HasSetting(UseFeelsLikeTemp)</visible>
> </control>
> <control type="label">
> <font>SmallDefaultFont</font>
85c95
< <visible>!Skin.HasSetting(ShowLargerClock)</visible>
---
> <visible>!Skin.HasSetting(ShowLargerClock) + !Skin.HasSetting(UseFeelsLikeTemp)</visible>
89c99
< <visible>Skin.HasSetting(ShowLargerClock)</visible>
---
> <visible>Skin.HasSetting(ShowLargerClock)+ !Skin.HasSetting(UseFeelsLikeTemp) </visible>
90a101
>
diff MiniMeedia Waffa!/720p/Includes.xml MiniMeedia_WM/720p/Includes.xml
848a849,859
> <include name="HomeWeatherFeelsLikeText">
> <posx>320</posx>
> <posy>24</posy>
> <width>75</width>
> <height>34</height>
> <textcolor>Selected</textcolor>
> <align>left</align>
> <aligny>center</aligny>
> <label>$INFO[Window(Weather).Property(Current.FeelsLike)] $INFO[System.TemperatureUnits]</label>
> </include>
>
diff -r MiniMeedia Waffa!/language/English/strings.xml MiniMeedia_WM/language/English/strings.xml
45,48d44
< <string id="31110">Slide</string>
< <string id="31111">3D Cover</string>
< <string id="31112">Wheel</string>
<
73,74c69
< <string id="31222">Animated</string>
< <string id="31223">List Item</string>
---
> <string id="31222">Use Feels Like instead of Temperature</string>
Only in MiniMeedia_WM/media: textures.xbt
this latest.py diff is so that if a Movie or Episode doesn't have fanart the thumb will be used in the "Latest Movies/Episode" window on the Home screen.
Code:
diff -r MiniMeedia Waffa!/scripts/latest/latest.py MiniMeedia_WM/scripts/latest/latest.py
129c129
< self.WINDOW.setProperty( "LatestMovie.%d.Fanart" % ( count + 1, ), "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, ) )
---
> fanart = "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, )
134a135,136
> if ( not os.path.isfile( xbmc.translatePath( fanart ) ) ):
> fanart = thumb
135a138
> self.WINDOW.setProperty( "LatestMovie.%d.Fanart" % ( count + 1, ), fanart )
163c166
< self.WINDOW.setProperty( "LatestEpisode.%d.Fanart" % ( count + 1, ), "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, ) )
---
> fanart = "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart", fanart_cache, )
169a173,176
> if ( not os.path.isfile ( xbmc.translatePath( fanart ) ) ):
> fanart = thumb ;
> self.WINDOW.setProperty( "LatestEpisode.%d.Fanart" % ( count + 1, ), fanart )
>
220c227
<
\ No newline at end of file
---
>
let me know what you think. this way we can keep the mods down. Any thoughts on create a git repo for this so more people can contribute to Minimeedia?