diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-05 12:36:17 -0600 |
|---|---|---|
| committer | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-05 12:36:17 -0600 |
| commit | 371ca313e60fe07d678f2b8f15eed8f4a28785f5 (patch) | |
| tree | 37a11dad3bec6e15892279f811a4c4e6d97cba60 /src/path_functions.cpp | |
| parent | f77ae093e3d5fd86e029cb6309fa3ca34b84fddb (diff) | |
Add in support for streaming music with bass
Diffstat (limited to 'src/path_functions.cpp')
| -rw-r--r-- | src/path_functions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp index b1d79762..c6c73a8b 100644 --- a/src/path_functions.cpp +++ b/src/path_functions.cpp @@ -73,6 +73,9 @@ QString AOApplication::get_sounds_path(QString p_file) QString AOApplication::get_music_path(QString p_song) { + if (p_song.startsWith("http")) { + return p_song; // url + } QString path = get_base_path() + "sounds/music/" + p_song; return get_case_sensitive_path(path); } |
