The branch, frodo has been updated
       via  e99c8ee17e989bfceac35991e22d60ac5aeea4e2 (commit)
      from  3f0ced5ee8cd99aab5d52221e00396ac7769e79f (commit)

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

commit e99c8ee17e989bfceac35991e22d60ac5aeea4e2
Author: Martijn Kaijser <mcm.kaij...@gmail.com>
Date:   Mon Oct 7 08:16:34 2013 +0200

    [plugin.video.synopsi] 1.1.1

diff --git a/plugin.video.synopsi/README.markdown 
b/plugin.video.synopsi/README.markdown
index d561875..d8dbd9f 100644
--- a/plugin.video.synopsi/README.markdown
+++ b/plugin.video.synopsi/README.markdown
@@ -1,15 +1,14 @@
 ## What is [Synopsi.tv](http://www.synopsi.tv)?##
-A safe place where you can store your watching history and get the best 
personalized recommendations for TV Shows and Movies based on your unique and 
evolving watching stylYou can share what you like, get to know people with 
similar taste and find out what to watch next with your friends and family.
+A safe place where you can store your watching history and get the best 
personalized recommendations for TV Shows and Movies based on your unique and 
evolving watching style. You can share what you like, get to know people with 
similar taste and find out what to watch next with your friends and family.
 
 **Some interesting features of Synopsi.tv**
 
-
    * Highly personalized recommendations both for Movies and TV Shows
-   * Very comprehensive mobile version of the site
+   * Very comprehensive mobile version of the website
    * Mobile apps in works (iOS should be released in few weeks)
    * Watch later list, which helps you to always remember a movie you wanted 
to watch
-   * Possibility to create unlimited amount of your own lists or follow lists 
of other u
-sers
+   * Possibility to create unlimited amount of your own lists or follow list
+s of other users
    * Easily track your progress among TV shows and be notified of new episodes
    * Compare your taste with other users, including your friends and see your 
compatibility rating
    * Get recommendations what to watch with your friends, family or complete 
strangers
@@ -21,7 +20,7 @@ sers
    * Automatically scrobble all watched Movies and TV episodes
    * Show personalized recommendations directly in the XBMC
    * Synchronize your lists
-   * Availability to rate every movie and TV episode after finishing *(you 
have an option to skip rating to be not disturbed if you are watching something 
from a playlist)*
+   * Availability to rate every movie and TV episode after finishing *(you 
have an option to skip rating to not be disturbed if you are watching something 
from a playlist)*
    * Create a list of available content on your XBMC so you can share it with 
your friends and family
 
 **How the scrobbler works?**
@@ -42,4 +41,4 @@ We have identified the title mismatching as the biggest issue 
for users and we a
 
 **Contribution**
 
-We really appreciate any help possible. Our ultimate goal is to build the best 
and easy to use system for ours parents so they can enjoy the same benefits as 
if they would be geeks (and they will stop calling us every time when something 
doesn’t work). We hope we will find more enthusiasts who could help us to 
achieve this goal.
\ No newline at end of file
+We really appreciate any help possible. Our ultimate goal is to build the best 
and easy to use system for ours parents so they can enjoy the same benefits as 
if they would be geeks, and not call us every time every time something goes 
wrong. We hope we will find more enthusiasts who could help us to achieve this 
goal.
\ No newline at end of file
diff --git a/plugin.video.synopsi/addon.xml b/plugin.video.synopsi/addon.xml
index ad9ce86..148a6de 100644
--- a/plugin.video.synopsi/addon.xml
+++ b/plugin.video.synopsi/addon.xml
@@ -1,13 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.synopsi"
        name="SynopsiTV"
-       version="1.0.9"
+       version="1.1.1"
        provider-name="Synopsi.TV">
        <requires>
                <import addon="xbmc.python" version="2.1.0" />
                <import addon="xbmc.addon" version="12.0.0" />
                <import addon="xbmc.metadata" version="2.1.0" />
-               <import addon="xbmc.gui" version="4.0.0" />
                
                <import addon="script.module.parsedom" version="1.5.1" />
                <import addon="plugin.video.youtube" version="2.9.1" /> <!-- We 
