The branch, frodo has been updated
via afb406af0f72968201ccc856c7faa3e3339af7fb (commit)
from b7afda8f813381a4fad7b3a439efb46554b840e5 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=afb406af0f72968201ccc856c7faa3e3339af7fb
commit afb406af0f72968201ccc856c7faa3e3339af7fb
Author: M. Kaijser <[email protected]>
Date: Wed Apr 3 14:04:00 2013 +0200
[service.xbmc.versioncheck] 0.1.3
diff --git a/service.xbmc.versioncheck/README.md
b/service.xbmc.versioncheck/README.md
index 608296a..1442d6f 100644
--- a/service.xbmc.versioncheck/README.md
+++ b/service.xbmc.versioncheck/README.md
@@ -3,4 +3,4 @@ XBMC Versioncheck
This service checks the installed XBMC version against the next available one
and notifies you if there is a new version available.
When a new version comes out the versions.txt should be updated to reflect the
latest version available.
-When updating the version.txt always put latest release at the top since the
list is read in chronilogical order.
\ No newline at end of file
+When updating the version.txt always put latest release at the top since the
list is read in chronilogical order.
diff --git a/service.xbmc.versioncheck/addon.xml
b/service.xbmc.versioncheck/addon.xml
index b811865..b761876 100644
--- a/service.xbmc.versioncheck/addon.xml
+++ b/service.xbmc.versioncheck/addon.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="service.xbmc.versioncheck" name="XBMC Version Check"
version="0.1.2" provider-name="Team XBMC">
+<addon id="service.xbmc.versioncheck"
+ name="XBMC Version Check"
+ version="0.1.3"
+ provider-name="Team XBMC">
<requires>
<import addon="xbmc.addon" version="12.0.0"/>
<import addon="xbmc.python" version="2.1.0"/>
@@ -8,13 +11,13 @@
<extension point="xbmc.service" library="service.py" start="login"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">XBMC Version Check checks if you are running latest
released version.</summary>
- <description lang="en">XBMC Version Check only supports a number of
platforms/distros as releases may deffer between them. For more information
visit the xbmc.org website.</description>
+ <description lang="en">XBMC Version Check only supports a number of
platforms/distros as releases may differ between them. For more information
visit the xbmc.org website.</description>
<disclaimer lang="en">Feel free to use this script. For information
visit xbmc.org</disclaimer>
<license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license>
<platform>osx osx32 osx64 ios windx wingl linux</platform>
<website>http://xbmc.org</website>
<source>https://github.com/XBMC-Addons/service.xbmc.versioncheck</source>
- <forum></forum>
+ <forum>http://forum.xbmc.org/showthread.php?tid=160228</forum>
<email></email>
</extension>
</addon>
diff --git a/service.xbmc.versioncheck/changelog.txt
b/service.xbmc.versioncheck/changelog.txt
index be117b0..fd5cd08 100644
--- a/service.xbmc.versioncheck/changelog.txt
+++ b/service.xbmc.versioncheck/changelog.txt
@@ -1,3 +1,6 @@
+v0.1.3
+- Update with 13.0 Gotham_alpha2
+
v0.1.2
- Add notification for Ubuntu users checking through apt command
diff --git a/service.xbmc.versioncheck/resources/language/English/strings.po
b/service.xbmc.versioncheck/resources/language/English/strings.po
index f5d6195..38b4c9a 100644
--- a/service.xbmc.versioncheck/resources/language/English/strings.po
+++ b/service.xbmc.versioncheck/resources/language/English/strings.po
@@ -1,6 +1,6 @@
# XBMC Media Center language file
-# Addon Name: Artwork Downloader
-# Addon id: script.artwork.downloader
+# Addon Name: XBMC Version Check
+# Addon id: service.xbmc.versioncheck
# Addon Provider: Team XBMC
msgid ""
msgstr ""
@@ -9,11 +9,11 @@ msgstr ""
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: XBMC Translation Team\n"
-"Language-Team: Dutch
(http://www.transifex.com/projects/p/xbmc-addons/language/nl/)\n"
+"Language-Team: English
(http://www.transifex.com/projects/p/xbmc-addons/language/en/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: nl\n"
+"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgctxt "#32001"
diff --git a/service.xbmc.versioncheck/resources/versions.txt
b/service.xbmc.versioncheck/resources/versions.txt
index 0ababef..72a687e 100644
--- a/service.xbmc.versioncheck/resources/versions.txt
+++ b/service.xbmc.versioncheck/resources/versions.txt
@@ -133,6 +133,13 @@
"major": "13",
"minor": "0",
"tag": "prealpha",
+ "revision": "20130331-194c408",
+ "extrainfo": "alpha2"
+ },
+ {
+ "major": "13",
+ "minor": "0",
+ "tag": "prealpha",
"revision": "20130227-8d2e0fe",
"extrainfo": "alpha1"
},
diff --git a/service.xbmc.versioncheck/service.py
b/service.xbmc.versioncheck/service.py
index cea56c3..49acf3a 100644
--- a/service.xbmc.versioncheck/service.py
+++ b/service.xbmc.versioncheck/service.py
@@ -169,6 +169,7 @@ def _versioncheckapt(package):
# initial vars
oldversion = False
msg = ''
+ result = ''
# try to import apt
try:
@@ -180,10 +181,13 @@ def _versioncheckapt(package):
sys.exit(0)
apt_client = client.AptClient()
try:
- trans = apt_client.update_cache()
- trans.run(reply_handler=_apttransstarted,
error_handler=_apterrorhandler)
+ result = apt_client.update_cache(wait=True)
+ if (result == "exit-success"):
+ log("Finished updating the cache")
+ else:
+ log("Error updating the cache %s" %result)
except errors.NotAuthorizedError:
- log("You are not allowed to update the cache!")
+ log("You are not allowed to update the cache")
sys.exit(0)
trans = apt_client.upgrade_packages([package])
@@ -215,7 +219,11 @@ def _apterrorhandler(error):
def _upgrademessage(msg):
# Don't show while watching a video
while(xbmc.Player().isPlayingVideo() and not xbmc.abortRequested):
- xbmc.sleep(500)
+ xbmc.sleep(1000)
+ i = 0
+ while(i < 5 and not xbmc.abortRequested):
+ xbmc.sleep(1000)
+ i += 1
# Detect if it's first run and only show OK dialog + ask to disable on that
firstrun = __addon__.getSetting("versioncheck_firstrun") != 'false'
if firstrun and not xbmc.abortRequested:
-----------------------------------------------------------------------
Summary of changes:
service.xbmc.versioncheck/README.md | 2 +-
service.xbmc.versioncheck/addon.xml | 9 ++++++---
service.xbmc.versioncheck/changelog.txt | 3 +++
.../resources/language/English/strings.po | 8 ++++----
service.xbmc.versioncheck/resources/versions.txt | 7 +++++++
service.xbmc.versioncheck/service.py | 16 ++++++++++++----
6 files changed, 33 insertions(+), 12 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons