The branch, dharma has been updated
       via  f3c0365e0e8e110470c945ff4069b2405f5d1675 (commit)
       via  ef11d9fc4466ad6891ee36ed095124f83eceadc0 (commit)
      from  d6d2c2ea8b0cb5eda4bc01b8ba3af677f6be8ef5 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=f3c0365e0e8e110470c945ff4069b2405f5d1675

commit f3c0365e0e8e110470c945ff4069b2405f5d1675
Author: Zeljko Ametovic <[email protected]>
Date:   Sun Dec 5 16:36:20 2010 +0400

    [script.recentlyadded] -v 2.0.2
    - Update to fix MYSQL database use.

diff --git a/script.recentlyadded/RecentlyAdded.py 
b/script.recentlyadded/RecentlyAdded.py
index 810f3dd..c7beff1 100644
--- a/script.recentlyadded/RecentlyAdded.py
+++ b/script.recentlyadded/RecentlyAdded.py
@@ -178,7 +178,7 @@ class Main:
 
     def _fetch_movie_info( self ):
         # set our unplayed query
-        unplayed = ( "", "where playCount isnull ", )[ self.UNPLAYED ]
+        unplayed = ( "", "where playCount is null ", )[ self.UNPLAYED ]
         # sql statement
         if ( self.RANDOM_ORDER ):
             # random order
@@ -220,7 +220,7 @@ class Main:
 
     def _fetch_tvshow_info( self ):
         # set our unplayed query
-        unplayed = ( "", "where playCount isnull ", )[ self.UNPLAYED ]
+        unplayed = ( "", "where playCount is null ", )[ self.UNPLAYED ]
         # sql statement
         if ( self.RANDOM_ORDER ):
             # random order
@@ -271,7 +271,7 @@ class Main:
             # separate the records
             albums = re.findall( "<record>(.+?)</record>", music_xml, 
re.DOTALL )
             # set our unplayed query
-            unplayed = ( "(idAlbum = %s)", "(idAlbum = %s and lastplayed 
isnull)", )[ self.UNPLAYED ]
+            unplayed = ( "(idAlbum = %s)", "(idAlbum = %s and lastplayed is 
null)", )[ self.UNPLAYED ]
             # sql statement
             sql_music = "select songview.* from songview where %s limit 1" % ( 
unplayed, )
             # clear our xml data
@@ -282,7 +282,7 @@ class Main:
                 music_xml += xbmc.executehttpapi( "QueryMusicDatabase(%s)" % 
quote_plus( sql_music % ( album.replace( "<field>", "" ).replace( "</field>", 
"" ), ) ), )
         else:
             # set our unplayed query
-            unplayed = ( "", "where lastplayed isnull ", )[ self.UNPLAYED ]
+            unplayed = ( "", "where lastplayed is null ", )[ self.UNPLAYED ]
             # sql statement
             sql_music = "select * from songview %sorder by idSong desc limit 
%d" % ( unplayed, self.LIMIT, )
             # query the database
diff --git a/script.recentlyadded/addon.xml b/script.recentlyadded/addon.xml
index e26915c..62c393f 100644
--- a/script.recentlyadded/addon.xml
+++ b/script.recentlyadded/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.recentlyadded"
        name="Recently Added XBMC Script"
-       version="2.0.1"
+       version="2.0.2"
        provider-name="alex">
   <requires>
     <import addon="xbmc.python" version="1.0"/>

http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=ef11d9fc4466ad6891ee36ed095124f83eceadc0

commit ef11d9fc4466ad6891ee36ed095124f83eceadc0
Author: Zeljko Ametovic <[email protected]>
Date:   Sun Dec 5 16:35:53 2010 +0400

    [script.randomitems] -v 1.0.6
    - Update to fix MYSQL database use.

diff --git a/script.randomitems/RandomItems.py 
b/script.randomitems/RandomItems.py
index 348b30e..977eb1a 100644
--- a/script.randomitems/RandomItems.py
+++ b/script.randomitems/RandomItems.py
@@ -62,7 +62,7 @@ class Main:
     
     def _fetch_movie_info( self ):
         # set our unplayed query
-        unplayed = ( "", "where playCount isnull ", )[ self.UNPLAYED ]
+        unplayed = ( "", "where playCount is null ", )[ self.UNPLAYED ]
         # sql statement
         if ( self.RANDOM_ORDER ):
             # random order
@@ -101,7 +101,7 @@ class Main:
 
     def _fetch_tvshow_info( self ):
         # set our unplayed query
-        unplayed = ( "", "where playCount isnull ", )[ self.UNPLAYED ]
+        unplayed = ( "", "where playCount is null ", )[ self.UNPLAYED ]
         # sql statement
         if ( self.RANDOM_ORDER ):
             # random order
@@ -149,7 +149,7 @@ class Main:
             # separate the records
             albums = re.findall( "<record>(.+?)</record>", music_xml, 
re.DOTALL )
             # set our unplayed query
-            unplayed = ( "(idAlbum = %s)", "(idAlbum = %s and lastplayed 
isnull)", )[ self.UNPLAYED ]
+            unplayed = ( "(idAlbum = %s)", "(idAlbum = %s and lastplayed is 
null)", )[ self.UNPLAYED ]
             # sql statement
             sql_music = "select songview.* from songview where %s limit 1" % ( 
unplayed, )
             # clear our xml data
@@ -160,7 +160,7 @@ class Main:
                 music_xml += xbmc.executehttpapi( "QueryMusicDatabase(%s)" % 
quote_plus( sql_music % ( album.replace( "<field>", "" ).replace( "</field>", 
"" ), ) ), )
         else:
             # set our unplayed query
-            unplayed = ( "", "where lastplayed isnull ", )[ self.UNPLAYED ]
+            unplayed = ( "", "where lastplayed is null ", )[ self.UNPLAYED ]
             # sql statement
             sql_music = "select * from songview %sorder by RANDOM() limit %d" 
% ( unplayed, self.LIMIT, )
             # query the database
diff --git a/script.randomitems/addon.xml b/script.randomitems/addon.xml
index b425f37..b2f9a30 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.5" 
provider-name="Hitcher">

+<addon id="script.randomitems" name="Random Items script" version="1.0.6" 
provider-name="Hitcher">

        <requires>

                <import addon="xbmc.python" version="1.0"/>

        </requires>


-----------------------------------------------------------------------

Summary of changes:
 script.randomitems/RandomItems.py     |    8 ++++----
 script.randomitems/addon.xml          |    2 +-
 script.recentlyadded/RecentlyAdded.py |    8 ++++----
 script.recentlyadded/addon.xml        |    2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to