I had a similar issue like this that plagued me on one of my MP installs for about 4 or 5 months. Mediaportal would crash after about 20 minutes into a playlist. I finally had a thought that my screensaver was set to the same time and disabling it cured my problem. I'm pretty sure that in the past, the screensaver wouldn't engage while music was playing, and never crashed. My problem is probably different than yours but on the off chance it might help you, I thought I would mention it. It took me a long time to narrow this down because the only error I received had me suspecting the database.
[2024-03-08 10:49:45,618] [Log ] [MPMain ] [ERROR] - Error processing media file
Exception: An item with the same key has already been added.
Callstack:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at MediaInfo.Builder.GeneralTagBuilder`1.Build()
at MediaInfo.Builder.AudioTagBuilder.Build()
at MediaInfo.MediaInfoWrapper.ParseMedia(MediaInfo mediaInfo)
at MediaInfo.MediaInfoWrapper.ParseMedia(String filePath, String pathToDll)
at MediaInfo.MediaInfoWrapper..ctor(String filePath, String pathToDll, ILogger logger)
[2024-03-08 10:49:45,639] [Error ] [MPMain ] [ERROR] - BASS: Unable to start Mixer. Reason: BASS_ERROR_START.
[2024-03-08 10:49:45,640] [Error ] [MPMain ] [ERROR] - BASS: Could not create Mixer. Aborting playback.
[2024-03-08 10:49:45,642] [Error ] [MPMain ] [ERROR] - PlaylistPlayer: *** unable to play - \\cloudex21\public\music\Ray LaMontagne\Till the Sun Turns Black\05 - Can I Stay.mp3 - skipping track!