Hi Peckino, so after last time i asked for some things like in progress tv shows or random movies and nothing happened, so i decided to put my hands on the work!
After lots of search i've found the add-on "Skin widgets" that does exactly what i've asked. (
http://wiki.xbmc.org/index.php?title=Add...in_Widgets)
I've already started editing your skin and made the part of the in progress/ongoing tv shows happen.
The Ongoing Tv Shows option displays the oldest unwatched episode of a Tv Show you're watching, by order of last seen Tv Show.
So far i've managed to made/change this:
On "addon.xml" i've added the next line so the Skin Widgets addon gets installed if isn't installed already:
Code:
<import addon="service.skin.widgets" version="0.0.25" />
On "language/English/strings.xml" i've added this two lines:
Code:
<string id="31021">Show Tv Shows</string>
<string id="31022">Ongoing TV Shows</string>
On "1080i/Settings.xml" i've added the an option to enable the ongoing tv shows instead of new tv shows, this option to choose ongoing tv shows only shows up if the option to see tv shows is enabled. I've changed the item id numbers of the addons (so this option will show up in second), changed the name of the first option and added this code:
Code:
<item id="2" description="Enable Ongoing Tv Shows">
<visible>!Skin.HasSetting(Hide.RecentlyAdded)</visible>
<visible>!Skin.HasSetting(Hide.OngoingTvshows)</visible>
<label>$LOCALIZE[31022]</label>
<label2>$LOCALIZE[106]</label2>
<onclick>Skin.ToggleSetting(Hide.OngoingTvshows)</onclick>
</item>
<item id="2" description="Enable Ongoing Tv Shows">
<visible>!Skin.HasSetting(Hide.RecentlyAdded)</visible>
<visible>Skin.HasSetting(Hide.OngoingTvshows)</visible>
<label>$LOCALIZE[31022]</label>
<label2>$LOCALIZE[107]</label2>
<onclick>Skin.Reset(Hide.OngoingTvshows)</onclick>
</item>
On "1080i/Includes_Vertical_Home.xml" and "1080i/CustomShelf.xml" i've tried to maintain the same structure of both, on both, ive added:
Code:
<visible>Skin.HasSetting(Hide.OngoingTvshows)</visible>
to the new code, and the opposite option to the old code so, the ongoing shows only show up or not depending on the option value set on settings.
An example code of one episode in Includes_Vertical_Home.xml is the next:
Code:
<item id="1" description="Episode1">
<visible>!IsEmpty(Window(Home).Property(RecommendedEpisode.1.Path))</visible>
<label>$INFO[Window(Home).Property(RecommendedEpisode.1.Title)]</label>
<label2>$INFO[Window(Home).Property(RecommendedEpisode.1.TvshowTitle)]</label2>
<property name="SeasonEpisode">$INFO[Window(Home).Property(RecommendedEpisode.1.EpisodeNo)]</property>
<thumb>$INFO[Window(Home).Property(RecommendedEpisode.1.Art(tvshow.poster))]</thumb>
<property name="ItemType">$LOCALIZE[20387]</property>
<onclick>PlayMedia($ESCINFO[Window(Home).Property(RecommendedEpisode.1.Path)])</onclick>
</item>
On CustomShelf.xml the code is a bit different because i kept the format of episodes in that file.
I don't know much about skins and i didn't figured out how to change the texts "Recently added Tv shows" in the shelf and menu. Dunno, but maybe in the future i can add the random movies option or maybe you can do this.
Also if you can add this stuff to your version i would be very thankfull/honored since this took me lots of time (since i was/am a noob in this sking/addons thing).
Here is a zip file with the files i've changes and with the addon skin widgets:
https://www.dropbox.com/s/fn84yzasy4rymf...alhaus.zip
In the next picture show some examples of what i've done:
http://i.imgur.com/C5Ao8aI.jpg
P.S.: Btw I've noticed your skin is not showing the scrollbar button like the amber version optimized to Xbian (
http://i.imgur.com/uaXccOx.png). I think the pictures are this ones: "/media/OSD/ScrollBarNibFO.png" and "/media/OSD/ScrollBarNibNF.png". Can you fix this?