play trailers through this plugin -->   
diff --git a/plugin.video.synopsi/cache.py b/plugin.video.synopsi/cache.py
index e7a3057..9a6fb8d 100644
--- a/plugin.video.synopsi/cache.py
+++ b/plugin.video.synopsi/cache.py
@@ -52,8 +52,8 @@ class OfflineStvList(object):
        def getDefaultFilePath(cls):
                addon  = get_current_addon()
                addon_id = addon.getAddonInfo('id')
-               data_path = 
xbmc.translatePath('special://masterprofile/addon_data/')
-               return os.path.join(data_path, addon_id, 'cache.dat')
+               data_path = 
xbmc.translatePath(addon.getAddonInfo('profile')).decode('utf-8')               
            
+               return os.path.join(data_path, 'cache.dat')
 
        @classmethod
        def getDefaultList(cls, apiClient=None):
diff --git a/plugin.video.synopsi/changelog.txt 
b/plugin.video.synopsi/changelog.txt
index 7d419d2..f44ede6 100644
--- a/plugin.video.synopsi/changelog.txt
+++ b/plugin.video.synopsi/changelog.txt
@@ -1,3 +1,13 @@
+[B]Version 1.1.1[/B]
+
+* Code cleanup & update
+* Fixed: use localized strings
+
+[B]Version 1.1.0[/B]
+
+* Fixed: use profile path for cache, improves profile support
+* Fixed: rating failed when movie total_time returned float
+
 [B]Version 1.0.9[/B]
 
 * Fixed: missing restart dialog after installation
diff --git a/plugin.video.synopsi/dialog.py b/plugin.video.synopsi/dialog.py
index 55eda1f..010b371 100644
--- a/plugin.video.synopsi/dialog.py
+++ b/plugin.video.synopsi/dialog.py
@@ -92,6 +92,7 @@ class MyDialog(xbmcgui.WindowXMLDialog):
                self.parentWindow = open_dialogs[-1] if open_dialogs else None
                open_dialogs.append(self)
                self.result = None
+               self.getString = __addon__.getLocalizedString
        
        def close(self):
                if open_dialogs:
@@ -643,7 +644,7 @@ class CreateAccountDialog(MyDialog):
                elif action in ACTIONS_CLICK and (self.getFocusId() == 
self.ctl_create_account_id):
                        result = top.apiClient.profileCreate(self.real_name, 
self.email)
                        if result.get('status') == 'created':
