diff --git a/.travis.yml b/.travis.yml index cfb3e37..78398f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ install: - pip install flake8 script: - - flake8 --benchmark --statistics --exclude="setup.py" + - flake8 --benchmark --statistics - python setup.py bdist_egg diff --git a/README.md b/README.md index d13f71a..1fbd4dc 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ To use this plugin: ```bash export XDG_DATA_HOME=${XDG_DATA_HOME:-"${HOME}/.local/share"} - mkdir -p $XDG_DATA_HOME/whipper/plugins - cp dist/morituri_*egg $XDG_DATA_HOME/whipper/plugins + mkdir -p "$XDG_DATA_HOME/whipper/plugins" + cp "dist/whipper_plugin_eaclogger*.egg" "$XDG_DATA_HOME/whipper/plugins" ``` * verify that it gets recognized: diff --git a/eaclogger/logger/eac.py b/eaclogger/logger/eac.py index 74698ad..205e013 100755 --- a/eaclogger/logger/eac.py +++ b/eaclogger/logger/eac.py @@ -51,7 +51,8 @@ def logRip(self, ripResult, epoch): # Ripper version # ATM differs from EAC's typical log line - lines.append("whipper version %s (eac logger)" % whipper.__version__) + lines.append("whipper version %s "(eac logger 0.3.1)" % ( + whipper.__version__)) lines.append("") # Rip date @@ -76,11 +77,9 @@ def logRip(self, ripResult, epoch): # Extra line (not included in EAC's logfiles) lines.append("Use cdparanoia mode : Yes (cdparanoia %s)" % ( ripResult.cdparanoiaVersion)) - defeat = "Unknown" - if ripResult.cdparanoiaDefeatsCache is True: + defeat = "No" + if ripResult.cdparanoiaDefeatsCache: defeat = "Yes" - if ripResult.cdparanoiaDefeatsCache is False: - defeat = "No" lines.append("Defeat audio cache : %s" % defeat) lines.append("Make use of C2 pointers : No") lines.append("") diff --git a/setup.py b/setup.py index 6f24cde..b5d8216 100755 --- a/setup.py +++ b/setup.py @@ -2,15 +2,15 @@ setup( name="whipper-plugin-eaclogger", - version="0.3.0", - description="""A logger plugin for whipper which provides EAC style log reports""", + version="0.3.1", + description="Logger plugin for whipper which provides EAC style reports", author="JoeLametta, superveloman", maintainer="JoeLametta", url="https://github.com/whipper-team/whipper-plugin-eaclogger", - packages=[ - "eaclogger", - "eaclogger.logger"], - entry_points=""" - [whipper.logger] - eac = eaclogger.logger.eac:EacLogger - """) + packages=["eaclogger", "eaclogger.logger"], + entry_points={ + "whipper.logger": [ + "eac = eaclogger.logger.eac:EacLogger" + ] + } +)