Comments (11)
You're right, there's no reconnection handling in the code. I don't know if/when I have some time to check what could be done here...
from radiorec.
No worries, I just wanted to know. Still great to have. Maybe I find some time myself. Having a wrapper around mplayer currently, opening it via pty and checking if died before the recording is complete.
from radiorec.
I think using the urllib3 would be a good idea, urllib3 can automatically retry idempotent requests.
did a bit of searching and found this: https://dev.to/zenulabidin/python-http-at-lightspeed-part-2-urllib3-and-requests-476
from radiorec.
Do you fixed the Problem @fa7ecc1f76 ?
i have the same problem, but unfortunately I don't know how to fix it exactly.
from radiorec.
Hi @lastsamurai26 -
yes, but I didn't commit the changes here, kept it as a local private branch. Until I have time to raise a pull request here, I can send the changes I've made to you. I will get in touch this weekend latest.
from radiorec.
that would be excellent :-)
from radiorec.
This is it, you need to rename it to .py again of course. I recommend a diff with the current version and you'll see what I did.
from radiorec.
yes, I will do a diff patch. Thanks for the help :)
from radiorec.
@lastsamurai26 feel free to use the code and contribute it to this project or anywhere else. I don't really have time currently.
from radiorec.
:-) i've pulled your changes :)
from radiorec.
Cool. Feel free to take over from here.
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
- Cannot open m3u urls -> ValueError: I/O operation on closed file. HOT 6
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.