The branch, frodo has been updated
       via  ae48368d99e9b6360b8ce2be7447551f7bfcbb52 (commit)
      from  1a1f233c75009ab4a0035f42000920506d402fca (commit)

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

commit ae48368d99e9b6360b8ce2be7447551f7bfcbb52
Author: Martijn Kaijser <mcm.kaij...@gmail.com>
Date:   Thu Nov 28 21:31:00 2013 +0100

    [plugin.video.previewnetworks] 2.3.4

diff --git a/plugin.video.previewnetworks/addon.xml 
b/plugin.video.previewnetworks/addon.xml
index e04d7a2..5e35193 100644
--- a/plugin.video.previewnetworks/addon.xml
+++ b/plugin.video.previewnetworks/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.previewnetworks"
        name="Preview Networks"
-       version="2.3.3"
+       version="2.3.4"
        provider-name="nmazz64">
     <requires>
         <import addon="xbmc.python" version="2.1.0"/>
@@ -11,12 +11,17 @@
     </extension>
     <extension point="xbmc.addon.metadata">
         <platform>all</platform>
-        <language>en</language>
-        <summary lang="en">Watch current movie trailers from 
PreviewNetworks.</summary>
-        <description lang="en">Watch movie trailers from 
http://www.previewnetworks.com/.[CR][CR] Set your country in "option" for 
select your area.</description>
-        <disclaimer lang="en">You can list newest, now, coming and also select 
trailers from title and genre.</disclaimer>
-        <summary lang="it">Visualizza anteprime films da 
PreviewNetworks</summary>
-        <description lang="it">Visualizza le anteprime video fornite da 
PreviewNetworks - http://www.previewnetworks.com/.[CR][CR] Scegli nelle 
"impostazioni" la "nazione" per una selezione territoriale dei 
video.</description>
-        <disclaimer lang="it">E' possibile elencare le anteprime più recenti, 
quelle in arrivo, selezionarle per genere o ricercarle per titolo.</disclaimer>
+        <language>en it</language>
+        <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license>
+        <forum>http://forum.xbmc.org/showthread.php?tid=70179</forum>
+        
<website>https://code.google.com/p/previewnetworks-xbmc-plugin/</website>
+        
<source>http://previewnetworks-xbmc-plugin.googlecode.com/svn/trunk/plugin.video.previewnetworks/</source>
+        <email>nmazz at tiscali dot it</email>
+        <summary lang="en">Watch movie trailers on your Xbmc player.</summary>
+        <description lang="en">With this plugin you can see movie trailers 
distributed by previewnetworks.com.[CR] Setting a specific country in the 
"options" section, you can see the trailers for that region and listen in 
original language..[CR] You can list newest, now, coming and also select 
trailers from title and genre.</description>
+        <disclaimer lang="en">Some parts of this addon may not be legal in 
your country of residence - please check with your local laws before 
installing.</disclaimer>
+        <summary lang="it">Visualizza anteprime films fornite da 
PreviewNetworks</summary>
+        <description lang="it">Con questo plugin puoi vedere le anteprime 
video distribuite da PreviewNetworks.[CR] Impostando la country nelle 
"impostazioni"  puoi vedere i trailer diffusi in una specifica nazione e 
ascoltarli in lingua originale.[CR] E' possibile inoltre elencare le anteprime 
più recenti, quelle in arrivo, selezionarle per genere o ricercarle per 
titolo.</description>
+        <disclaimer lang="it">Alcune parti di questo addon potrebbero non 
essere legali nel tuo paese di residenza - Ti preghiamo di controllare la tua 
normativa locale prima di installarlo.</disclaimer>
     </extension>
 </addon>
diff --git a/plugin.video.previewnetworks/changelog.txt 
b/plugin.video.previewnetworks/changelog.txt
index cf08232..c7e0b62 100644
--- a/plugin.video.previewnetworks/changelog.txt
+++ b/plugin.video.previewnetworks/changelog.txt
@@ -1,3 +1,6 @@
+[B]2.3.4[/B]
+- upgrade to new function and little fix
+
 [B]2.3.3[/B]
 - same bug fix and other optimizations
 
@@ -7,7 +10,7 @@
 [B]2.3.1[/B]
 - compatibility changes for Frodo beta
 
-[B]2.3[/B]
+[B]2.3.0[/B]
 - compatibility changes for Frodo beta
 
 [B]2.2.1[/B]
diff --git a/plugin.video.previewnetworks/default.py 
b/plugin.video.previewnetworks/default.py
index 5d85335..9025b7f 100644
--- a/plugin.video.previewnetworks/default.py
+++ b/plugin.video.previewnetworks/default.py
@@ -21,7 +21,7 @@ __author__ = "nmazz64"
 __url__ = "http://code.google.com/p/previewnetworks-xbmc-plugin";
 __svn_url__ = 
"http://previewnetworks-xbmc-plugin.googlecode.com/svn/trunk/plugin.video.previewnetworks/";
 __useragent__ = "QuickTime/7.6.5 (qtver=7.6.5;os=Windows NT 5.1Service Pack 3)"
