Commit Graph

56 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece a9f066602c
Code quality cleanup sweep. 2022-05-08 13:05:02 -05:00
Buster "Silver Eagle" Neece 3d53b111f8
More minor logic fixes. 2022-04-18 00:11:56 -05:00
Buster "Silver Eagle" Neece 32f3116736
Fix playlist logic order. 2022-04-17 23:54:51 -05:00
Buster "Silver Eagle" Neece 19e6546b38
Fixes #4975 -- Shuffle playback queue on batch addition. 2022-04-17 23:44:31 -05:00
Buster "Silver Eagle" Neece b23f28ab2a
Merge commit 'e6397a893da04c0a28c2306d39233b8a072e54e0' 2022-01-07 02:26:40 -06:00
Buster "Silver Eagle" Neece 1c814fc4c2
Code fixes and deprecated 8.1 fixes. 2021-12-10 21:48:19 -06:00
Buster "Silver Eagle" Neece 058f306c15
Make entity functions line up with propertyaccess. 2021-11-06 23:02:44 -06:00
Buster "Silver Eagle" Neece c94e2edf19
Move requests report into Vue component. 2021-09-06 04:06:31 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Vaalyn df660ea45a
Add AutoDJ setting for looping playlist only once when scheduled (#4395) 2021-07-11 00:51:00 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece f59fd8a9ba
#4104 -- Rename on SFTP upload, handle SFTP renames/deletes directly. 2021-05-06 10:08:57 -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 4e6f1d700c
Reimplement playlist queue to be attached to StationPlaylistMedia table. (#4031) 2021-04-17 13:42:30 -05:00
Buster "Silver Eagle" Neece e119903792
Significantly optimize the Playlist Folder task and fix bug with queue resetting. 2021-03-23 11:45:43 -05:00
Buster "Silver Eagle" Neece bb97376a2e
#3618 -- Fix shared media between stations. 2020-12-31 17:18:45 -06:00
Buster "Silver Eagle" Neece c93d888459
Track Unprocessable Media in a separate table to avoid reprocessing it. 2020-12-22 01:10:03 -06:00
Buster "Silver Eagle" Neece aed854a17c
Settings overhaul, part 2
Make Settings a controlled entity.
2020-12-04 02:41:55 -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
Buster "Silver Eagle" Neece 731f16a494
Update raw DQL queries across the system to improve readability. 2020-12-01 18:36:09 -06:00
Buster "Silver Eagle" Neece 19a496a8ff
#3356 -- Remove media from upcoming queue if cleared from playlist. 2020-11-30 23:27:23 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 5eafa64326
Avoid resetting playback queues entirely when adding/removing a track. 2020-10-08 03:52:09 -05:00
Buster "Silver Eagle" Neece 85991b7546
Preemptive changes to prepare for Doctrine ORM 3.0. 2020-06-25 13:44:26 -05:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 23a47ac341
Code quality and IDE inspection fixes. 2019-12-06 18:57:50 -06:00
Buster "Silver Eagle" Neece 58ed3dac57
Fix issue causing station playlists to duplicate upon save. 2019-10-31 10:08:24 -05:00
Buster "Silver Eagle" Neece 6a9d351d64
Switch to message queue playlist writing for all playlist changes. 2019-10-29 15:58:55 -05:00
Buster "Silver Eagle" Neece d7819a6993
Migrate Doctrine repositories to composited, DI-friendly classes. 2019-09-29 02:50:24 -05:00
Buster "Silver Eagle" Neece bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -05:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster Neece d52c227526
Ensure media deleted via SFTP, etc. is cleared from playlist queues. 2019-08-19 20:12:08 -05:00
Buster Neece 39ff33970d
#1875 -- Switch shuffling to be DB-backed and add comma-supported duplicate artist prevention. 2019-08-17 20:42:59 -05:00
Buster Neece 9790307266
Update AzuraCore; switch to PSR-16 SimpleCache interface. 2019-08-07 12:50:48 -05:00
Buster "Silver Eagle" Neece 639dddf989
Slim PHP Framework 4 Update (#1822)
Implement an upgrade of the codebase to use Slim Framework version 4, which includes the following changes:
 - Updating to Slim version 4 and the corresponding AzuraCore updates.
 - Making all objects PSR-7 Request/Response agnostic (and creating RequestHelper and ResponseHelper objects to interact with the PSR-7 Req/Resp objects).
 - Moving to PHP-DI as a DI container and implementing its autowiring support.
2019-08-06 23:33:55 -05:00
Buster Neece 1df1917148
Further refinement of duplicate prevention. 2019-07-28 19:30:16 -05:00
Buster Neece ed2104f79e
Fix missed reference from previous refactor. 2019-07-17 22:25:10 -05:00
Buster Neece 3127709750
Prevent both duplicate artists and songs from playing back-to-back. 2019-07-17 22:20:40 -05:00
Buster Neece d94c637c66
Implement remaining basic Files API endpoints. 2019-04-24 19:16:12 -05:00
Buster Neece dc5c3582c6
Reload and notify LS of changes to affected playlists. 2019-03-26 20:43:55 -05:00
Buster Neece d60b2fc0fe
Refactor all Doctrine queries to support PHPStorm's DQL highlighting. 2019-03-23 16:43:22 -05:00
Buster "Silver Eagle" Neece 8a6701403a Code and PHPDoc cleanup to green-light level 2 static analysis. 2019-01-31 11:54:17 -06:00
Buster "Silver Eagle" Neece fda8ba092c Fix issue with hourly cleanup wiping cued song history. 2018-12-14 19:26:47 -06:00
Buster "Silver Eagle" Neece 676927b024 Fix issues with queueing songs, add queue API endpoints and queue viewer page. 2018-12-12 03:01:03 -06:00
Buster "Silver Eagle" Neece a7a2eb71bc Fix reordering of the same song added multiple times to a playlist and long-running songs running out of order. 2018-11-30 15:08:12 -06:00
Buster "Silver Eagle" Neece 1d95f7093a #966 -- Implement remote URL stream support in AzuraCast's AutoDJ, expand to support remote playlists as well 2018-11-20 06:06:16 -06:00
Buster "Silver Eagle" Neece 854cb93261
Architecture change: Integrate common AzuraCore code (#944)
* Update composer.json/lock
* Update CLI console commands
* All AzuraCore refactors except folder moves.
* MVP for all core functionality.
* Working unit/functional tests
* Remove DB dump from util/, replace with direct migration.
* Update AzuraCore, define testing mode earlier.
2018-11-12 10:59:15 -06:00
Buster "Silver Eagle" Neece 8cd2f7121a #919 -- Significant batch handling performance improvements. 2018-11-02 13:44:01 -05:00
Vaalyn d7485b56dd Make reshuffleMedia() transactional in StationPlaylistMediaRepository - fixes #901 (#902)
This PR fixes the slow performance issue #901
2018-10-27 06:57:40 -05:00
Buster "Silver Eagle" Neece 96930770f4 #872 -- Also clear the cache for good measure. 2018-10-19 22:58:00 -05:00