The branch, frodo has been updated
via 836613728705d359e843f30ca41a9ecabe15f6d9 (commit)
from e7abc3e3aef560bc5b43b00fa90189b1733485f9 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=836613728705d359e843f30ca41a9ecabe15f6d9
commit 836613728705d359e843f30ca41a9ecabe15f6d9
Author: ronie <[email protected]>
Date: Sun Apr 21 12:57:21 2013 +0200
[script.tv.show.next.aired] -v5.0.7
diff --git a/script.tv.show.next.aired/addon.xml
b/script.tv.show.next.aired/addon.xml
index 276d0a9..09d3932 100644
--- a/script.tv.show.next.aired/addon.xml
+++ b/script.tv.show.next.aired/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.tv.show.next.aired" name="TV Show - Next Aired"
version="5.0.6" provider-name="Ppic|Frost|ronie|`Black|phil65">
+<addon id="script.tv.show.next.aired" name="TV Show - Next Aired"
version="5.0.7" provider-name="Ppic|Frost|ronie|`Black|phil65">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.simplejson" version="2.0.10"/>
diff --git a/script.tv.show.next.aired/changelog.txt
b/script.tv.show.next.aired/changelog.txt
index c550cfa..109b090 100644
--- a/script.tv.show.next.aired/changelog.txt
+++ b/script.tv.show.next.aired/changelog.txt
@@ -1,3 +1,6 @@
+v5.0.7
+- added manual mode
+
v5.0.6
- add seperate entries for canceled and ended
- added script option to set properties for all tvshows, not only today´s
ones.
diff --git a/script.tv.show.next.aired/default.py
b/script.tv.show.next.aired/default.py
index 638b9d8..3883549 100644
--- a/script.tv.show.next.aired/default.py
+++ b/script.tv.show.next.aired/default.py
@@ -127,7 +127,9 @@ class NextAired:
self.update_hour = __addon__.getSetting( "update_hour" )
self.update_minute = __addon__.getSetting( "update_minute" )
self._parse_argv()
- if self.BACKEND:
+ if self.TVSHOWTITLE:
+ self.return_properties(self.TVSHOWTITLE)
+ elif self.BACKEND:
self.run_backend()
else:
self.update_data()
@@ -163,6 +165,7 @@ class NextAired:
log( "### params: %s" % params )
self.SILENT = params.get( "silent", "" )
self.BACKEND = params.get( "backend", False )
+ self.TVSHOWTITLE = params.get( "tvshowtitle", False )
self.FORCEUPDATE = __addon__.getSetting("ForceUpdate") == "true"
self.RESET = params.get( "reset", False )
@@ -476,6 +479,16 @@ class NextAired:
if not xbmc.getCondVisibility("Window.IsVisible(10025)"):
self.WINDOW.clearProperty("NextAired.Label")
self._stop = True
+
+ def return_properties(self,tvshowtitle):
+ self.complete_show_data = self.get_list(NEXTAIRED_DB)
+ self.complete_show_data.extend(self.get_list(CANCELLED_DB))
+ log( "return_properties started" )
+ if self.complete_show_data <> "[]":
+ self.WINDOW.clearProperty("NextAired.Label")
+ for item in self.complete_show_data:
+ if tvshowtitle == item.get("localname", ""):
+ self.set_labels('windowproperty', item)
def set_labels(self, infolabel, item, return_items = False ):
art = item.get("art", "")
-----------------------------------------------------------------------
Summary of changes:
script.tv.show.next.aired/addon.xml | 2 +-
script.tv.show.next.aired/changelog.txt | 3 +++
script.tv.show.next.aired/default.py | 15 ++++++++++++++-
3 files changed, 18 insertions(+), 2 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons