If you can dedicate a Raspberry Pi to this, you might want to consider Volumio. Visit https://volumio.com/en/get-started for more information.
Self-Hosted Main
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
Picoreplayer can do that, if you run the lms server and client on the same box. It'll be slow with large collections on a pi but it'll work. You can play a track or playlist as a scheduled alarm in the player settings. The only real trick is scheduled pause times, which could be handled using the PowerSave plugin or from the router https://forums.slimdevices.com/forum/user-forums/logitech-media-server/107222-pause-specific-squeezebox-at-scheduled-times#post1375971
I dont think this exists. Maybe you can use an existing server and player and automate it with home assistant
You could implement the schedule play music with just a cron job triggering playback via the API