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
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
Kyle Robbertze
7a090e1bab
Merge pull request #987 from jeromelebleu/fix-logrotate
...
Fix postrotate command of airtime-liquidsoap
2020-04-18 10:53:52 +02:00
Jérôme Lebleu
39469d3f88
Use stop instead of kick to disconnect the source
2020-04-01 19:01:06 +02:00
Jérôme Lebleu
a8194e95ea
Fix postrotate command of airtime-liquidsoap
2020-03-25 17:55:22 +01:00
Keoni Mahelona
8edada6f3d
Added extra mime type for flac file
2020-03-18 17:19:57 +13:00
Keoni Mahelona
f6f536c749
Set mutagen~=1.43.0 until LibreTime moves to python3
2020-02-19 04:01:11 +00: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
Roberto Soto
bf7659dfa0
fix heartbeat spelling
2019-11-04 13:05:57 -08:00
Roberto Soto
8a0f474075
use AMQP heartbeat feature
2019-11-04 11:02:40 -08:00
Roberto Soto
5b3c0cb1c8
Revert "raising the exception might kill pypopush thread"
...
This reverts commit 2afe01b3ddc94194101a4a2149116e27e0e115e5.
2019-11-04 11:02:39 -08:00
Roberto Soto
cdf9f6f98e
PypoMessageHandlers using a kombu Consumer solves MVC/Liquidsoap synchronization issues:
...
The real error was PypoMessageHandler wasn't consuming messages from RabbitMQ, thus schedules were only updated on PypoFetch time out.
Proably queue is in a stale state because it didn't recover from a broken connection.
The issue is a SimpleQueue was being used, which's 'python-like' *get* method apparently doesn't handle recovery.
Consumers are the way to go instead.
2019-11-04 11:02:39 -08:00
Roberto Soto
03c3cb02d8
raising the exception might kill pypopush thread
...
this is apparently the reason why schedules don't get pushed after a silence
producing desynchronization between the mvc and liquidsoap and cannot catch up until pypofetch times out.
(ON AIR turns off and there's a mess until the schedule is fetched. sometimes it even continues playing the wrong tune)
((logging inside the while True loop produces no output, probably it is locked on the queue?))
2019-11-04 11:02:39 -08:00
Kyle Robbertze
07a9ef4ba3
Merge pull request #854 from radiorabe/chore/py3-cleanup-for-celery
...
Python3 cleanup in airtime-celery package
2019-08-18 22:02:59 +02:00
Lucas Bickel
8bdc63dffb
🐛 (pypo) CentOS 7/Python 2.7.5 fix
2019-08-18 18:04:06 +02:00
Lucas Bickel
9bea08dc03
♻️ (celery) python3 compat fixes
2019-08-18 17:45:48 +02:00
Lucas Bickel
a3d6ea77e6
🐛 (pypo) disable fs block size based cache check
2019-07-29 20:19:54 +02:00
frecuencialibre
c26e15fd70
Merge pull request #659 from Robbt/podcast-metadata-override
...
added track title and artist override for podcasts
2019-01-21 14:09:39 -06:00
Lucas Bickel
a526a59ef4
♻️ cleanup aac code
...
Removes unsupported codecs from our liquidsoap code
2019-01-20 15:37:21 +01:00
Robbt
8427d0a92a
changed artist track to podcast title
2019-01-13 00:29:49 -05:00
Robbt
e773887736
merge in audiofile fix from master
2019-01-12 23:11:00 -05:00
Robbt
28d2b110c2
made basic sanity checks to only do back up mp3 mutagen import on files with mp3 extension
2018-12-27 18:38:17 -05:00
Robbt
26fad97915
modified the code to treat a file mutagen fails to load as a mp3
2018-12-27 17:50:33 -05:00
Robbt
e2e8591b4d
added track title override for podcasts
2018-12-23 14:54:47 -05:00
Robb
f011a13ecb
Merge pull request #654 from radiorabe/chore/cleanup-and-2to3-pypo-main
...
Cleanup pypo/__main__.py
2018-12-23 11:46:38 -05: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
36891c18c8
♻️ (pypo) cleanup pypo/__main__.py
...
Clean up code and add python 3 support (with python 2 bc).
2018-12-23 12:06:26 +01:00
Lucas Bickel
201d3741d8
🔥 (analyzer) cleanup analyzer.py
2018-12-22 22:19:38 +01:00
Robbt
0b9c3396ea
removed debug line that was causing failures for m4a
2018-12-19 16:27:31 -05:00
Robbt
9e78c110c5
made mutagen version 1.41 or above
2018-12-19 15:50:10 -05:00
Robbt
626e682aad
changed celery podcast download to use mutagen for all supported files vs. mp3 only
2018-12-13 12:36: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
Robbt
8a6f992aa5
Increased podcast download timeout to 1800 seconds
2018-10-21 17:18:29 -04: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
Robb
0b0cb77c29
Merge pull request #432 from radiorabe/fix/remove-dead-hack
...
Remove std_err_override
2018-05-24 14:10:12 -04: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
ff6f497fbb
Remove std_err_override
...
This hasn't been used in many moons.
2018-02-03 12:45:34 +01:00
Kyle Robertze
c16d7c2a1d
remove media-monitor
...
airtime-media-monitor conflicts with airtime-analyzer, which is what
is now used to monitor the LibreTime application
https://github.com/LibreTime/libretime-debian-packaging/issues/2#issuecomment-359987457
2018-01-24 09:20:51 +02:00
Lucas Bickel
bf5cfbcf56
gracefully handle missing config option
2017-10-15 14:45:22 +02:00
Lucas Bickel
ace7e493f4
Fix port and protocol default values
...
Turns our bare ConfigObjects don't to default passing very automatically.
2017-10-15 13:46:40 +02:00
Lucas Bickel
4287ac1c70
Revert pypofile try block move
...
Config file getting is allowed to fail. I didn't realize that it
would not just use the default instead of excepting and getting
caught. Sorry for that.
2017-10-15 13:14:40 +02:00
Robb
38fe253438
Merge pull request #329 from radiorabe/fix/pypo-update-track-time
...
Pypo track updating fix
2017-10-14 10:18:11 -04:00