comparison src/track/constants.cc @ 83:d02fdf1d6708

*: huuuge update 1. make the now playing page function correctly 2. de-constructorfy many of our custom widgets, allowing them to be changed on-the-fly from the Now Playing page 3. ... :)
author Paper <mrpapersonic@gmail.com>
date Tue, 24 Oct 2023 22:01:02 -0400
parents 8b65c417c225
children 18979b066284
comparison
equal deleted inserted replaced
82:8b65c417c225 83:d02fdf1d6708
1 #include "track/constants.h" 1 #include "track/constants.h"
2 2
3 // clang-format off
4 // https://github.com/llvm/llvm-project/issues/62676
3 const std::vector<std::string> media_extensions = { 5 const std::vector<std::string> media_extensions = {
4 "avi", 6 "avi",
5 "asf", 7 "asf",
6 "mp4", 8 "mp4",
7 "mkv", 9 "mkv",
10 12
11 const std::vector<std::string> media_players = { 13 const std::vector<std::string> media_players = {
12 #ifdef MACOSX 14 #ifdef MACOSX
13 "VLC" 15 "VLC"
14 #elif WIN32 16 #elif WIN32
15 "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe" 17 "vlc.exe", "mpc-hc.exe", "mpc-hc64.exe", "wmplayer.exe", "mpv.exe"
16 #else // linux, unix, whatevs 18 #else // linux, unix, whatevs
17 "vlc", "mpv", "mpc-qt" 19 "vlc", "mpv", "mpc-qt"
18 #endif 20 #endif
19 }; 21 };
22 // clang-format on