-__version__ = "2.3.3"
+__version__ = "2.3.4"
 __svn_revision__ = "$Revision: 0$"
 __XBMC_Revision__ = "31633"
 __Channel_ID__ = "391100379-1"
diff --git 
a/plugin.video.previewnetworks/resources/language/English/strings.xml 
b/plugin.video.previewnetworks/resources/language/English/strings.xml
index 9fd0848..badcca6 100644
--- a/plugin.video.previewnetworks/resources/language/English/strings.xml
+++ b/plugin.video.previewnetworks/resources/language/English/strings.xml
@@ -37,7 +37,7 @@
     <string id="30061">Cinema</string>
     <string id="30062">DVD</string>
     <string id="30063">Bluray</string>
-    <string id="30064">DVD & BluRay</string>
+    <string id="30064">DVD &amp; BluRay</string>
     <string id="30065">HD Plus</string>
     <string id="30070">Country</string>
     <string id="30071">United Kingdom</string>
diff --git 
a/plugin.video.previewnetworks/resources/language/Italian/strings.xml 
b/plugin.video.previewnetworks/resources/language/Italian/strings.xml
index cb2f1c9..0ff2828 100644
--- a/plugin.video.previewnetworks/resources/language/Italian/strings.xml
+++ b/plugin.video.previewnetworks/resources/language/Italian/strings.xml
@@ -37,7 +37,7 @@
     <string id="30061">Cinema</string>
     <string id="30062">DVD</string>
     <string id="30063">Bluray</string>
-    <string id="30064">DVD & BluRay</string>
+    <string id="30064">DVD &amp; BluRay</string>
     <string id="30065">HD Plus</string>
     <string id="30070">Nazione</string>
     <string id="30071">Inghilterra</string>
diff --git a/plugin.video.previewnetworks/resources/lib/download.py 
b/plugin.video.previewnetworks/resources/lib/download.py
index 3403936..08fcca9 100644
--- a/plugin.video.previewnetworks/resources/lib/download.py
+++ b/plugin.video.previewnetworks/resources/lib/download.py
@@ -95,7 +95,7 @@ class Main:
                                                           self.settings[ 
"use_title" ],
                                                           self.settings[ 
"use_trailer" ] )
         #
-            tmp_path = self.filepath  # usato per escludere l'uso di 
executehttpapi
+            tmp_path = self.filepath
         #
             # only download if the trailer doesn't exist
             if ( not os.path.isfile( self.filepath.encode( "utf-8" ) ) ):
@@ -138,8 +138,8 @@ class Main:
                 pDialog.update( -1, msg1, msg2 )
                 # necessary for dialog to update
                 xbmc.sleep( 50 )
-                # use httpapi for file copying
-                xbmc.executehttpapi( "FileCopy(%s,%s)" % ( tmp_path, 
self.filepath.encode( "utf-8" ), ) )
+                # use JSON RPC for file copying
+                xbmc.executeJSONRPC( "FileCopy(%s,%s)" % ( tmp_path, 
self.filepath.encode( "utf-8" ), ) )
                 # remove temporary cache file
                 os.remove( tmp_path )
                 # create conf file for better MPlayer playback only when 
trailer saved on xbox and not progressive
@@ -153,7 +153,7 @@ class Main:
                 pDialog.update( -1, msg1, msg2 )
                 # necessary for dialog to update
                 xbmc.sleep( 50 )
-                xbmc.executehttpapi( "FileCopy(%s,%s)" % ( g_thumbnail, 
thumbpath.encode( "utf-8" ), ) )
+                xbmc.executeJSONRPC( "FileCopy(%s,%s)" % ( g_thumbnail, 
thumbpath.encode( "utf-8" ), ) )
             # we succeeded
             return True
         except:
@@ -162,8 +162,6 @@ class Main:
 
     def _play_video( self ):
         if ( self.filepath ):
-            # set DVDPLAYER as the player for progressive videos
-            core_player = ( xbmc.PLAYER_CORE_MPLAYER, 
xbmc.PLAYER_CORE_DVDPLAYER, )[ self.args.trailer_url.endswith( "p.mov" ) ]
             # create our playlist
             playlist = xbmc.PlayList( xbmc.PLAYLIST_VIDEO )
             # clear any possible entries
@@ -181,4 +179,4 @@ class Main:
             # close dialog
             pDialog.close()
             # play item
-            xbmc.Player( core_player ).play( playlist )
+            xbmc.Player( ).play( playlist )

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

Summary of changes:
 plugin.video.previewnetworks/addon.xml             |   21 ++++++++++++-------
 plugin.video.previewnetworks/changelog.txt         |    5 +++-
 plugin.video.previewnetworks/default.py            |    2 +-
 .../resources/language/English/strings.xml         |    2 +-
 .../resources/language/Italian/strings.xml         |    2 +-
 .../resources/lib/download.py                      |   12 ++++------
 6 files changed, 25 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to