-                               dialog_ok('Thank You for Signing Up! Check your 
inbox for an email from us to complete the process. We are happy to have you.')
+                               dialog_ok(self.getString(30016))
                                self.close()
                        elif result.get('status') == 'failed':
                                if result.get('message') is str:
diff --git a/plugin.video.synopsi/resources/language/English/strings.xml 
b/plugin.video.synopsi/resources/language/English/strings.xml
index 2237e1b..4e8800c 100644
--- a/plugin.video.synopsi/resources/language/English/strings.xml
+++ b/plugin.video.synopsi/resources/language/English/strings.xml
@@ -1,30 +1,42 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <strings>
-    <string id="69500">Login</string>
-    <string id="69501">Username</string>
-    <string id="69502">Password</string>
-       <string id="69503">Email</string>
-    <string id="69504">Login</string>
+    <string id="30000">Login</string>
+    <string id="30001">Username</string>
+    <string id="30002">Password</string>
+       <string id="30003">Email</string>
+    <string id="30004">Login</string>
 
     <!--Settings-->
 
-    <string id="69510">Settings</string>
-    <string id="69511">Allow protected folders</string>
-    <string id="69512">Allow debugging</string>
-
-    <string id="69513">Protected folder</string>
-    <string id="69514">Number of protected folders</string>
-    <string id="69515">Disable rating in playlist</string>
+    <string id="30010">Settings</string>
+    <string id="30011">Allow protected folders</string>
+    <string id="30012">Allow debugging</string>
 
+    <string id="30013">Protected folder</string>
+    <string id="30014">Number of protected folders</string>
+    <string id="30015">Disable rating in playlist</string>
+    <string id="30016">Thank You for Signing Up! Check your inbox for steps to 
complete the registration. We are happy to have you.</string>
 
     <!-- Dialog --->
-    <string id="69600">So, how did you like it?</string>
-    <string id="69601">Amazing</string>
-    <string id="69602">OK</string>
-    <string id="69603">Terrible</string>
-    <string id="69604">SynopsiTV Rating</string>
-    <string id="69699">To use our service, sign up by clicking below or visit 
[B]www.synopsi.tv[/B]</string>
-    <string id="69701">Sign up</string>
-    <string id="69700">If you already have an account, fill in your 
credentials here:</string>
+    <string id="30100">So, how did you like it?</string>
+    <string id="30101">Amazing</string>
+    <string id="30102">OK</string>
+    <string id="30103">Terrible</string>
+    <string id="30104">SynopsiTV Rating</string>
+    <string id="30199">To use our service, sign up by clicking below or visit 
[B]www.synopsi.tv[/B]</string>
+    <string id="30200">If you already have an account, fill in your 
credentials here:</string>
+    <string id="30201">Sign up</string>
+    <string id="30202">Real Name</string>
+    <string id="30203">Register</string>
+    <string id="30204">Choose correct title for your file</string>
+    
+    <string id="30205">Title</string>
+    <string id="30206">Director</string>
+    <string id="30207">Cast</string>
+
+    <string id="30210">Play</string>
+    <string id="30211">Trailer</string>
+    <string id="30212">Watched</string>
+    <string id="30213">Edit</string>
     
 </strings>
diff --git a/plugin.video.synopsi/resources/language/Slovak/strings.xml 
b/plugin.video.synopsi/resources/language/Slovak/strings.xml
index dc4256a..a4ba670 100644
--- a/plugin.video.synopsi/resources/language/Slovak/strings.xml
+++ b/plugin.video.synopsi/resources/language/Slovak/strings.xml
@@ -1,27 +1,42 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <strings>
-    <string id="69500">Prihlásenie</string>
-    <string id="69501">Prihlasovacie meno</string>
-    <string id="69502">Heslo</string>
-
-    <string id="69504">Prihlásiť sa</string>
+    <string id="30000">Prihlásenie</string>
+    <string id="30001">Prihlasovacie meno</string>
+    <string id="30002">Heslo</string>
+    <string id="30003">Email</string>
+    <string id="30004">Prihlásiť sa</string>
 
     <!--Settings-->
 
-    <string id="69510">Nastavenia</string>
-    <string id="69511">Povoliť chránené priečinky</string>
-    <string id="69512">Povoliť debugovanie</string>
+    <string id="30010">Nastavenia</string>
+    <string id="30011">Povoliť chránené priečinky</string>
+    <string id="30012">Povoliť debugovanie</string>
+
+    <string id="30013">Chránené priečinky</string>
+    <string id="30014">Počet chránených priečinkov</string>
+    <string id="30015">Zakázať hodnotenie v playliste</string>
+    <string id="30016">Ďakujeme za registráciu! Na Váš email bol zaslaný 
postup pre dokončenie registrácie. Sme radi že si s nami</string>
 
-    <string id="69513">Chránené priečinky</string>
-    <string id="69514">Počet chránených priečinkov</string>
-    <string id="69515">Zakázať hodnotenie v playliste</string>
+    <!-- Dialog --->
+    <string id="30100">Tak, ako sa Vám páčil tento film?</string>
+    <string id="30101">Skvelé</string>
+    <string id="30102">OuKej</string>
+    <string id="30103">Hnusné</string>
+    <string id="30104">SynopsiTV Hodnotenie</string>
+    <string id="30199">Pre použitie našej služby je potrebné sa 
zaregistrovať na [B]www.synopsi.tv[/B] a prihlásiť kliknutím na tlačidlo 
nižšie</string>
+    <string id="30200">Ak už máte konto, vyplňte svoje údaje:</string>
+    <string id="30201">Prihlásiť</string>
+    <string id="30202">Meno</string>
+    <string id="30203">Zaregistrovať</string>
+    <string id="30204">Označ titul patriaci k súboru</string>
 
+    <string id="30205">Názov</string>
+    <string id="30206">Režisér</string>
+    <string id="30207">Hrajú</string>
 
+    <string id="30210">Play</string>
+    <string id="30211">Trailer</string>
+    <string id="30212">Watched</string>
+    <string id="30213">Edit</string>    
 
-    <!-- Dialog --->
-    <string id="69600">Tak, ako si Vam pacil tento film?</string>
-    <string id="69601">Skvelé</string>
-    <string id="69602">OuKej</string>
-    <string id="69603">Hnusné</string>
-    <string id="69604">SynopsiTV Hodnotenie</string>
 </strings>
diff --git a/plugin.video.synopsi/resources/settings.xml 
b/plugin.video.synopsi/resources/settings.xml
index c318bba..abe200d 100644
--- a/plugin.video.synopsi/resources/settings.xml
+++ b/plugin.video.synopsi/resources/settings.xml
@@ -1,18 +1,18 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 
 <settings>
-    <category label="69500">
+    <category label="30000">
         <!--Login-->
-        <setting label="69699" type="lsep" />
-        <setting label="69701" type="action" option="close" 
action="RunScript(plugin.video.synopsi, -1, addon.py?mode=920)"/>
+        <setting label="30199" type="lsep" />
+        <setting label="30201" type="action" option="close" 
action="RunScript(plugin.video.synopsi, -1, addon.py?mode=920)"/>
 
         <setting label="" type="lsep"/>
         <setting label="" type="lsep"/>
         <setting label="" type="lsep"/>
 
-        <setting label="69700" type="lsep" />                  
-        <setting id="USER" label="69503" type="text" default=""/>
-       <setting id="PASS" label="69502" option="hidden" type="text" 
enable="!eq(-1,)" default=""/>
+        <setting label="30200" type="lsep" />                  
+        <setting id="USER" label="30003" type="text" default=""/>
+       <setting id="PASS" label="30002" option="hidden" type="text" 
enable="!eq(-1,)" default=""/>
        
                
        <!--TOKENS-->
@@ -26,23 +26,23 @@
     </category>
 
     <!-- Advanced settings -->
-    <category label="69510">
-        <setting id="DEBUG" type="bool" label="69512" default="false"/>
-        <setting id="DISABLE_RATING_IN_PLAYLIST" type="bool" label="69515" 
default="false"/>
+    <category label="30010">
+        <setting id="DEBUG" type="bool" label="30012" default="false"/>
+        <setting id="DISABLE_RATING_IN_PLAYLIST" type="bool" label="30015" 
default="false"/>
 
         <setting id="NON_DEBUG_LOGLEVEL" type="text" visible="false" 
default="10"/>
 
-        <setting id="PROTFOL" option="hidden" visible="false" type="bool" 
label="69511" default="false"/>
-        <setting id="NUMFOLD" option="hidden" visible="false" type="enum" 
label="69514" values="1|2|3|4|5|6|7|8|9" enable="eq(-1,true)" />
-        <setting id="FOLDER1" option="hidden" visible="false" type="folder" 
label="69513" enable="eq(-2,true)" />
-        <setting id="FOLDER2" option="hidden" type="folder" label="69513" 
visible="gt(-2,0)" enable="eq(-3,true)" />
-        <setting id="FOLDER3" option="hidden" type="folder" label="69513" 
visible="gt(-3,1)" enable="eq(-4,true)" />
-        <setting id="FOLDER4" option="hidden" type="folder" label="69513" 
visible="gt(-4,2)" enable="eq(-5,true)" />
-        <setting id="FOLDER5" option="hidden" type="folder" label="69513" 
visible="gt(-5,3)" enable="eq(-6,true)" />
-        <setting id="FOLDER6" option="hidden" type="folder" label="69513" 
visible="gt(-6,4)" enable="eq(-7,true)" />
-        <setting id="FOLDER7" option="hidden" type="folder" label="69513" 
visible="gt(-7,5)" enable="eq(-8,true)" />
-        <setting id="FOLDER8" option="hidden" type="folder" label="69513" 
visible="gt(-8,6)" enable="eq(-9,true)" />
-        <setting id="FOLDER9" option="hidden" type="folder" label="69513" 
visible="gt(-9,7)" enable="eq(-10,true)" />
+        <setting id="PROTFOL" option="hidden" visible="false" type="bool" 
label="30011" default="false"/>
+        <setting id="NUMFOLD" option="hidden" visible="false" type="enum" 
label="30014" values="1|2|3|4|5|6|7|8|9" enable="eq(-1,true)" />
+        <setting id="FOLDER1" option="hidden" visible="false" type="folder" 
label="30013" enable="eq(-2,true)" />
+        <setting id="FOLDER2" option="hidden" type="folder" label="30013" 
visible="gt(-2,0)" enable="eq(-3,true)" />
+        <setting id="FOLDER3" option="hidden" type="folder" label="30013" 
visible="gt(-3,1)" enable="eq(-4,true)" />
+        <setting id="FOLDER4" option="hidden" type="folder" label="30013" 
visible="gt(-4,2)" enable="eq(-5,true)" />
+        <setting id="FOLDER5" option="hidden" type="folder" label="30013" 
visible="gt(-5,3)" enable="eq(-6,true)" />
+        <setting id="FOLDER6" option="hidden" type="folder" label="30013" 
visible="gt(-6,4)" enable="eq(-7,true)" />
+        <setting id="FOLDER7" option="hidden" type="folder" label="30013" 
visible="gt(-7,5)" enable="eq(-8,true)" />
+        <setting id="FOLDER8" option="hidden" type="folder" label="30013" 
visible="gt(-8,6)" enable="eq(-9,true)" />
+        <setting id="FOLDER9" option="hidden" type="folder" label="30013" 
visible="gt(-9,7)" enable="eq(-10,true)" />
         <setting id="sp" type="sep" visible="false" />
 
 
diff --git 
a/plugin.video.synopsi/resources/skins/Default/720p/AccountCreate.xml 
b/plugin.video.synopsi/resources/skins/Default/720p/AccountCreate.xml
index 22b0bf3..042c04a 100644
--- a/plugin.video.synopsi/resources/skins/Default/720p/AccountCreate.xml
+++ b/plugin.video.synopsi/resources/skins/Default/720p/AccountCreate.xml
@@ -29,9 +29,7 @@
                        <width>530</width>
                        <height>30</height>
                        <font>font13_title</font>
-                       <label>Sign Up - SynopsiTV</label>
-                       <!-- <label>$LOCALIZE[SCRIPT69604]</label> -->
-                       <!-- <label>$LOCALIZE[69604]</label> -->
+                       <label>$ADDON[plugin.video.synopsi 30201] - 
SynopsiTV</label>
                        <align>center</align>
                        <aligny>center</aligny>
                        <textcolor>selected</textcolor>
@@ -62,10 +60,9 @@
                        <posy>60</posy>
                        <width>550</width>
                        <height>30</height>
-                       <!--<align>left</align>-->
                        <align>center</align>
                        <aligny>center</aligny>
-                       <label>Enter joor kredentail</label>
+                       <label>Enter your credentials</label>
                        <font>font13</font>
                        <visible>False</visible>
                </control>
@@ -79,7 +76,7 @@
                        <!--<align>left</align>-->
                        <align>right</align>
                        <aligny>center</aligny>
-                       <label>Real Name</label>
+                       <label>$ADDON[plugin.video.synopsi 30202]</label>
                        <font>font13</font>
                        <textcolor>FF888888</textcolor>
                </control>
@@ -111,7 +108,7 @@
                        <!--<align>left</align>-->
                        <align>right</align>
                        <aligny>center</aligny>
-                       <label>Email</label>
+                       <label>$ADDON[plugin.video.synopsi 30003]</label>
                        <font>font13</font>
                        <textcolor>FF888888</textcolor>
                </control>
@@ -140,7 +137,7 @@
                        <posy>220</posy>
                        <width>150</width>
                        <height>40</height>
-                       <label>Register</label>
+                       <label>$ADDON[plugin.video.synopsi 30203]</label>
                        <font>font12_title</font>
                        <textcolor>white</textcolor>
                        <focusedcolor>white</focusedcolor>
diff --git a/plugin.video.synopsi/resources/skins/Default/720p/Rating.xml 
b/plugin.video.synopsi/resources/skins/Default/720p/Rating.xml
index 4222867..c4c5834 100644
--- a/plugin.video.synopsi/resources/skins/Default/720p/Rating.xml
+++ b/plugin.video.synopsi/resources/skins/Default/720p/Rating.xml
@@ -29,9 +29,7 @@
                        <width>530</width>
                        <height>30</height>
                        <font>font13_title</font>
-                       <label>SynopsiTV Rating</label>
-                       <!-- <label>$LOCALIZE[SCRIPT69604]</label> -->
-                       <!-- <label>$LOCALIZE[69604]</label> -->
+                       <label>$ADDON[plugin.video.synopsi 30104]</label>
                        <align>center</align>
                        <aligny>center</aligny>
                        <textcolor>selected</textcolor>
@@ -63,7 +61,7 @@
                        <!--<align>left</align>-->
                        <align>center</align>
                        <aligny>center</aligny>
-                       <label>So, how did you like this movie?</label>
+                       <label>$ADDON[plugin.video.synopsi 30100]</label>
                        <font>font13</font>
                </control>
                <control id="15" type="button">
@@ -72,7 +70,7 @@
                        <posy>175</posy>
                        <width>150</width>
                        <height>40</height>
-                       <label>Terrible</label>
+                       <label>$ADDON[plugin.video.synopsi 30103]</label>
                        <font>font12_title</font>
                        <textcolor>white</textcolor>
                        <focusedcolor>white</focusedcolor>
@@ -88,7 +86,7 @@
                        <posy>175</posy>
                        <width>150</width>
                        <height>40</height>
-                       <label>OK</label>
+                       <label>$ADDON[plugin.video.synopsi 30102]</label>
                        <font>font12_title</font>
                        <textcolor>white</textcolor>
                        <focusedcolor>white</focusedcolor>
@@ -104,8 +102,7 @@
                        <posy>175</posy>
                        <width>150</width>
                        <height>40</height>
-                       <label>Amazing</label>
-                       <!-- <label>$LOCALIZE[SCRIPT69604]</label> -->
+                       <label>$ADDON[plugin.video.synopsi 30101]</label>
                        <font>font12_title</font>
                        <textcolor>white</textcolor>
                        <focusedcolor>white</focusedcolor>
diff --git a/plugin.video.synopsi/resources/skins/Default/720p/SelectMovie.xml 
b/plugin.video.synopsi/resources/skins/Default/720p/SelectMovie.xml
index 3df1a9e..410b670 100644
--- a/plugin.video.synopsi/resources/skins/Default/720p/SelectMovie.xml
+++ b/plugin.video.synopsi/resources/skins/Default/720p/SelectMovie.xml
@@ -42,7 +42,7 @@
                                <font>font13_title</font>
                                <textcolor>white</textcolor>
                                <selectedcolor>white</selectedcolor>            
                
-                               <label>Choose correct title for your 
file</label>
+                               <label>$ADDON[plugin.video.synopsi 
30204]</label>
                                <align>center</align>
                        </control>
                        <control id="59" type="list">
@@ -75,7 +75,7 @@
                                                <posy>25</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Title:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30205]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
