From 371ca313e60fe07d678f2b8f15eed8f4a28785f5 Mon Sep 17 00:00:00 2001 From: Skye Deving <76892045+skyedeving@users.noreply.github.com> Date: Tue, 5 Jan 2021 12:36:17 -0600 Subject: Add in support for streaming music with bass --- src/path_functions.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/path_functions.cpp') 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); } -- cgit