Commit graph

39 commits

Author SHA1 Message Date
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
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
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
Jérôme Lebleu
a8194e95ea Fix postrotate command of airtime-liquidsoap 2020-03-25 17:55:22 +01:00
Robb Ebright
0931ba842a add legacy script for liquidsoap 1.1.1 compatibility 2019-12-30 22:07:48 -05:00
Kyle Robbertze
a572f275fc Update stream URLs to use LibreTime 2019-11-06 14:08:13 +02:00
Lucas Bickel
a526a59ef4 ♻️ cleanup aac code
Removes unsupported codecs from our liquidsoap code
2019-01-20 15:37:21 +01:00
expert-geeks
539b03dd8c
Stop ShoutCAST rejecting title updates
When Libretime streams a webstream, the ID3 data is put into a single title field, leaving the artist field blank. When processing the ID3 data, Libretime concatenates the blank 'artist' field with the title, leaving '- title'. ShoutCAST rejects title updates that begin with punctuation for stylistic reasons (thanks guys) and so effectively ignores all ID3 data coming with the stream, falling back to the 'Station off-air' message. This PR uses the title field alone if the artist field is blank, but both when the artist data is available e.g. when streaming an MP3.
2018-03-04 15:04:31 +00:00
Lucas Bickel
65a4961aac Merge pull request #187 from Kirill-Kad/patch-1
Correction lines 399 and 400.  ls_script.liq
2017-04-25 13:09:58 +02:00
Robb
ebd7c1d2a3 Merge pull request #163 from radiorabe/feature/python-debug-flag-for-140
Problem: airtime-liquidsoap --debug only works for liquidsoap
2017-04-17 16:36:07 -04:00
Lucas Bickel
8253a070f4 Update name in ref_off_air_meta in Liquidsoap 2017-04-16 01:23:40 +02:00
Lucas Bickel
007ff5561c Pass debug flag to python logger as well 2017-04-15 23:27:04 +02:00
Robbt
b12d132aab removed hardcoded include of pervasives.liq 2017-04-03 19:54:18 -04:00
Lucas Bickel
acdc529139 Do not bundle liquidsoap library
I think the code was bundled into legacy upstream before it was
readily available in liquidsoap proper. These snippets are now
maintained at https://github.com/savonet/liquidsoap/tree/master/scripts.

On all distros I checked these scripts are installed to /usr/bin/liquidsoap
by the corresponding package. Liquidsoap loads them from there by
default.

By not bundling this we will be ready to profit from new features and
bugfixes in liquidsoap that is expected to land on opam soon. We'll
need to figure out how to get debian and others updated when that
happens.
2017-03-28 12:26:11 +02:00
Lucas Bickel
99a0ce37cc Fix fix_cue_in to work with liquidsoap 1.2
The previous syntax only worked with 1.1, this one should work on both.
2017-03-13 14:30:51 +01:00
Kirill Kadoshnikov
0775bc4f59 Correction lines 399 and 400. ls_script.liq
Lines 399 and 400. Changed the values of s3_name and s3_description places. 
(Because of this error, the Icecast confused the name and description of the flow)
_______________________
Строки 399 и 400. Поменял значения s3_name и s3_description местами. (Из-за этой ошибки Icecast путал название и описание потока)
_______________________
Sorry for my clumsy translation, I'm from Russia
2017-03-12 20:03:30 +04:00
Lucas Bickel
ac5f608bd8 Refactor into def check_version
Make the code more readable :)
2017-03-12 14:18:06 +01:00
Lucas Bickel
80373ca7bc cue_cut workaround
This is the workaround for <https://github.com/savonet/liquidsoap/issues/390>.

I still need to do proper testing on it and maybe we should figure out the proper "formula" for getting to the 0.04 value.
2017-03-12 14:18:06 +01:00
Albert Santoni
2eea558dfd SAAS-1267: AAC streams stuck at 64 kbps, even at higher bitrates 2015-12-04 10:51:07 -05:00
Albert Santoni
238bb15793 SAAS-941: Liquidsoap fails to start for stations with the substrings true/false in their names 2015-07-09 22:32:34 -04:00
Albert Santoni
3996e757b7 Merge branch 'saas-dev' into saas-installer-albert 2015-06-10 12:02:08 -04:00
Albert Santoni
6fad0a3ee6 Merge branch 'saas-dev' into saas-installer-albert 2015-05-22 19:09:30 -04:00
Albert Santoni
6ca0e340a4 Merge branch '2.5.x-installer' into saas-installer-albert
Conflicts:
	python_apps/pypo/pypo/pypofile.py
2015-05-22 18:26:16 -04:00
Albert Santoni
11c6818e61 Merge branch '2.5.x-installer' into saas-installer-albert
Conflicts:
	.gitignore
	airtime_mvc/application/Bootstrap.php
	airtime_mvc/application/configs/conf.php
	airtime_mvc/application/controllers/SystemstatusController.php
	airtime_mvc/application/controllers/UpgradeController.php
	airtime_mvc/application/upgrade/Upgrades.php
	airtime_mvc/application/views/scripts/systemstatus/index.phtml
	airtime_mvc/build/airtime.conf
	airtime_mvc/build/sql/defaultdata.sql
	airtime_mvc/public/index.php
	airtime_mvc/tests/application/helpers/AirtimeInstall.php
	install_minimal/airtime-install
	install_minimal/include/airtime-constants.php
	install_minimal/include/airtime-copy-files.sh
	install_minimal/include/airtime-db-install.php
	install_minimal/include/airtime-initialize.sh
	install_minimal/include/airtime-install.php
	install_minimal/include/airtime-installed-check.php
	install_minimal/include/airtime-remove-files.sh
	install_minimal/include/airtime-upgrade.php
	python_apps/media-monitor/install/media-monitor-copy-files.py
	python_apps/monit/monit-airtime-generic.cfg
	python_apps/pypo/airtime-playout
	python_apps/pypo/install/pypo-copy-files.py
	python_apps/pypo/liquidsoap/generate_liquidsoap_cfg.py
	python_apps/pypo/liquidsoap/ls_script.liq
	python_apps/pypo/pypo/__main__.py
	python_apps/pypo/pypo/media/update/replaygain.py
	python_apps/pypo/pypo/media/update/replaygainupdater.py
	python_apps/pypo/pypo/media/update/silananalyzer.py
	python_apps/python-virtualenv/airtime_virtual_env.pybundle
	python_apps/python-virtualenv/requirements
	utils/airtime-check-system.php
2015-05-22 16:05:29 -04:00
Duncan Sommerville
196e08fc90 Fix bug where users can't connect to Master source due to hardcoded path in liquidsoap 2015-05-21 12:49:26 -04:00
Albert Santoni
a2d8da617d Fixed everything about Airtime on Debian
* Added sysvinit scripts back in and cleaned them up
* service status now works correctly for all services
* Moved logging config files into install/ folders for the python_apps
* Fixed some small setup.py problems in the various python_apps
* Gave each python app a better bin/ script which doesn't fork, which lets
  service status work automagically.
2015-02-13 16:06:59 -05:00
Duncan Sommerville
b673017bfd Fix to setuptools deployment of pyponotify and liquidsoap 2015-01-28 15:09:13 -05:00
Duncan Sommerville
875a9dfd8b CC-5990, CC-5991 - Python cleanup, removed need for /usr/lib/airtime 2015-01-27 18:43:36 -05:00
martin
9cfec2c8ef -reorganized/cleaned up python_apps/pypo directory. 2011-06-14 14:37:09 -04:00
martin
f7b2c04aba cc-2241 20 second delay natty
-added special liquidsoap binaries for natty
2011-05-13 13:26:40 -04:00
martin
0f209d9f00 -liquidsoap-i386 compiled under 64-bit machine by mistake :/. Fixed. 2011-05-02 18:16:45 -04:00
martin
8e2019a935 cc-2182: Convert back to restful design
-done
2011-05-02 16:33:37 -04:00
martin
b3beab1dbd CC-2216: Update to latest liquidsoap binaries
-Done
2011-04-29 17:11:31 -04:00
martin
5c8719d90c CC-2016: Rearrange python scripts for reusability
-moved files
2011-03-24 00:00:46 -04:00