The branch, dharma has been updated
via 94e65e98edfee1d54d374dc3669498a5cd34ce2b (commit)
from b8f35a2031c8e11cb4647ab689b07db03025be86 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=94e65e98edfee1d54d374dc3669498a5cd34ce2b
commit 94e65e98edfee1d54d374dc3669498a5cd34ce2b
Author: amet <[email protected]>
Date: Sun Feb 27 16:09:53 2011 +0400
[script.randomitems] -v 1.0.2:
- append ratings after first decimal point
diff --git a/script.randomitems/RandomItems.py
b/script.randomitems/RandomItems.py
index eb45905..b0d7d27 100644
--- a/script.randomitems/RandomItems.py
+++ b/script.randomitems/RandomItems.py
@@ -121,7 +121,7 @@ class Main:
# set properties
self.WINDOW.setProperty( "RandomMovie.%d.Title" % ( count + 1, ),
fields[ 2 ] )
- self.WINDOW.setProperty( "RandomMovie.%d.Rating" % ( count + 1, ),
fields[ 7 ] )
+ self.WINDOW.setProperty( "RandomMovie.%d.Rating" % ( count + 1, ),
"%.1f" % float(fields[ 7 ]) )
self.WINDOW.setProperty( "RandomMovie.%d.Year" % ( count + 1, ),
fields[ 9 ] )
self.WINDOW.setProperty( "RandomMovie.%d.Plot" % ( count + 1, ),
fields[ 3 ] )
self.WINDOW.setProperty( "RandomMovie.%d.RunningTime" % ( count +
1, ), fields[ 13 ] )
@@ -163,7 +163,7 @@ class Main:
self.WINDOW.setProperty( "RandomEpisode.%d.EpisodeNo" % ( count +
1, ), "s%02de%02d" % ( int( fields[ 14 ] ), int( fields[ 15 ] ), ) )
self.WINDOW.setProperty( "RandomEpisode.%d.EpisodeSeason" % (
count + 1, ), fields[ 14 ] )
self.WINDOW.setProperty( "RandomEpisode.%d.EpisodeNumber" % (
count + 1, ), fields[ 15 ] )
- self.WINDOW.setProperty( "RandomEpisode.%d.Rating" % ( count + 1,
), fields[ 5 ] )
+ self.WINDOW.setProperty( "RandomEpisode.%d.Rating" % ( count + 1,
), "%.1f" % float(fields[ 5 ]) )
self.WINDOW.setProperty( "RandomEpisode.%d.Plot" % ( count + 1, ),
fields[ 3 ] )
# get cache names of path to use for thumbnail/fanart and play path
thumb_cache, fanart_cache, play_path = self._get_media( fields[ 25
], fields[ 24 ] )
diff --git a/script.randomitems/addon.xml b/script.randomitems/addon.xml
index 5bd9b17..3a6d418 100644
--- a/script.randomitems/addon.xml
+++ b/script.randomitems/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.randomitems" name="Random Items script" version="1.0.10"
provider-name="Hitcher">
+<addon id="script.randomitems" name="Random Items script" version="1.0.2"
provider-name="Hitcher">
<requires>
<import addon="xbmc.python" version="1.0"/>
</requires>
diff --git a/script.randomitems/changelog.txt b/script.randomitems/changelog.txt
index 049afa1..6ad02e3 100644
--- a/script.randomitems/changelog.txt
+++ b/script.randomitems/changelog.txt
@@ -1,3 +1,7 @@
+v 1.0.2:
+
+- append ratings after first decimal point
+
v 1.0.10:
- don't clear window properties when playing an album
- don't execute script.recentlyadded internally
-----------------------------------------------------------------------
Summary of changes:
script.randomitems/RandomItems.py | 4 ++--
script.randomitems/addon.xml | 2 +-
script.randomitems/changelog.txt | 4 ++++
3 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons