2010-10-16, 05:51
I'm probably missing something here. I am trying to add a button to directly access video files in the file mode. I am using Dharma 3.
In my setup, I activated the Movies and TV Series buttons on the main menu.
I edited C:\Program Files\XBMC\skin\Confluence\720P\home.xml and added the following lines:
<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="12">
<label>Enregistrements</label>
<onclick>ActivateWindow(10024,smb://SERVEUR/Videos/Enregistrements/)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
</item>
But the button does not show up.
Note that the ActivateWindow(10024,smb://SERVEUR/Videos/Enregistrements/) is a copy of my favourites.xml file, and the favourite is working.
I then proceeded replacing by ActivateWindow(VideoFiles,Enregistrements) without any success.
Then I decided to simplify to at least see if I would be able to add a button
<item id="12">
<label>Enregistrements</label>
<onclick>VolumeUp</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
</item>
Still not working.
Out of despair, I tried changing 20343 in item 11 by "Test" and the main menu still shows TV Series.
Any idea what I am doing wrong here?
Of course I am exiting XBMC between each change.
In my setup, I activated the Movies and TV Series buttons on the main menu.
I edited C:\Program Files\XBMC\skin\Confluence\720P\home.xml and added the following lines:
<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="12">
<label>Enregistrements</label>
<onclick>ActivateWindow(10024,smb://SERVEUR/Videos/Enregistrements/)</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_TVShow_Folder)]</thumb>
</item>
But the button does not show up.
Note that the ActivateWindow(10024,smb://SERVEUR/Videos/Enregistrements/) is a copy of my favourites.xml file, and the favourite is working.
I then proceeded replacing by ActivateWindow(VideoFiles,Enregistrements) without any success.
Then I decided to simplify to at least see if I would be able to add a button
<item id="12">
<label>Enregistrements</label>
<onclick>VolumeUp</onclick>
<icon>special://skin/backgrounds/videos.jpg</icon>
</item>
Still not working.
Out of despair, I tried changing 20343 in item 11 by "Test" and the main menu still shows TV Series.
Any idea what I am doing wrong here?
Of course I am exiting XBMC between each change.