Comments (6)
@gjelsas do you have an example m3u file with which the issue occured?
from radiorec.
It occured even on the urls provided by the sample configuration!
from radiorec.
Hi @gjelsas , thanks for your feedback and a bit more of informations.
Hmm, strange, maybe mine where resolved differently? I don't see a reason why that would be the case... I'm currently using radiorec on Ubuntu 20.04...
When debugging radiorec, the streamurl variable was empty and therefore throwing the exception described in the title if the corresponding issue...
Could this be a dependency issue for me?
Tested now with an upgraded version of python using python 3.8.6 and urllib3 1.25.11. There i'm able to reproduce your initial issue. For me it seems, the issue is already directly within with pool.request('GET',streamurl) as remotefile:
.
And here, the issue is described: urllib3/urllib3#1660
Need to switch to use contextlib. On the other side, we shall consider to rework that part in order to handle some issues properly (e.g. 404 errors, timeouts, etc.) by not using with, but working with the result, checking status, catching MaxRetryError. Proper assigning and declaration of tmpstr
and checking if we could correctly interpret file.
May you get it a try?
from radiorec.
#16 (comment)
I hope this fix does it for this problem. If you could check this pr?
Greetings
from radiorec.
@monofox @beedaddy Is that now fixing the issue? Maybe you could integrate my pull request then...
from radiorec.
Thank's, @gjelsas! PR is merged. If there are still problems, we can re-open the issue.
from radiorec.
Related Issues (9)
- problems with python 3.2.3 HOT 1
- Problem recording shoutcast streams HOT 3
- Not compatible with OS X HOT 6
- possible to set / change id3 tag HOT 1
- Problems with radiorec on Mac python version 3.6.4 HOT 2
- Starting without argument HOT 2
- Option to set location of settings.ini HOT 1
- Question about auto-reconnect HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiorec.