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
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
abc6420c05
Fix python shebangs
...
Some systems only provide a versionned `python3` executable.
2021-08-24 15:33:56 +02:00
jo
9881eebf55
Fix shellcheck warnings
2021-08-17 12:23:36 +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
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
1e1cf249f7
Search and replace unicode a0c2 with 0020
2021-06-05 00:39:35 +02:00
jo
b26de72704
Remove python encoding pragma
2021-06-05 00:39:23 +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
2df0189a90
add API v2
2021-05-14 13:04:46 +02:00
Kyle Robbertze
3af17a6761
fix: force_ssl logic in pypofile
2021-02-10 16:34:42 +02:00
Jérôme Lebleu
298c5a9264
Fix missing 'fallback' kwarg for base_port in pypofile
2021-02-03 17:25:11 +01:00
Kyle Robbertze
7cb34df4fa
Use force_ssl in python apps
...
Fixes : #957
2021-01-21 09:49:55 +02:00
Lucas Bickel
7788397304
fix(pypo): refactor liquidsoap entrypoint
2020-12-26 13:44:14 +01:00
Lucas Bickel
7aa95bf204
fix(pypo): install .liq files from subdirs
2020-12-26 13:24:49 +01:00
Lucas Bickel
42328b9277
feat(pypo): support liquidsoap 1.4
2020-12-24 23:22:58 +01:00
Jakub Skory
7058def9a8
Renamed template conf for liquidsoap and playout
2020-06-27 14:36:08 +02:00
Kyle Robbertze
cf414239e2
Correctly encode icecast admin credentials for listener stats
...
Fixes : #1045
2020-05-18 16:49:19 +02:00
Kyle Robbertze
c44346fe94
Rename all systemd, sysvinit and upstart files to libretime
...
Fixes : #516
2020-05-15 15:32:13 +02:00
Kyle Robbertze
e0e4d4c87f
Ensure all json loads calls use strings
2020-05-04 13:25:36 +02:00
Kyle Robbertze
cf3b9782ac
fix legacy version check
2020-04-29 19:06:52 +02:00
Kyle Robbertze
6640e5624c
move legacy script to python3
2020-04-29 19:06:52 +02:00
Keoni Mahelona
30d6db1e5e
Make sure command calls python3
2020-04-29 19:06:52 +02:00
Keoni Mahelona
91996c91bc
Remove double encode which caused webstream playout to break
2020-04-29 19:06:52 +02:00
Keoni Mahelona
d48e792922
Checking type of command to only encode if string.
2020-04-29 19:06:52 +02:00
Keoni Mahelona
348f8573c7
Add traceback so we can debug.
2020-04-29 19:06:52 +02:00
Keoni Mahelona
9724298f40
Use `utf-8` encoding.
2020-04-29 19:06:52 +02:00
Keoni Mahelona
0a9781d138
Added traceback so we can find the bug
2020-04-29 19:06:52 +02:00
Keoni Mahelona
0289f84111
Ok hopefully this is it. python3 requries a bytestring https://docs.python.org/3.7/library/telnetlib.html
2020-04-29 19:06:52 +02:00
Keoni Mahelona
dd46b4c984
Remove .encode(). Not needed in python3
2020-04-29 19:06:52 +02:00
Keoni Mahelona
42a5937288
Updated other old tn.write() functions
2020-04-29 19:06:52 +02:00
Keoni Mahelona
1ac3f691b4
Fixed #968 . Needed to send a byte string to telnet not a normal string.
2020-04-29 19:06:52 +02:00
Keoni Mahelona
4a45225369
Suggest using `universal_newlines` as the alias `text` only works for python 3.7 and above.
...
Default python3 for example is 3.6 in Ubuntu Bionic and therefore liquidsoap fails with parameter `text`.
2020-04-29 19:06:52 +02:00
Kyle Robbertze
6ebb1fd555
more pypo fixes
2020-04-29 19:06:52 +02:00
Kyle Robbertze
5923dee839
Fix running apps
2020-04-29 19:06:52 +02:00
Kyle Robbertze
e8a0783139
Fix tests
2020-04-29 19:06:52 +02:00
Kyle Robbertze
ea54493c21
add chaudum fixes
2020-04-29 19:05:35 +02:00
Kyle Robbertze
8346e89e99
install successfully using 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