Theme music keeps playing in episode overview; can I solve this myself?

Normal behaviour: When I open a TV show, the theme song plays, and it keeps playing into the season overview. When I go into an episode overview, it stops playing.

Current behaviour: The theme music keeps playing until it runs out, even when I play an episode.

The only thing I can do is to wait until the theme stops playing before I play the episode, which, in some cases, can take quite some time.

Is there a way in which I can solve this myself, or is this a bug?

I should add (I couldn’t find an edit option for my post:

When the episode is finished playing, the theme song starts again, and only stops when I exit the TV show.

There’s a setting in Preferences to turn it off.

Regards

It worked perfectly in the regular PHT, so maybe it’s an issue with OpenPHT specifically?

I’ll disable it for the time being, but I really like the feature, so I hope it gets fixed.

There was a change introduced in the first OpenPHT release (1.5.0) that enabled theme music on episode preplay. PHT was suppose to play theme music on episode preplay but never did due to a bug in the code.
Please raise a feature request on GitHub for a preference option to control when theme music play if this is something you want to control.

Please enable debug logging and raise an issue on GitHub with a link to the log if the theme music continues when you start playing the episode. The theme music should stop as soon as the episode starts playing.