@@ -100,7 +100,7 @@
                                                <posy>55</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Director:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30206]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
@@ -125,7 +125,7 @@
                                                <posy>85</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Cast:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30207]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
@@ -173,7 +173,7 @@
                                                <posy>25</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Title:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30205]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
@@ -198,7 +198,7 @@
                                                <posy>55</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Director:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30206]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
@@ -223,7 +223,7 @@
                                                <posy>85</posy>
                                                <width>100</width>
                                                <height>30</height>
-                                               <label>Cast:</label>
+                                               
<label>$ADDON[plugin.video.synopsi 30207]:</label>
                                                <font>font13</font>
                                                <align>right</align>
                                                <aligny>center</aligny>
diff --git a/plugin.video.synopsi/resources/skins/Default/720p/VideoInfo.xml 
b/plugin.video.synopsi/resources/skins/Default/720p/VideoInfo.xml
index 140755b..6fff9ff 100644
--- a/plugin.video.synopsi/resources/skins/Default/720p/VideoInfo.xml
+++ b/plugin.video.synopsi/resources/skins/Default/720p/VideoInfo.xml
@@ -382,22 +382,22 @@
                                                </control> -->
                                                <control id="5" type="button">
                                                        
<include>ButtonInfoDialogsCommonValues</include>
-                                                       <label>Play</label>
+                                                       
<label>$ADDON[plugin.video.synopsi 30210]</label>
                                                        
