-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[script.service.playbackresumer] 2.0.7
- Loading branch information
1 parent
afe0a48
commit 9ec7d53
Showing
7 changed files
with
107 additions
and
315 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.service.playbackresumer" name="Kodi Playback Resumer" version="2.0.6" provider-name="bossanova808, bradvido88"> | ||
<addon id="script.service.playbackresumer" name="Kodi Playback Resumer" version="2.0.7" provider-name="bossanova808, bradvido88"> | ||
<requires> | ||
<import addon="xbmc.python" version="3.0.0"/> | ||
<import addon="script.module.bossanova808" version="1.0.0"/> | ||
</requires> | ||
<extension point="xbmc.service" library="default.py" /> | ||
<extension point="xbmc.addon.metadata"> | ||
|
@@ -15,7 +16,9 @@ | |
<source>https://github.com/bossanova808/script.service.playbackresumer</source> | ||
<forum>https://forum.kodi.tv/showthread.php?tid=355383</forum> | ||
<email>[email protected]</email> | ||
<news>v2.0.6 - Add support for non-library videos</news> | ||
<news>v2.0.7 | ||
- Remove old common code, use new module | ||
</news> | ||
<assets> | ||
<icon>icon.png</icon> | ||
</assets> | ||
|
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,6 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from bossanova808 import exception_logger | ||
from resources.lib import playback_resumer | ||
|
||
if __name__ == "__main__": | ||
playback_resumer.run() | ||
with exception_logger.log_exception(): | ||
playback_resumer.run() |
This file was deleted.
Oops, something went wrong.
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,18 +1,18 @@ | ||
import xbmc | ||
from .common import * | ||
from bossanova808.logger import Logger | ||
# noinspection PyPackages | ||
from .store import Store | ||
|
||
|
||
class KodiEventMonitor(xbmc.Monitor): | ||
|
||
def __init__(self, *args, **kwargs): | ||
xbmc.Monitor.__init__(self) | ||
log('KodiEventMonitor __init__') | ||
Logger.debug('KodiEventMonitor __init__') | ||
|
||
def onSettingsChanged(self): | ||
log('onSettingsChanged - reload them.') | ||
Logger.info('onSettingsChanged - reload them.') | ||
Store.load_config_from_settings() | ||
|
||
def onAbortRequested(self): | ||
log('onAbortRequested') | ||
log("Abort Requested") | ||
Logger.debug('onAbortRequested') |
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.