Commit Graph

2630 Commits

Author SHA1 Message Date
jo 45697aeaf3 Remove unused python modules in playout 2021-09-02 16:06:26 +02:00
jo 5a3b03cf19 Move playout authors credits in a README section 2021-09-02 16:06:26 +02:00
jo 3ac747f031 Remove license file in playout 2021-09-02 16:06:26 +02:00
jo f42840f9dd Rewrite celery README from .rst to .md 2021-09-02 16:06:26 +02:00
jo 97c8e88b8a Remove unused manifest.in files 2021-09-02 16:06:26 +02:00
jo cac25543c6 Drop Upstart support 2021-09-02 14:30:31 +02:00
jo 3da0310173 Drop SysV support 2021-09-02 14:30:31 +02:00
jo 40812c2783 Adjust replaygain value for s1-mono.m4a 2021-09-02 12:51:38 +02:00
jo be648c131c Ignore UnplayableFileError not raised on buster 2021-09-02 12:51:34 +02:00
jo be2fcd11ac Ignore silan test for mp3 on buster 2021-09-02 12:47:36 +02:00
jo 84c334eafb Add missing ffmpeg package for fixtures generation 2021-09-01 16:00:08 +02:00
jo fb3ee2d27a Install venv instead of virtualenv 2021-08-31 16:07:29 +02:00
jo 42acf124a0 Revert "Move icecast from project to pypo packages"
This reverts commit a6cca16e579aecd4540df228c9e288d4f4f3534a.
2021-08-31 16:07:29 +02:00
jo 60c5c5fbb2 Move icecast from project to pypo packages 2021-08-31 16:07:29 +02:00
jo bfd8e8aecf ecasound is used by the show recorder in pypo 2021-08-31 16:07:29 +02:00
jo 18f9c81b74 Add dependencies manager
Used to generate list of packages dependencies
for different distributions, and should improve
dependencies management by having them in each project.
This tools should gather the reason why a dependency is present,
so one can remove it when unused.

Rename deps script to packages

Move installer/packages to scripts and write tests

Remove packages-list make target
2021-08-31 16:07:21 +02:00
jo 6238455aaf Generate +/- dB files 2021-08-31 11:02:12 +02:00
jo 9f768bb5c4 Rework tests to work with new fixtures 2021-08-30 21:23:48 +02:00
jo 8ac5c1ba03 Generate analyzer fixtures using ffmpeg 2021-08-30 21:23:38 +02:00
jo abc6420c05 Fix python shebangs
Some systems only provide a versionned `python3` executable.
2021-08-24 15:33:56 +02:00
jo 577e581959 Explode datetime import statement 2021-08-18 17:05:29 +02:00
jo efd362eb62 Scheduler should prepare 1 day ahead, not 1 hour
The old API client v1 used to call the following action, and underlying schedule model:
d6093f7356/airtime_mvc/application/controllers/ApiController.php (L720-L730)
d6093f7356/airtime_mvc/application/models/Schedule.php (L1118-L1140)

