[mythtv-users] MythVideo "play all in directory", how to quit?

Bill Williamson bill at bbqninja.com
Thu Jan 7 23:47:05 UTC 2010


On Fri, Jan 8, 2010 at 5:17 AM, Raymond Wagner <raymond at wagnerrp.com> wrote:
> On 1/7/2010 12:13 PM, Mike Perkins wrote:
>>
>> Raymond Wagner wrote:
>>>
>>> The problem is that when you exit a player manually, it has completed
>>> running successfully.  There was no crash, there is no error code, so how to
>>> do you know that the user exited with the intent of completely exiting.
>>
>> You do it the other way round. If the user presses "esc" then put up a
>> dialog box: Ignore, Next video, Quit to menu.
>
> As I just explained, MythVideo just hands off playback to some other
> program, be it an external player, or the internal playback routines. It has
> no way of knowing if you exited playback manually with 'esc', or if the
> player simply returned at the end of the video.  Either way, you will have
> returned successfully, rather than getting an error.


Just a menu option for the internal player would be good enough
(perhaps quits with a different return code) and other external
players can fend for themselves.


More information about the mythtv-users mailing list