Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce dead air time at end of block scheduling #3018

Open
dakriy opened this issue May 21, 2024 · 0 comments · May be fixed by #3019
Open

Reduce dead air time at end of block scheduling #3018

dakriy opened this issue May 21, 2024 · 0 comments · May be fixed by #3019

Comments

@dakriy
Copy link
Contributor

dakriy commented May 21, 2024

Is your feature request related to a problem?

When running a radio station it is generally a good idea to reduce dead air time. The current algorithm for adding tracks to a block/show can leave a lot of dead air time at the end as it doesn't use a very good algorithm. Required for a radio station to go live with LibreTime.

Describe the solution you'd like

Adding tracks to a show until it is full while making it as full as possible is a well known problem in computer science. It is the Subset Sum Problem. There is a decent solution on Wikipedia, why not use it?

Describe alternatives you've considered

Leaving dead air time. Not so great.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant