[mythtv] [mythtv-commits] Ticket #4222: Update MythMusic to continue playing in the background after exiting it.

Paul Harrison mythtv at dsl.pipex.com
Sun Dec 2 17:18:25 UTC 2007

Stuart Morgan wrote:
> On Sunday 02 December 2007 15:06:30 Paul Harrison wrote:
>> The initial version wont allow you to do that. It will just stop the
>> music player when playback starts and resume again when it stops.
> Any thoughts on restoring the music volume to the level it was at before video 
> playback started? I'm probably not the only one who finds that the base level 
> for my music is a lot higher than my recordings, so I tend to have the volume 
> higher for TV. If I exit from a recording the last thing I want is to be 
> blasted by music at full volume.
> Another approach would be to offer the option to adjust the relative volumes 
> for music and TV. A year ago I wrote a patch to do exactly that, but as I 
> didn't get it working exactly as I wanted, it was never committed.
I have the same problem with music playback being louder than TV playback.

How about both the music player and tv player both save the volume in
the settings table on exit and restore there respective volume levels
when playback starts? The MythMusic side would be very easy - don't know
enough about the tv playback side to know how easy that would be.

Actually just remembered seeing an AudioOutputSource enum in the audio
output classes so since it knows what the source is maybe the logic to
save/restore the volume levels could be put in there?

Paul H.

More information about the mythtv-dev mailing list