295 Commits

Author SHA1 Message Date
jo
9639010ba6 Fix tests naming 2021-06-08 14:24:32 +02:00
jo
d94193ce57 Migrate analyzer_pipeline_test to pytest 2021-06-08 14:24:32 +02:00
jo
23d02bf959 fix: Temp dir path might contain underscores 2021-06-08 14:24:32 +02:00
jo
21c8aa65db Add extra comment on helper function 2021-06-08 14:24:32 +02:00
jo
6700b4b8e0 Extract common fixtures in conftest.py 2021-06-08 14:24:32 +02:00
jo
dad360255b Fix wildcard import 2021-06-08 14:24:32 +02:00
jo
6dee626cbd Migrate filemover_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo
27090c8f2f Use requirements.txt and add pytest dependency
Requirements.txt is a developement deps list
2021-06-08 14:24:32 +02:00
jo
b37a095414 Migrate playability_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo
efcbd26447 Migrate replaygain_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo
5ff923887d Migrate cuepoint_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo
591b62ebee Migrate analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo
0a9b0223a6 Replace deprecated .warn() with .warning() 2021-06-08 14:24:32 +02:00
jo
3522c3c86e Remove empty test file 2021-06-08 14:24:32 +02:00
jo
ce976743e7 Remove daemon helper from analyzer
Let the system daemonize the process.
2021-06-08 00:31:18 +02:00
jo
01fbd1e8b9 Add isort pre-commit hook
Sort import statement in python files

See https://github.com/PyCQA/isort
2021-06-05 00:39:35 +02:00
jo
b26de72704 Remove python encoding pragma 2021-06-05 00:39:23 +02:00
jo
5eb357520e Rename tests to test in airtime_analyzer 2021-06-04 17:06:05 +02:00
jo
97fed1c18d Remove broken symlink 2021-06-04 17:06:05 +02:00
jo
0180fa0e49 Fix shebangs 2021-06-04 17:06:05 +02:00
jo
6871956baa Fix end of files 2021-06-04 17:06:05 +02:00
jo
d8195f0fd8 Fix trailing whitespaces in files 2021-06-04 17:06:05 +02:00
jo
c27f020d73 Format code using black 2021-06-04 17:06:05 +02:00
jo
65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
jo
ac17db97fc Fix missing encoding pragma on python files 2021-06-04 17:04:53 +02:00
Kyle Robbertze
6f6d90fad7 update replaygain values 2021-05-21 16:15:50 +02:00
Lucas Bickel
e21abf1bf1 refactor(airtime_analyzer): rename to libretime-analyzer and make entrypoint pythonic 2021-01-04 10:30:27 +00:00
rjhelms
2160daea00 Fix replaygain_analyzer in Python 3.5
'text' argument was added in Python 3.7 as an alias of 'universal_newlines'. Using 'universal_newlines' works on Python 3.5/3.6 and should be forward-compatible.
2020-11-19 14:52:52 -05:00
Zachary Klosko
a5023d031a pin PyGObject versions to distro provided packages
this prevents pip trying to build the pypi package and failing.
Fixes: #1107
2020-11-18 17:49:51 +02:00
Zachary Klosko
6540a34a9b Adding back scripts in /docs 2020-05-19 10:16:31 -04:00
Kyle Robbertze
e0e4d4c87f Ensure all json loads calls use strings 2020-05-04 13:25:36 +02:00
Kyle Robbertze
ca0d01b693 Fix mutagen to compatible versions 2020-04-29 19:06:52 +02:00
Keoni Mahelona
a643883d06 Set pika version to ~1.1.0 to prevent api updates from breaking code.
Updated message_listener for new version.
2020-04-29 19:06:52 +02:00
Kyle Robbertze
3a8b1e207f deprecate media_monitor completely 2020-04-29 19:06:52 +02:00
Kyle Robbertze
82042e8c69 fix test failures 2020-04-29 19:06:52 +02:00
Kyle Robbertze
8346e89e99 install successfully using py3 2020-04-29 19:05:35 +02:00
Kyle Robbertze
81ad2fc705 do not be backwards compatible 2020-04-29 19:05:35 +02:00
Kyle Robbertze
9298ea7e05 airtime_analyzer: depend on rgain3 for py3 2020-04-29 19:05:35 +02:00
Kyle Robbertze
632ba9acfe convert print statements to py3 2020-04-29 19:05:35 +02:00
Keoni Mahelona
f6f536c749 Set mutagen~=1.43.0 until LibreTime moves to python3 2020-02-19 04:01:11 +00:00
Robb
71d4da185a
Merge pull request #652 from radiorabe/chore/cleanup-analyzer-abc
Cleanup airtime_analyzer/analyzer.py
2018-12-23 11:42:15 -05:00
Lucas Bickel
201d3741d8 🔥 (analyzer) cleanup analyzer.py 2018-12-22 22:19:38 +01:00
Robbt
9e78c110c5 made mutagen version 1.41 or above 2018-12-19 15:50:10 -05:00
Robbt
a2573b52d2 fixed bad operator 2018-12-13 08:58:59 -05:00
Robbt
f673d92edd modified bitrates to match new mutagen values 2018-12-13 08:53:52 -05:00
vagrant
2ee85f0546 made mp3 bitrate test a range vs. exact number because of variation in results from different mutagen versions 2018-12-04 00:35:24 +00:00
Robbt
6b0e6312af removed the version restriction on mutagen to take advantage of bug fixes 2018-11-28 07:47:54 -05:00
Lucas Bickel
f7ceeedb04 (Amazon S3) drop broken S3 support 2018-10-06 12:45:22 +02:00
Lucas Bickel
da64166fa5 Fix call with deprecated arg 2018-07-06 12:12:39 +02:00
Lucas Bickel
586314052f Better error message when parsing WAVE file 2017-09-20 19:13:15 +02:00