<onclick>PlayMedia($ESCINFO[Window.Property(Movie.File)])</onclick>
                                                        <enable>false</enable>
                                                </control>
                                                <control id="10" type="button">
                                                        
<include>ButtonInfoDialogsCommonValues</include>
-                                                       <label>Trailer</label>
+                                                       
<label>$ADDON[plugin.video.synopsi 30211]</label>
                                                        
<onclick>PlayMedia(plugin://plugin.video.youtube/?action=play_video&amp;videoid=$INFO[Window.Property(Movie.Trailer.Id)])</onclick>
                                                </control>
                                                <control id="11" type="button">
                                                        
<include>ButtonInfoDialogsCommonValues</include>
-                                                       <label>Watched</label>
+                                                       
<label>$ADDON[plugin.video.synopsi 30212]</label>
                                                </control>
                                                <control id="13" type="button">
                                                        
<include>ButtonInfoDialogsCommonValues</include>
-                                                       <label>Edit</label>
+                                                       
<label>$ADDON[plugin.video.synopsi 30213]</label>
                                                        <enable>false</enable>
                                                </control>
                                        </control>
diff --git a/plugin.video.synopsi/scrobbler.py 
b/plugin.video.synopsi/scrobbler.py
index 78f87c8..7972489 100644
--- a/plugin.video.synopsi/scrobbler.py
+++ b/plugin.video.synopsi/scrobbler.py
@@ -59,7 +59,7 @@ class SynopsiPlayer(xbmc.Player):
                }
 
                if position:
-                       event['position'] = position
+                       event['position'] = int(position)
                elif self.playing:
                        event['position'] = int(self.current_time)
                else:
diff --git a/plugin.video.synopsi/utilities.py 
b/plugin.video.synopsi/utilities.py
index 533081d..857972f 100644
--- a/plugin.video.synopsi/utilities.py
+++ b/plugin.video.synopsi/utilities.py
@@ -330,14 +330,6 @@ class XMLRatingDialog(xbmcgui.WindowXMLDialog):
        def __init__(self, *args, **kwargs):
                xbmcgui.WindowXMLDialog.__init__( self )
 
-       def onInit(self):
-               self.getString = __addon__.getLocalizedString
-               self.getControl(11).setLabel(self.getString(69601))
-               self.getControl(10).setLabel(self.getString(69602))
-               self.getControl(15).setLabel(self.getString(69603))
-               self.getControl(1 ).setLabel(self.getString(69604))
-               self.getControl(2 ).setLabel(self.getString(69600))
-
        def onClick(self, controlId):
                """
                For controlID see: <control id="11" type="button"> in Rating.xml
@@ -359,7 +351,7 @@ class XMLRatingDialog(xbmcgui.WindowXMLDialog):
 
 class XMLLoginDialog(xbmcgui.WindowXMLDialog):
        """
