Giter VIP home page Giter VIP logo

Comments (11)

beedaddy avatar beedaddy commented on June 24, 2024

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.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

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.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

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.

lastsamurai26 avatar lastsamurai26 commented on June 24, 2024

Do you fixed the Problem @fa7ecc1f76 ?
i have the same problem, but unfortunately I don't know how to fix it exactly.

from radiorec.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

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.

lastsamurai26 avatar lastsamurai26 commented on June 24, 2024

that would be excellent :-)

from radiorec.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

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.

radiorec.py.txt

from radiorec.

lastsamurai26 avatar lastsamurai26 commented on June 24, 2024

yes, I will do a diff patch. Thanks for the help :)

from radiorec.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

@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.

lastsamurai26 avatar lastsamurai26 commented on June 24, 2024

:-) i've pulled your changes :)

from radiorec.

fa7ecc1f76 avatar fa7ecc1f76 commented on June 24, 2024

Cool. Feel free to take over from here.

from radiorec.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.