Skip to content

Commit

Permalink
4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dream-alpha committed Oct 25, 2024
1 parent 47b6247 commit 17b9032
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ disable=print-statement,
dict-keys-not-iterating,
dict-values-not-iterating,

R0201, R0205,
R0201, R0205, R1725,
C0103, C0114, C0326, C0330, C0411,
W0122, W0123, W0201, W0311, W0312, W0603, W0703, W1505,
E0401, E0611, E1101
Expand Down
2 changes: 1 addition & 1 deletion CONTROL/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Description: PowerCockpit
Maintainer: dream-alpha
Package: enigma2-plugin-systemplugins-powercockpit
Version: 4.4.0
Version: 4.5.0
Architecture: all
Conflicts: enigma2-plugin-systemplugins-safepoweroff
Replaces: enigma2-plugin-systemplugins-safepoweroff
19 changes: 0 additions & 19 deletions src/RecordingUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@
import NavigationInstance
from Screens.InfoBar import InfoBar
from Plugins.SystemPlugins.JobCockpit.JobCockpit import JobCockpit
try:
from Plugins.SystemPlugins.SocketCockpit.SocketCockpit import SocketCockpit
except ImportError:
class SocketCockpit():
def __init__(self):
return

@staticmethod
def getInstance():
return None
from .Debug import logger
from .JobUtils import getPendingJobs

Expand Down Expand Up @@ -100,15 +90,6 @@ def isTimeshiftRecording(path=""):
return is_timeshift_recording


def isFileStreaming():
is_file_streaming = False
socket_cockpit = SocketCockpit.getInstance()
if socket_cockpit:
is_file_streaming = socket_cockpit.isFileStreaming()
logger.debug("is_file_streaming: %s", is_file_streaming)
return is_file_streaming


def stopRecording(path, force=True):
logger.info("path: %s, force: %s", path, force)
logger.debug("is_timeshift_recording: %s", isTimeshiftRecording(path))
Expand Down
1 change: 0 additions & 1 deletion src/Standby.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def __onClose(self):
Screens.Standby.inStandby = None
self.timeReady()
if not self.session.shutdown:
# why? FileManager.getInstance().cancelJobs()
if self.prev_running_service:
self.session.nav.playService(self.prev_running_service)
elif self.paused_service:
Expand Down
2 changes: 1 addition & 1 deletion src/Version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

PLUGIN = "PowerCockpit"
ID = "POC"
VERSION = "4.4.0"
VERSION = "4.5.0"
COPYRIGHT = "2018-2024 by dream-alpha"
LICENSE = "This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version."

0 comments on commit 17b9032

Please sign in to comment.