The new API v2 prepared 1 hour of scheduled track instead
of 1 day in the old  API.
2021-08-18 16:19:58 +02:00
jo 9881eebf55 Fix shellcheck warnings 2021-08-17 12:23:36 +02:00
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo b5f302ac61 Enhance bash shebangs 2021-08-17 12:22:47 +02:00
jo 8b3e09d41c Format shell scripts
Fix flags order
2021-08-17 12:22:46 +02:00
jo 81e9e9f17c Rename isAlive method to is_alive
Python 3.9 compatibility fix
2021-08-15 18:47:24 +02:00
jo f5d1ffe27c Better failed request logging in api_client v1 2021-08-05 14:59:00 +02:00
jo d44317a28a Prevent falsy values obscur behavior in api call 2021-08-05 14:59:00 +02:00
jo a6e9f3109c Handle bad http requests in api clients
Previously unhandled, the http requests should either fail hard, or
errors should be logged with details of the failed request.
2021-08-01 14:14:36 +02:00
Kyle Robbertze f902c42095
Merge pull request #1270 from paddatrapper/fix/pycairo
Install pycairo before PyGObject
2021-07-16 15:02:05 +02:00
Kyle Robbertze f5ca20ed3e install pycairo before PyGObject
Fixes: #1267
2021-07-15 10:27:23 +02:00
Kyle Robbertze 8d259aaf98 add missing fields to v2 get schedule api call
Fixes: #1258
2021-07-09 12:15:15 +02:00
Kyle Robbertze eac3a61460 limit pygobject version to 3.36.1 for pycairo 2021-07-06 10:12:28 +02:00
Kyle Robbertze 27fb1e5076 require python-dateutil version 2.7 or higher 2021-06-22 17:14:24 +02:00
Kyle Robbertze d5781d198c
Merge pull request #1231 from paddatrapper/fix/python-valueerror
Allow schedule times without microseconds in api_client
2021-06-17 21:03:37 +02:00
Kyle Robbertze 42d1ce07ec
Merge pull request #1239 from LibreTime/dependabot/pip/python_apps/airtime_analyzer/mutagen-1.45.1
Bump mutagen from 1.42.0 to 1.45.1 in /python_apps/airtime_analyzer
2021-06-11 10:38:31 +02:00
dependabot[bot] 5ac3b6d2e9 Bump mutagen from 1.42.0 to 1.45.1 in /python_apps/airtime_analyzer
Bumps [mutagen](https://github.com/quodlibet/mutagen) from 1.42.0 to 1.45.1.
- [Release notes](https://github.com/quodlibet/mutagen/releases)
- [Changelog](https://github.com/quodlibet/mutagen/blob/master/NEWS)
- [Commits](https://github.com/quodlibet/mutagen/compare/release-1.42.0...release-1.45.1)

---
updated-dependencies:
- dependency-name: mutagen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 10:35:31 +02:00
dependabot[bot] fac48adb13
Bump rgain3 from 1.0.0 to 1.1.0 in /python_apps/airtime_analyzer
Bumps [rgain3](https://github.com/chaudum/rgain) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/chaudum/rgain/releases)
- [Changelog](https://github.com/chaudum/rgain3/blob/main/CHANGES.md)
- [Commits](https://github.com/chaudum/rgain/compare/1.0...1.1)

---
updated-dependencies:
- dependency-name: rgain3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 08:26:45 +00:00
dependabot[bot] 1c6b190a91 Update pika requirement in /python_apps/airtime_analyzer
Updates the requirements on [pika](https://github.com/pika/pika) to permit the latest version.
- [Release notes](https://github.com/pika/pika/releases)
- [Commits](https://github.com/pika/pika/compare/1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: pika
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 10:22:26 +02:00
Kyle Robbertze 668d050a0e
Merge pull request #1236 from LibreTime/dependabot/pip/python_apps/airtime_analyzer/pygobject-lt-3.40.2
Drop pygobject requirement from /python_apps/airtime_analyzer
2021-06-11 09:37:30 +02:00
dependabot[bot] 64c87ba341 Drops pygobject requirement in /python_apps/airtime_analyzer
Updates the requirements on [pygobject](https://pygobject.readthedocs.io) to permit the latest version.

---
updated-dependencies:
- dependency-name: pygobject
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:33:55 +02:00
Kyle Robbertze a1bf8c8c44 allow times without microseconds 2021-06-11 09:19:09 +02:00
jo 15cd4e58dc Properly test metadata unparsable file 2021-06-08 14:28:18 +02:00
jo f84af8aa2e Remove old unicode prefix 2021-06-08 14:28:18 +02:00
jo ed3d527c09 Update CI to run pytest 2021-06-08 14:28:16 +02:00
jo bec298d63f Fix missing mutagen 2021-06-08 14:24:32 +02:00
jo 9f88f82404 Fix inconsistent test across env
Liquidsoap version in CI is different from debian buster
and on test about playability is failing because of
this unhandled versions mismatch.
2021-06-08 14:24:32 +02:00
jo bafa6fc6d8 Add comment in pytest conftest 2021-06-08 14:24:32 +02:00
jo 8b7d6f8a7e Migrate metadata_analyzer_test to pytest 2021-06-08 14:24:32 +02:00