diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-01-05 15:26:23 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-05 15:26:23 -0600 |
| commit | 9adfa291913a2d262208003fb79e957037893285 (patch) | |
| tree | 37a11dad3bec6e15892279f811a4c4e6d97cba60 /src/path_functions.cpp | |
| parent | f77ae093e3d5fd86e029cb6309fa3ca34b84fddb (diff) | |
| parent | 371ca313e60fe07d678f2b8f15eed8f4a28785f5 (diff) | |
Merge pull request #372 from skyedeving/add-music-streaming
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 b1d7976..c6c73a8 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); } |
