Fix README.md and update mediaplayer.py

This commit is contained in:
the_4n0nym0u53 2022-01-30 15:44:27 +01:00
parent 79e8c96121
commit 4899da37f9
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ $ cd dotfiles
$ chmod +x artix-install.sh
$ ./artix-install.sh # For Artix
$ ./fedora-install.sh # For Fedora
$ ./termux-install # For Termux
$ ./termux-install.sh # For Termux
$ ./ubuntu-install.sh # For Ubuntu
```

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
import argparse
import logging
import sys
@ -80,7 +79,7 @@ def signal_handler(sig, frame):
def parse_arguments():
parser = argparse.ArgumentParser()
# Increase verbosity with every occurence of -v
# Increase verbosity with every occurrence of -v
parser.add_argument('-v', '--verbose', action='count', default=0)
# Define for which player we're listening
@ -111,6 +110,7 @@ def main():
signal.signal(signal.SIGINT, signal_handler)
signal.signal(signal.SIGTERM, signal_handler)
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
for player in manager.props.player_names:
if arguments.player is not None and arguments.player != player.name: