Posts: 967
Joined: May 2017
Reputation:
83
2018-10-08, 08:10
(This post was last modified: 2018-10-08, 08:20 by the_other_guy.)
C:\Users\username\AppData\Roaming\Kodi\addons\skin.fu\playlists
recent_unwatched_episodes.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
<name>Recent Unwatched Episodes</name>
<match>all</match>
<rule field="dateadded" operator="after">
<value>1900-01-01</value>
</rule>
<rule field="playcount" operator="lessthan">
<value>1</value>
</rule>
<limit>15</limit>
<order direction="descending">dateadded</order>
</smartplaylist>
recent_unwatched_movies.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Recent Unwatched Movies</name>
<match>all</match>
<rule field="dateadded" operator="after">
<value>1900-01-01</value>
</rule>
<rule field="playcount" operator="lessthan">
<value>1</value>
</rule>
<limit>15</limit>
<order direction="descending">dateadded</order>
</smartplaylist>
unwatched_tvshows.xsp
?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Unwatched TV shows</name>
<match>all</match>
<rule field="numwatched" operator="is">
<value>0</value>
</rule>
<rule field="numepisodes" operator="greaterthan">
<value>0</value>
</rule>
<limit>15</limit>
<order direction="ascending">random</order>
</smartplaylist>
recent_unwatched_episodes.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>Recent TV shows</name>
<match>all</match>
<rule field="dateadded" operator="after">
<value>1900-01-01</value>
</rule>
<rule field="playcount" operator="lessthan">
<value>1</value>
</rule>
<limit>15</limit>
<order direction="descending">dateadded</order>
</smartplaylist>
something like this 1900-01-01 would be the date that you would like to show them from say 2018-07-07 would show shows from this year
not sure if once you watched 1 episode it would stop showing
may need to set <rule field="playcount" operator="lessthan">
<value>1</value> to numbers of episodes
Posts: 36
Joined: Dec 2010
Reputation:
1
Tragic
Junior Member
Posts: 36
Thanks so basically I just replace the existing episode widget XML with the above which should modify the widget in estuary to do what I want it too?
Posts: 36
Joined: Dec 2010
Reputation:
1
Tragic
Junior Member
Posts: 36
Updated the Widget XML so it now displays a TV Show format (ie the cover rather than the episode) but its still a smaller widget than the orders so the cover gets cut off. I'm guessing the screen scructure is stored somewhere else?
Posts: 967
Joined: May 2017
Reputation:
83
that is in home.xml
<!---WidgetListPoster -->
<include condition="Library.HasContent(tvshows)" content="WidgetListPoster"><param value="videodb://inprogresstvshows" name="content_path"/><param value="lastplayed" name="sortby"/><param value="descending" name="sortorder"/><param value="$LOCALIZE[626]" name="widget_header"/><param value="videos" name="widget_target"/><param value="6100" name="list_id"/></include>
<!---WidgetListEpisodes-->
<include condition="Library.HasContent(tvshows)" content="WidgetListEpisodes"><param value="special://skin/playlists/recent_unwatched_episodes.xsp" name="content_path"/><param value="$LOCALIZE[20387]" name="widget_header"/><param value="videos" name="widget_target"/><param value="6200" name="list_id"/></include>
replace WidgetListEpisodes with WidgetListPoster
Posts: 2,838
Joined: Dec 2006
Reputation:
2
I've been playing around with this on my Shield TV. It is not rooted and I seem not to be able to access home.xml file. Do I need to root my Shield TV or any other way to get it to access it?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Posts: 2,838
Joined: Dec 2006
Reputation:
2
I am starting to get it to work on Windows work, where I have full access to home.xml and other XML files.
Unfortunately, I don't fully understand required changes. I'd like to keep episodes on the main screen, but change the artwork from episode thumb to tvshow poster. I.e., it shows recently added episodes (not grouped) and shows corresponding tvshow poster. Possible?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi