Commit Graph

173 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece ad3d2b2c69
Adapter simplification:
- Remove the stub "None"/"Remote" adapters; return null for disabled adapters
  - Add capability checks to adapter enums
  - Remove the Remote proxy
2022-06-21 20:48:32 -05:00
Buster "Silver Eagle" Neece fac86b77f2
Merge commit '3de709270d80eda9806162246f1778fd78fa5b99' 2022-06-03 22:39:02 -05:00
Buster "Silver Eagle" Neece 42e5b5210b
Expand custom nginx config. 2022-05-28 23:07:56 -05:00
Buster "Silver Eagle" Neece a9f066602c
Code quality cleanup sweep. 2022-05-08 13:05:02 -05:00
Buster "Silver Eagle" Neece 6ecba55950
Use Unix Domain Sockets for LS internal connections. 2022-05-03 14:11:44 -05:00
Buster "Silver Eagle" Neece 551e41164c
Add new interruptable queue and "play immediately" function. 2022-05-01 01:43:20 -05:00
Buster "Silver Eagle" Neece 8c4e5251ac
Split Playlist File writing into its own class; don't write playlist files for most LS changes; lint custom LS config as it's saved. 2022-04-13 03:29:50 -05:00
Buster "Silver Eagle" Neece 41f53deb60
Move functions in class. 2022-04-10 22:47:37 -05:00
Buster "Silver Eagle" Neece b2c79e8bd2
Standardize SC and LS version functions. 2022-04-10 21:18:36 -05:00
Buster "Silver Eagle" Neece e2ee3e0c43
Fixes #5270 -- Modify configuration based on LS version. 2022-04-10 20:28:49 -05:00
Buster "Silver Eagle" Neece 7bf094ffac
Use CLI commands for LS functionality for unified container. 2022-03-15 00:14:05 -05:00
Buster "Silver Eagle" Neece 2bdc2616ad
Abstract URIs to stations/web containers. 2022-01-27 19:33:07 -06:00
Buster "Silver Eagle" Neece d2ecc4664f
#5028 -- Update LS to use proper system HTTP requests. 2022-01-25 01:59:16 -06:00
Buster "Silver Eagle" Neece 35d69e9a94
Use universal binary path for LS. 2021-12-13 06:23:07 -06:00
Buster "Silver Eagle" Neece fec3fa2524
Implement new, non-telnet-driven DJ recording system. 2021-12-08 23:18:49 -06:00
Buster "Silver Eagle" Neece f59c524442
Broadcast recording overhaul pt 1
- Write broadcasts to a temp file before moving to a final path
 - Create routine sync task to move recordings to permanent storage location.
2021-12-06 02:28:53 -06:00
Buster "Silver Eagle" Neece b5fc9ad601
Use shared CallableEventManager library. 2021-08-04 21:24:27 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece e893a93981
Routine PHP 8 code inspection sweep
- Removing explicit calls to default values
 - Add strict parameter arguments
 - Use PHP8 built-in functions when possible
2021-04-23 17:12:47 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Vaalyn 4961cebf52
Remove pipe char from annotateString str_replace chars (#3993)
- Properly escape double quote chars instead of substituting them with a single quote
2021-04-09 12:32:15 -05:00
Buster "Silver Eagle" Neece 3ca0986efc
Fixes #3763 -- Fix "Skip song" command. 2021-02-03 15:23:28 -06:00
Buster "Silver Eagle" Neece 7172efaec7
Clean up LS config generation; add timeout for starting AutoDJ. 2021-02-01 22:05:13 -06:00
Buster "Silver Eagle" Neece b615a72050
Apply more aggressive filtering to playlist variable names in Liquidsoap. 2021-01-24 10:51:07 -06:00
Buster "Silver Eagle" Neece 4ccddeb5f3
Refactor adapters; move some static functions to be non-static and implement a better change tracking system. 2021-01-19 11:52:45 -06:00
Buster "Silver Eagle" Neece d955d63151
Remove unneeded Logger utility class. 2020-12-19 20:17:49 -06:00
Buster "Silver Eagle" Neece 0a8c41542d
Make environment immutable and strictly use function calls. 2020-12-06 05:57:39 -06:00
Buster "Silver Eagle" Neece 5727f12b6f
Settings refactor part 1: Rename App\Settings to App\Environment.
Previously AzuraCast had two very similar `$settings` variables, one that was from environment and the other from the database. This refactor distinguishes the two much more clearly.
2020-12-02 22:18:06 -06:00
Vaalyn 75ddf0bbb3
Fix cue_out safety check when annotating media to Liquidsoap (#3472) 2020-11-26 20:43:51 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00
Buster "Silver Eagle" Neece 4bcfad3eb5
Updates preparing for Doctrine 3.0
- Switch to EntityManagerInterface for EM uses
 - Wrap EntityManager in close-resilient wrapper
 - Close/clear/reopen EM with every request
 - Rework tests to be em->clear() resilient.
2020-06-26 15:22:53 -05:00
Buster "Silver Eagle" Neece e3b4562870
#2871 -- Avoid null pointer issue with Media annotations. 2020-06-15 02:01:12 -05:00
Buster "Silver Eagle" Neece a961481e85
#2249 -- Add ability to update Now Playing metadata via API call. 2020-05-03 21:48:26 -05:00
Buster "Silver Eagle" Neece f878095aa8
#2662 -- Send 0.0 amplification if it's not set to avoid issue. 2020-05-03 09:03:24 -05:00
Buster "Silver Eagle" Neece 4804e2f710
Make Backend and Frontend config collections, avoiding "magic strings". 2020-05-02 02:58:59 -05:00
Buster "Silver Eagle" Neece f1040f7fdd
Initial refactor to separate queue management from Now Playing process. 2020-04-15 00:23:11 -05:00
Buster "Silver Eagle" Neece 19f8396cbb
Move LS annotation business logic into LS adapter and out of entity. 2020-04-11 01:55:00 -05:00
Buster "Silver Eagle" Neece fc70b13951
LS and Station Request handling refactor (and minor LS code change). 2020-03-21 19:29:07 -05:00
Buster "Silver Eagle" Neece b4ab44580d
Queue next song in request queue when skipping song. 2020-03-20 21:54:20 -05:00
Buster "Silver Eagle" Neece c851f92f27
Split Liquidsoap service control and configuration writer components. 2020-03-19 14:41:22 -05:00
Vaalyn c60e105deb Use Shoutcast StreamIDs to specify mountpoint for liquidsoap output 2020-03-15 18:18:13 +01:00
Buster "Silver Eagle" Neece 791357bd31
#1757 -- Move cue_cut to happen after audio_to_stereo for mono files. 2020-03-13 00:59:54 -05:00
Buster "Silver Eagle" Neece 51243d59a5
#2494 -- Fix "Skip Song" command. 2020-03-10 17:30:52 -05:00
Bjarn Bronsveld 5d610961e5 Moved cue_cut as close to the source as possible 2020-03-07 21:45:01 +01:00
Buster "Silver Eagle" Neece fbc6a835a1
#2432 -- Move alternative DJ login format support into LS itself. 2020-03-04 10:58:04 -06:00
Buster "Silver Eagle" Neece d0ecc88aac
Increase font size, add helper text to Edit LS Config page. 2020-02-23 10:53:00 -06:00
Buster "Silver Eagle" Neece 82b9ec685d
Create new "Edit Liquidsoap Config" page; allow editing in more places. 2020-02-23 06:58:47 -06:00
Buster "Silver Eagle" Neece c9199d7a23
Move crossfading to happen before DJ transition to avoid known issues. 2020-02-20 09:30:47 -06:00