Skip to content

Commit

Permalink
change requirements, change log level
Browse files Browse the repository at this point in the history
  • Loading branch information
smangels committed Nov 12, 2020
1 parent df45a06 commit ef0cff2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
17 changes: 2 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
certifi==2020.6.20
chardet==3.0.4
gevent==20.9.0
greenlet==0.4.17
idna==2.10
ifaddr==0.1.7
prettyprint==0.1.5
requests==2.24.0
roonapi==0.0.22
six==1.15.0
urllib3==1.25.10
websocket==0.2.1
websocket-client==0.57.0
zope.event==4.5.0
zope.interface==5.1.2

roonapi==0.0.26
evdev
6 changes: 4 additions & 2 deletions roon_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
from app import RoonController, RoonZone, RemoteConfig

INPUT_DEVICE = None
logging.basicConfig(level=logging.DEBUG,
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(levelname)s %(module)s.%(funcName)s: %(message)s')


# TODO: making variables part of the signal handler
# TODO: stop loop over select
def exit_handler(received_signal, frame):
global INPUT_DEVICE
logging.info("Signaling internal jobs to stop...")
Expand Down Expand Up @@ -73,7 +75,7 @@ def main():
logging.error('Could not find any event device')
sys.exit(1)

logging.info('found event device: {}'.format(event_dev))
logging.debug('found event device: {}'.format(event_dev))

config = RemoteConfig(Path('app_info.json'))

Expand Down

0 comments on commit ef0cff2

Please sign in to comment.