-       Dialog class that asks user about rating of movie.
+       Dialog class that asks user's login.
        """
        response = 4
        # 1 = Cancel, 2 = OK
@@ -370,9 +362,6 @@ class XMLLoginDialog(xbmcgui.WindowXMLDialog):
                self.password = kwargs['password']
 
        def onInit(self):
-               self.getString = __addon__.getLocalizedString
-               c = self.getControl(10)
-
                self.getControl(10).setText(self.username)
                self.getControl(11).setText(self.password)
 

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

Summary of changes:
 plugin.video.synopsi/README.markdown               |   13 ++---
 plugin.video.synopsi/addon.xml                     |    3 +-
 plugin.video.synopsi/cache.py                      |    4 +-
 plugin.video.synopsi/changelog.txt                 |   10 ++++
 plugin.video.synopsi/dialog.py                     |    3 +-
 .../resources/language/English/strings.xml         |   52 ++++++++++++--------
 .../resources/language/Slovak/strings.xml          |   49 ++++++++++++------
 plugin.video.synopsi/resources/settings.xml        |   40 ++++++++--------
 .../resources/skins/Default/720p/AccountCreate.xml |   13 ++---
 .../resources/skins/Default/720p/Rating.xml        |   13 ++---
 .../resources/skins/Default/720p/SelectMovie.xml   |   14 +++---
 .../resources/skins/Default/720p/VideoInfo.xml     |    8 ++--
 plugin.video.synopsi/scrobbler.py                  |    2 +-
 plugin.video.synopsi/utilities.py                  |   13 +-----
 14 files changed, 128 insertions(+), 109 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&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