libretime/legacy/application/models
Thomas Göttgens a95ce3d229
feat(legacy): trim overbooked shows after autoloading a playlist (#2897)
### Description

Some combination of preload/postload and autoloding playlists with
smartblocks generate massively overbooked shows that clutter up the
interface. This addition performs a 'trim overbooked' after filling up
the autoload list, and does the same as pushing the 'trim overbooked'
button in the UI.


### Testing Notes

Define an autoloading playlist of 2 hours and schedule it for a one hour
show. Without patch, you'll get entries for 2 hours, with the patch, you
only get one hour and a 'overboarding' orange entry at most.

---------

Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 20:17:23 +01:00
..
airtime fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1 (main) (#2677) 2023-09-08 15:45:24 +02:00
formatters style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
tests fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00
Auth.php feat(legacy): move session store to database (#2523) 2023-05-30 22:25:50 +02:00
Block.php fix(legacy): ensure last played criteria works with never played files (#2840) 2023-12-27 17:32:33 +01:00
Dashboard.php style(legacy): format files (#1946) 2022-07-07 20:01:15 +02:00
Datatables.php fix(legacy): advanced search by track type id 2023-01-08 22:40:48 +02:00
Email.php Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
FreeIpa.php Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
Library.php fix: use constrained foreign key for files track_type 2022-07-07 21:07:41 +02:00
LibraryEditable.php Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
ListenerStat.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1 (main) (#2677) 2023-09-08 15:45:24 +02:00
LiveLog.php style(legacy): format files (#1946) 2022-07-07 20:01:15 +02:00
Locale.php feat(legacy): add Ukrainian language 2022-07-04 20:00:51 +02:00
LoginAttempts.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1 (main) (#2677) 2023-09-08 15:45:24 +02:00
Playlist.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00
Preference.php feat(legacy): trim overbooked shows after autoloading a playlist (#2897) 2024-02-02 20:17:23 +01:00
RabbitMq.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
Schedule.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00
Scheduler.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
ServiceRegister.php fix(legacy): update or remove broken links 2022-09-21 08:28:43 +02:00
Show.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) (#2656) 2023-08-15 18:28:18 +02:00
ShowBuilder.php style(legacy): format files (#1946) 2022-07-07 20:01:15 +02:00
ShowInstance.php feat(legacy): trim overbooked shows after autoloading a playlist (#2897) 2024-02-02 20:17:23 +01:00
StoredFile.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.43.2 (main) (#2848) 2023-12-29 15:28:57 +01:00
StreamSetting.php feat: add mobile devices stream config field (#2744) 2023-10-14 08:13:04 +01:00
Subjects.php chore: use https links (#2075) 2022-08-25 16:25:54 +02:00
Systemstatus.php chore(legacy): format code 2022-09-12 14:15:50 +02:00
Tracktype.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00
User.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.43.2 (main) (#2848) 2023-12-29 15:28:57 +01:00
Webstream.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00