Removed Recordings label, as it wasn't being used. Adding new artwork to fill in some places. Added CHANGELOG.
This commit is contained in:
parent
a23f0d742d
commit
67a281845c
|
@ -0,0 +1,13 @@
|
||||||
|
CHANGELOG
|
||||||
|
|
||||||
|
3.23.1.beta
|
||||||
|
-----------
|
||||||
|
Resolved several issues with index out of range in python. Mainly revolving around when the app cannot locate a TV shows artwork.
|
||||||
|
The app now remembers your last sort settings.
|
||||||
|
The app's default sort settings are now Original Air Date Descending.
|
||||||
|
|
||||||
|
3.32.0.beta
|
||||||
|
-----------
|
||||||
|
Changed the versioning schema to MAJOR.MYTHTV_VERSION.MINOR.(STATUS)
|
||||||
|
Added multiple new lines of debugging code to the app to help out with troubleshooting, they will be removed at a later date.
|
||||||
|
|
|
@ -5,6 +5,12 @@ from xml.dom import minidom
|
||||||
|
|
||||||
config = mc.GetApp().GetLocalConfig()
|
config = mc.GetApp().GetLocalConfig()
|
||||||
|
|
||||||
|
if not config.GetValue("SortBy"):
|
||||||
|
config.GetValue("SortBy", "Original Air Date")
|
||||||
|
if not config.GetValue("SortDir"):
|
||||||
|
config.GetValue("SortDir", "Descending")
|
||||||
|
|
||||||
|
|
||||||
titles = []
|
titles = []
|
||||||
recordings = []
|
recordings = []
|
||||||
idbanners = {}
|
idbanners = {}
|
||||||
|
@ -83,8 +89,6 @@ def LoadSingleShow():
|
||||||
|
|
||||||
|
|
||||||
def SetSortables():
|
def SetSortables():
|
||||||
config.SetValue("SortBy", "Recorded Date")
|
|
||||||
config.SetValue("SortDir", "Descending")
|
|
||||||
sortable = ['Original Air Date', 'Recorded Date', 'Title']
|
sortable = ['Original Air Date', 'Recorded Date', 'Title']
|
||||||
items = mc.ListItems()
|
items = mc.ListItems()
|
||||||
for sorttype in sortable:
|
for sorttype in sortable:
|
||||||
|
@ -93,7 +97,7 @@ def SetSortables():
|
||||||
items.append(item)
|
items.append(item)
|
||||||
|
|
||||||
mc.GetActiveWindow().GetList(2014).SetItems(items)
|
mc.GetActiveWindow().GetList(2014).SetItems(items)
|
||||||
mc.GetActiveWindow().GetList(2014).SetSelected(1, True)
|
mc.GetActiveWindow().GetList(2014).SetSelected(0, True)
|
||||||
|
|
||||||
sortableby = ['Ascending', 'Descending']
|
sortableby = ['Ascending', 'Descending']
|
||||||
items = mc.ListItems()
|
items = mc.ListItems()
|
||||||
|
@ -106,10 +110,6 @@ def SetSortables():
|
||||||
mc.GetActiveWindow().GetList(2015).SetSelected(1, True)
|
mc.GetActiveWindow().GetList(2015).SetSelected(1, True)
|
||||||
|
|
||||||
|
|
||||||
def ShowEpisodeDetails():
|
|
||||||
print "ShowEpisodeDetails"
|
|
||||||
|
|
||||||
|
|
||||||
def SortBySeriesEpisodes():
|
def SortBySeriesEpisodes():
|
||||||
sortByItems = sortByItemNumber = mc.GetWindow(14001).GetList(2014).GetSelected()
|
sortByItems = sortByItemNumber = mc.GetWindow(14001).GetList(2014).GetSelected()
|
||||||
sortDirectionItems = sortDirectionItemNumber = mc.GetWindow(14001).GetList(2015).GetSelected()
|
sortDirectionItems = sortDirectionItemNumber = mc.GetWindow(14001).GetList(2015).GetSelected()
|
||||||
|
@ -140,12 +140,13 @@ def GetSeriesIDBanner(name):
|
||||||
series = re.compile("<seriesid>(.*?)</seriesid>").findall(html)
|
series = re.compile("<seriesid>(.*?)</seriesid>").findall(html)
|
||||||
banners = re.compile("<banner>(.*?)</banner>").findall(html)
|
banners = re.compile("<banner>(.*?)</banner>").findall(html)
|
||||||
show = []
|
show = []
|
||||||
if series:
|
try:
|
||||||
show.append(series[0])
|
show.append(series[0])
|
||||||
show.append("http://www.thetvdb.com/banners/" + banners[0])
|
show.append("http://www.thetvdb.com/banners/" + banners[0])
|
||||||
else:
|
except IndexError:
|
||||||
show.append("00000")
|
show.append("00000")
|
||||||
show.append("http://192.168.1.210/")
|
show.append("mb_artwork_error.png")
|
||||||
|
|
||||||
return show
|
return show
|
||||||
|
|
||||||
|
|
||||||
|
@ -159,10 +160,16 @@ def GetSetSeriesDetails(name, seriesid):
|
||||||
item = mc.ListItem( mc.ListItem.MEDIA_UNKNOWN )
|
item = mc.ListItem( mc.ListItem.MEDIA_UNKNOWN )
|
||||||
item.SetLabel(name)
|
item.SetLabel(name)
|
||||||
item.SetTitle(name)
|
item.SetTitle(name)
|
||||||
if overview:
|
try:
|
||||||
item.SetDescription(overview[0])
|
item.SetDescription(overview[0])
|
||||||
item.SetProperty("description", overview[0])
|
item.SetProperty("description", overview[0])
|
||||||
item.SetThumbnail("http://www.thetvdb.com/banners/" + poster[0])
|
except:
|
||||||
|
item.SetDescription("No Description")
|
||||||
|
item.SetProperty("description", "No Description")
|
||||||
|
try:
|
||||||
|
item.SetThumbnail("http://www.thetvdb.com/banners/" + poster[0])
|
||||||
|
except:
|
||||||
|
item.SetThumbnail("mb_poster_error.png")
|
||||||
items.append(item)
|
items.append(item)
|
||||||
|
|
||||||
mc.GetWindow(14001).GetList(21).SetItems(items)
|
mc.GetWindow(14001).GetList(21).SetItems(items)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<window type="window" id="14000">
|
<window type="window" id="14000">
|
||||||
<defaultcontrol always="true">13</defaultcontrol>
|
<defaultcontrol>13</defaultcontrol>
|
||||||
<allowoverlay>yes</allowoverlay>
|
<allowoverlay>yes</allowoverlay>
|
||||||
<onload lang="python"><![CDATA[
|
<onload lang="python"><![CDATA[
|
||||||
import mythboxee
|
import mythboxee
|
||||||
|
@ -32,8 +32,8 @@ import mythboxee
|
||||||
<posy>82</posy>
|
<posy>82</posy>
|
||||||
<width>1280</width>
|
<width>1280</width>
|
||||||
<height>592</height>
|
<height>592</height>
|
||||||
<onleft>122</onleft>
|
<onleft>-</onleft>
|
||||||
<onright>112</onright>
|
<onright>-</onright>
|
||||||
<onup>-</onup>
|
<onup>-</onup>
|
||||||
<ondown>-</ondown>
|
<ondown>-</ondown>
|
||||||
<itemlayout width="420" height="120">
|
<itemlayout width="420" height="120">
|
||||||
|
@ -68,6 +68,7 @@ import mythboxee
|
||||||
<font>font16b</font>
|
<font>font16b</font>
|
||||||
<textcolor>FFFEFEFE</textcolor>
|
<textcolor>FFFEFEFE</textcolor>
|
||||||
</control>
|
</control>
|
||||||
|
<!--
|
||||||
<control type="label">
|
<control type="label">
|
||||||
<description>videos</description>
|
<description>videos</description>
|
||||||
<posx>275</posx>
|
<posx>275</posx>
|
||||||
|
@ -79,7 +80,8 @@ import mythboxee
|
||||||
<label>Recordings: $INFO[ListItem.property(custom:videos)]</label>
|
<label>Recordings: $INFO[ListItem.property(custom:videos)]</label>
|
||||||
<font>font14</font>
|
<font>font14</font>
|
||||||
<textcolor>FFCCCCCC</textcolor>
|
<textcolor>FFCCCCCC</textcolor>
|
||||||
</control>
|
</control>
|
||||||
|
-->
|
||||||
</itemlayout>
|
</itemlayout>
|
||||||
<focusedlayout width="420" height="120">
|
<focusedlayout width="420" height="120">
|
||||||
<control type="togglebutton">
|
<control type="togglebutton">
|
||||||
|
@ -130,6 +132,7 @@ import mythboxee
|
||||||
<textcolor>FFFEFEFE</textcolor>
|
<textcolor>FFFEFEFE</textcolor>
|
||||||
<scroll>true</scroll>
|
<scroll>true</scroll>
|
||||||
</control>
|
</control>
|
||||||
|
<!--
|
||||||
<control type="label">
|
<control type="label">
|
||||||
<description>videos</description>
|
<description>videos</description>
|
||||||
<posx>275</posx>
|
<posx>275</posx>
|
||||||
|
@ -142,7 +145,8 @@ import mythboxee
|
||||||
<font>font14</font>
|
<font>font14</font>
|
||||||
<textcolor>FFCCCCCC</textcolor>
|
<textcolor>FFCCCCCC</textcolor>
|
||||||
<scroll>true</scroll>
|
<scroll>true</scroll>
|
||||||
</control>
|
</control>
|
||||||
|
-->
|
||||||
</focusedlayout>
|
</focusedlayout>
|
||||||
<content type="action">
|
<content type="action">
|
||||||
<onclick lang="python"><![CDATA[mythboxee.LoadSingleShow()]]></onclick>
|
<onclick lang="python"><![CDATA[mythboxee.LoadSingleShow()]]></onclick>
|
||||||
|
|
|
@ -59,7 +59,8 @@ import mythboxee
|
||||||
<font>font16b</font>
|
<font>font16b</font>
|
||||||
<textcolor>FFFEFEFE</textcolor>
|
<textcolor>FFFEFEFE</textcolor>
|
||||||
<wrapmultiline>true</wrapmultiline>
|
<wrapmultiline>true</wrapmultiline>
|
||||||
</control>
|
</control>
|
||||||
|
<!--
|
||||||
<control type="label">
|
<control type="label">
|
||||||
<description>recordings</description>
|
<description>recordings</description>
|
||||||
<visible>!stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
<visible>!stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
||||||
|
@ -74,12 +75,13 @@ import mythboxee
|
||||||
<font>font16b</font>
|
<font>font16b</font>
|
||||||
<textcolor>FFCCCCCC</textcolor>
|
<textcolor>FFCCCCCC</textcolor>
|
||||||
<wrapmultiline>false</wrapmultiline>
|
<wrapmultiline>false</wrapmultiline>
|
||||||
</control>
|
</control>
|
||||||
|
-->
|
||||||
<control type="textbox">
|
<control type="textbox">
|
||||||
<visible>!stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
<visible>!stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
||||||
<description>description</description>
|
<description>description</description>
|
||||||
<posx>22</posx>
|
<posx>22</posx>
|
||||||
<posy>430</posy>
|
<posy>400</posy>
|
||||||
<width>228</width>
|
<width>228</width>
|
||||||
<height>160</height>
|
<height>160</height>
|
||||||
<align>left</align>
|
<align>left</align>
|
||||||
|
@ -89,7 +91,8 @@ import mythboxee
|
||||||
<font>font16</font>
|
<font>font16</font>
|
||||||
<textcolor>FFCCCCCC</textcolor>
|
<textcolor>FFCCCCCC</textcolor>
|
||||||
<autoscroll delay="3000" time="2000" repeat="10000">Control.HasFocus(2013)</autoscroll>
|
<autoscroll delay="3000" time="2000" repeat="10000">Control.HasFocus(2013)</autoscroll>
|
||||||
</control>
|
</control>
|
||||||
|
<!--
|
||||||
<control type="label">
|
<control type="label">
|
||||||
<visible>stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
<visible>stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
||||||
<description>videos</description>
|
<description>videos</description>
|
||||||
|
@ -104,12 +107,13 @@ import mythboxee
|
||||||
<font>font16b</font>
|
<font>font16b</font>
|
||||||
<textcolor>FFCCCCCC</textcolor>
|
<textcolor>FFCCCCCC</textcolor>
|
||||||
<wrapmultiline>false</wrapmultiline>
|
<wrapmultiline>false</wrapmultiline>
|
||||||
</control>
|
</control>
|
||||||
|
-->
|
||||||
<control type="textbox">
|
<control type="textbox">
|
||||||
<description>description</description>
|
<description>description</description>
|
||||||
<visible>stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
<visible>stringcompare(Container(21).ListItem.property(custom:category),movie)</visible>
|
||||||
<posx>22</posx>
|
<posx>22</posx>
|
||||||
<posy>430</posy>
|
<posy>400</posy>
|
||||||
<width>228</width>
|
<width>228</width>
|
||||||
<height>160</height>
|
<height>160</height>
|
||||||
<align>left</align>
|
<align>left</align>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue