summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-05-31 15:18:09 +0200
committerYuval Adam <_@yuv.al>2024-05-31 15:18:09 +0200
commitef5668b85f6bf79fdd01ce98a010d593d2a5ea11 (patch)
tree1b716a04f16f4e18dc46b8fda16d98ca75754fcf
parenta8f582befa5d86acdee596c9c23e5212435e82e7 (diff)
Hard coded stream url works
-rw-r--r--src/audio/rodio.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/rodio.rs b/src/audio/rodio.rs
index 3dffa5e..f3f0ffd 100644
--- a/src/audio/rodio.rs
+++ b/src/audio/rodio.rs
@@ -15,7 +15,9 @@ pub struct Rodio {}
impl Rodio {
pub async fn play(&self, url: &str) {
let reader = StreamDownload::new_http(
- url.parse().unwrap(),
+ "https://ice6.somafm.com/groovesalad-256-mp3"
+ .parse()
+ .unwrap(),
TempStorageProvider::new(),
Settings::default(),
)