2010-11-27, 16:48
long time user of xbmc. since some people have a hard time with basic skinning(me).....
and work better with examples modified for there own use, i thought id post some easy examples of the home screen mods for confluence.
(i struggled with finding the right "onclick syntaxes")
this shows examples of launching plugins, scripts, and external programs.
Dnt copy and paste this directly into your home.xml... im sure it will break something.
im not really going to give instructions on how to use this.. if your using xbmc at all you should be able to handle it.
i have links to
hulu
channels
email
web browser
snes external
forum
ect
__________________________________________________________
and work better with examples modified for there own use, i thought id post some easy examples of the home screen mods for confluence.
(i struggled with finding the right "onclick syntaxes")
this shows examples of launching plugins, scripts, and external programs.
Dnt copy and paste this directly into your home.xml... im sure it will break something.
im not really going to give instructions on how to use this.. if your using xbmc at all you should be able to handle it.
i have links to
hulu
channels
web browser
snes external
forum
ect
__________________________________________________________
Quote:<item id="6">
<label>8</label>
<onclick>ActivateWindow(Weather)</onclick>
<icon>special://skin/backgrounds/weather.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
<visible>!Skin.HasSetting(ShowWeatherFanart) | IsEmpty(Skin.String(WeatherFanartDir))</visible>
</item>
<item id="13">
<label>NEW MEDIA</label>
<onclick>XBMC.ActivateWindow(VideoFiles,SMB:\\Mediacenter\completed torrents 2,return)</onclick>
<icon>special://skin/backgrounds/NEW MEDIA.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_NEW MEDIA_Folder)]</thumb>
</item>
<item id="12">
<label>CHANNELS</label>
<onclick>ActivateWindow(VideoLibrary,special://videoplaylists,return)</onclick>
<icon>special://skin/backgrounds/channels.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_channels_Folder)]</thumb>
</item>
<item id="19">
<label>HULU TV</label>
<onclick>ActivateWindow(VideoLibrary,plugin://plugin.video.hulu,return)</onclick>
<icon>special://skin/backgrounds/HULU.jpg</icon>
</item>
<item id="18">
<label>WEB MEDIA</label>
<onclick>ActivateWindow(VideoLibrary,Plugins,return)</onclick>
<icon>special://skin/backgrounds/NEWS.jpg</icon>
</item>
<item id="6">
<label>8</label>
<onclick>ActivateWindow(Weather)</onclick>
<icon>special://skin/backgrounds/weather.jpg</icon>
<thumb>$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoWeatherButton)</visible>
<visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
</item>
<item id="11">
<label>20343</label>
<onclick>ActivateWindow(VideoLibrary,TVShowTitles,return)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
<visible>Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
</item>
<item id="10">
<label>20342</label>
<onclick>ActivateWindow(VideoLibrary,MovieTitles,return)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Movies_Folder)]</thumb>
<visible>Skin.HasSetting(HomeMenuNoMoviesButton) + Library.HasContent(Movies)</visible>
</item>
<item id="4">
<label>1</label>
<onclick>ActivateWindow(Pictures)</onclick>
<icon>special://skin/backgrounds/pictures.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
</item>
<item id="3">
<label>2</label>
<onclick>ActivateWindow(Music)</onclick>
<icon>special://skin/backgrounds/music.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
</item>
<item id="16">
<label>GSHARK</label>
<onclick>RunScript(C:\Progra~1\XBMC\portable_data\addons\script.audio.grooveshark\default.py)</onclick>
<icon>special://skin/backgrounds/GROOVESHARK.jpg</icon>
</item>
<item id="2">
<label>3</label>
<onclick>ActivateWindow(Videos)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoVideosButton) + ![Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
</item>
<item id="2">
<label>3</label>
<onclick>ActivateWindow(VideoFiles)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoVideosButton) + [Skin.HasSetting(HomeMenuNoMoviesButton) + Skin.HasSetting(HomeMenuNoTVShowsButton)]</visible>
</item>
<item id="17">
<label>NEW MAIL</label>
<onclick>RunScript(C:\Progra~1\XBMC\portable_data\addons\script.gmail.checker\default.py)</onclick>
<icon>special://skin/backgrounds/newmail.jpg</icon>
</item>
<item id="20">
<label>PLAY SNES</label>
<onclick>XBMC.System.Exec("C:\Progra~1\ZSNESW151\ZSNESW.EXE")</onclick>
<icon>special://skin/backgrounds/SNES.PNG</icon>
</item>
<item id="21">
<label>X FORUM</label>
<onclick>RunScript(C:\Progra~1\XBMC\portable_data\addons\script.forum.browser\default.py)</onclick>
<icon>special://skin/backgrounds/XFORUM.JPG</icon>
</item>
<item id="14">
<label>UTORRENT</label>
<onclick>XBMC.System.Exec("C:\Progra~1\XBMC\www\opera.exe" "http://USER:PASSWORD@IP ADRESSORT/gui/")</onclick>
<icon>special://skin/backgrounds/datacenter.jpg</icon>
</item>
<item id="15">
<label>WWW</label>
<onclick>XBMC.System.Exec("C:\Progra~1\XBMC\www\opera.exe")</onclick>
<icon>special://skin/backgrounds/network.jpg</icon>
</item>