view 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 source

#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
};