detect video player
seth.arnold at canonical.com
Thu Mar 2 06:58:07 UTC 2017
On Thu, Mar 02, 2017 at 08:02:53AM +0300, Vasilisc wrote:
> For example,
> vlc come from snap package (location /snap/vlc/current/...),
> smplayer - from deb package (location /usr/bin/smplayer).
> How to find available a video players in host system?
Can you trust the PATH to be useful and just blindly call execlp() with
the names of the players you support, each in turn, until you succeed
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: not available
More information about the Snapcraft