libretime/legacy/application/models
dakriy 5743a0f582
fix(legacy): scheduled show length should not add track fade times (#3144)
### Description

When generating a show that contains a playlist with dynamic blocks, the
show will be incorrectly under scheduled because the fade time was added
onto the total track length. Fade should not add time to an overall
track length as then it wouldn't be a fade.

**This is a new feature**:

No

**I have updated the documentation to reflect these changes**:

No, none needed.

### Testing Notes

**What I did:**

I created a playlist with 3 dynamic blocks:

1. 10 minute length dynamic block
2. 1 item dynamic block
3. fill rest of show dynamic block

I then created a show with the defined auto loading playlist. I then saw
that on auto-load the show was not under scheduled.

**How you can replicate my testing:**

See testing notes

Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2025-03-19 11:13:30 +00:00
..
airtime feat(legacy): update deprecated PHP code (#2789) 2025-03-12 23:19:18 +00:00
formatters style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
tests feat: build schedule events exclusively in playout (#2946) 2024-04-27 20:09:16 +02:00
Auth.php feat(legacy): move session store to database (#2523) 2023-05-30 22:25:50 +02:00
Block.php fix(legacy): now macro should use station timezone (#3143) 2025-03-18 13:12:01 +00:00
Criteria.php feat(legacy): add filename block criteria (#3015) 2024-06-22 11:51:59 +02: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: add Norwegian Bokmål locale (#3073) 2024-09-06 14:43:40 +01: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 feat(legacy): update deprecated PHP code (#2789) 2025-03-12 23:19:18 +00:00
Preference.php fix(legacy): replay_gain_modifier should be a system preference (#2943) 2024-02-08 19:48:49 +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(legacy): scheduled show length should not add track fade times (#3144) 2025-03-19 11:13:30 +00:00
ServiceRegister.php fix(legacy): update or remove broken links 2022-09-21 08:28:43 +02:00
Show.php fix: intro/outro playlist unset was impossible (#3101) 2024-10-21 18:34:39 +01:00
ShowBuilder.php feat(legacy): update deprecated PHP code (#2789) 2025-03-12 23:19:18 +00:00
ShowInstance.php feat(legacy): trim overbooked shows after autoloading a playlist (#2897) 2024-02-02 20:17:23 +01:00
StoredFile.php fix(legacy): support Postgresql 12 syntax (#3103) 2024-10-19 23:20:30 +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