-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2651 from scott967/script.extendedinfo-6.0.9
[script.extendedinfo] 6.0.9
- Loading branch information
Showing
31 changed files
with
1,124 additions
and
428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.extendedinfo" name="ExtendedInfo Script" version="6.0.7" provider-name="scott967"> | ||
<addon id="script.extendedinfo" name="ExtendedInfo Script" version="6.0.9" provider-name="scott967"> | ||
<requires> | ||
<import addon="xbmc.python" version="3.0.0"/> | ||
<import addon="resource.images.studios.white" version="0.0.25"/> | ||
|
@@ -24,7 +24,7 @@ | |
<forum>http://forum.kodi.tv/showthread.php?tid=160558</forum> | ||
<source>https://github.com/scott967/script.extendedinfo</source> | ||
<email>[email protected]</email> | ||
<news>Python 3 fixes and Omega/Nexus/Matrix updates by scott967. Original addon for Leia and prior by phil65 (Philipp Temminghoff).</news> | ||
<news>Python 3 fixes and Piers/Omega/Nexus/Matrix updates by scott967. Original addon for Leia and prior by phil65 (Philipp Temminghoff).</news> | ||
<assets> | ||
<icon>resources/icon.png</icon> | ||
<fanart>resources/fanart.jpg</fanart> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Copyright (C) 2015 - Philipp Temminghoff <[email protected]> | ||
# This program is Free Software see LICENSE file for details | ||
"""_summary_Creates a Busyhandler instance as busyhandler | ||
Returns: | ||
Busyhandler: manage display of "busy" dialog | ||
Note that kutil131 __init__ imports busyhandler as "busy" | ||
""" | ||
|
||
import traceback | ||
from functools import wraps | ||
|
@@ -15,6 +21,9 @@ class BusyHandler: | |
Class to deal with busydialog handling | ||
""" | ||
def __init__(self, *args, **kwargs): | ||
"""Initializes the handler with no dialog and enabled | ||
self.busy is the nember of active busy requests | ||
""" | ||
self.busy = 0 | ||
self.enabled = True | ||
|
||
|
@@ -41,6 +50,11 @@ def show_busy(self): | |
self.busy += 1 | ||
|
||
def set_progress(self, percent): | ||
"""Not implemented | ||
Args: | ||
percent (int): 0-99 completion | ||
""" | ||
pass | ||
|
||
def hide_busy(self): | ||
|
@@ -66,7 +80,7 @@ def decorator(cls, *args, **kwargs): | |
result = func(cls, *args, **kwargs) | ||
except Exception: | ||
utils.log(traceback.format_exc()) | ||
utils.notify("Error", "please contact add-on author") | ||
utils.notify("Busy Error", "please contact add-on author") | ||
finally: | ||
self.hide_busy() | ||
return result | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.