elibroftw / music-caster

Music Caster is a modern music player with the ability to cast audio files, system audio, and URLs to Google Chromecasts, Google Home/Nest Minis, etc.
https://elijahlopez.ca/music-caster/
Other
144 stars 16 forks source link

online .m3u8 or .mp3 feed possible? #7

Closed appel closed 4 years ago

appel commented 4 years ago

Would it possible to link to an online .m3u8 or .mp3? I would love to be able to cast freecodecamp radio, the link to their audio stream is https://coderadio-admin.freecodecamp.org/radio/8010/radio.mp3.

Thanks!

elibroftw commented 4 years ago

yea I'll modify the play url function. Right now I am fixing the auto update

appel commented 4 years ago

Thanks!

elibroftw commented 4 years ago

Okay so for some reason it'll take about 10 - 15 seconds for the chromecast to start playing. I'll look into this later as I'm tired right now but the latest version lets you play from a .mp3 url.

appel commented 4 years ago

Thanks for working on this, much appreciated! I downloaded and installed the latest version, and added https://coderadio-admin.freecodecamp.org/radio/8010/radio.mp3 in the Play URL box, but I can't get it to play for some reason. The stream won't show up in the queue either. I also tried a Youtube link just in case, but that won't play either, not locally and not on my devices.

elibroftw commented 4 years ago

Play URL is only supported when you are connected to a Chromecast. I'm on the latest version too and it takes 15 - 20 seconds for it to start playing the radio URL. Youtube URLs take 5 seconds max. e.g. https://youtu.be/x0RXU3n1GM0

appel commented 4 years ago

You're right, that worked, awesome! Took about 10 seconds here to start playing. Unrelated issue, but I noticed that my cast groups (for multiroom audio) are not showing up under Devices. Should I create a separate issue for that? Thanks!

elibroftw commented 4 years ago

Yeah sure