Open dgonano opened 7 years ago
Looks like network timeout. How long is "exceptionally long"?
renekliment had 3 minutes, mine never returns (>2.5 hours). Not sure how long to leave it...
Yeah, this is something we need to solve. I haven't really looked into the tunein.py
yet, so I don't have ideas (yet). One way or another, we have to implement a real timeout so it doesn't block our code no matter what.
I've just tried link above, http://streaming.novaentertainment.com.au/nova1069, and it won't open in my browser. I can only see spinner in my Firefox tab...
It works for me in Chrome.
@lechat works for me in safari and chrome, I don't have firefox.
Tried again, now it works ok. Hmm...
Your OS (including version) where you are running AlexaPi:
Your hardware platform and model you are running on:
Python release (
python2 --version
):Description of problem: Playback fails on some radio stations and on some systems. Eg "play triple j radio" works fine but "play nova 1069 radio" gets stuck on my system.
Steps to reproduce: In python
import tunein
tunein_parser = tunein.TuneIn(5000)
tunein_parser.parse_stream_url("http://streaming.novaentertainment.com.au/nova1069")
Function never returns (or takes exceptionally long)^c produces same traceback each time: