[mythtv-users] Music playback stopping when external application is running.
Paul Harrison
mythtv at sky.com
Mon Jan 14 22:52:52 UTC 2013
On 14/01/13 20:17, Enigma wrote:
> I am attempting to launch an external application (GPS software) on my
> car computer while Mythmusic is playing. I am using an EXEC entry in
> the menu to launch the app. When the app is running, music will
> continue playing until it tries to switch to the next song in the
> playlist and it then stops until the external app is exited. I had
> this same problem several years ago on 0.21
> (http://www.gossamer-threads.com/lists/mythtv/users/330171), in that
> version I could modify the code to add the
> MYTH_SYSTEM_DONT_BLOCK_PARENT argument to myth_system() and it worked
> exactly the way I wanted. Unfortunately, I am trying to upgrade to
> 0.26 and the EXEC function no longer uses myth_system() and I am at a
> loss on how to modify this version to block remote keypresses to Myth
> but still allow the music to play in the background. Has anyone been
> able to accomplish this on 0.26?
>
Wow was that really five years ago!
Looks like it does still use myth_system() via the exec_program_cb()
callback function in mythcontext.cpp. The name of the flags has changed
try adding the kMSProcessEvents flag to that call to myth_system() and
see what happens.
Paul H.
More information about the mythtv-users
mailing list