-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello. What happened to sound_lib? I can't get url stream to work, but file stream is ok.
import time
import pafy
from sound_lib import output, stream
o=output.Output()
vid=pafy.new("https://www.youtube.com/watch?v=5jIWUGxrVnU")
#audiostream=vid.getbestaudio("m4a").url
audiostream="http://us2.internet-radio.com:8443/stream"
st=stream.URLStream(url=audiostream)
st.play_blocking()
#while st.is_playing:
#time.sleep(0.1)tried both youtube stream and this sample radio, both doesn't work.
Metadata
Metadata
Assignees
Labels
No labels