Mercurial > minori
diff src/track/constants.cc @ 82:8b65c417c225
*: fix old stuff, make video players and extensions constants
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 23 Oct 2023 13:37:42 -0400 |
parents | |
children | d02fdf1d6708 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/track/constants.cc Mon Oct 23 13:37:42 2023 -0400 @@ -0,0 +1,19 @@ +#include "track/constants.h" + +const std::vector<std::string> media_extensions = { + "avi", + "asf", + "mp4", + "mkv", + "wmv" +}; + +const std::vector<std::string> media_players = { +#ifdef MACOSX + "VLC" +#elif WIN32 + "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe" +#else // linux, unix, whatevs + "vlc", "mpv", "mpc-qt" +#endif +};