diff options
| author | Yuval Adam <_@yuv.al> | 2024-05-31 15:18:09 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2024-05-31 15:18:09 +0200 |
| commit | ef5668b85f6bf79fdd01ce98a010d593d2a5ea11 (patch) | |
| tree | 1b716a04f16f4e18dc46b8fda16d98ca75754fcf | |
| parent | a8f582befa5d86acdee596c9c23e5212435e82e7 (diff) | |
Hard coded stream url works
| -rw-r--r-- | src/audio/rodio.rs | 4 |
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(), ) |
