Giter VIP home page Giter VIP logo

radiorec's People

Contributors

beedaddy avatar gjelsas avatar lastsamurai26 avatar sebabu avatar thoka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radiorec's Issues

Starting without argument

I do not know if this is really a mistake, but if you start radiorec.py without an argument, this will come out. I've tried to fix it but have not made it yet. Maybe you can find the issue

MacOSX 10.12.6 and Debian9 with python 3.6

Started as ./radiorec.py

without record or list

Traceback (most recent call last):
  File "./radiorec.py", line 161, in <module>
    main()
  File "./radiorec.py", line 158, in main
    args.func(args)
AttributeError: 'Namespace' object has no attribute 'func'

problems with python 3.2.3

Trying to run with python 3.2.3 i got following problems:

sys.plaform is linux2, not the expected linux

After changing that to test sys.platform.startswith("linux") I get following error:

recthread = threading.Thread(target = record_worker, args = (stoprec, streamurl, target_dir, args), daemon = True)
TypeError: __init__() got an unexpected keyword argument 'daemon'

possible to set / change id3 tag

Hi there,

first off thanks for the great script!
Is there an option to set the id3 tag of the files being recorded?
I want to set them in order to distinguish between the different files in my player on my mobile phone.

Question about auto-reconnect

Hi there,

did you do anything in regards to re-connection handling? I couldn't really find anything in the code.
I'm not sure if urllib.request does something in these regards. So if the stream disconnects for whatever reason, the recording should not stop before the recording duration set.

Best regards,
J

Problems with radiorec on Mac python version 3.6.4

Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

./radiorec.py list
./radiorec.py record

the same error

Traceback (most recent call last):
  File "./Daten/Programme/radiorec-master/radiorec.py", line 162, in <module>
    main()
  File "./Daten/Programme/radiorec-master/radiorec.py", line 159, in main
    args.func(args)
  File "./Daten/Programme/radiorec-master/radiorec.py", line 130, in list
    settings = read_settings()
  File "./Daten/Programme/radiorec-master/radiorec.py", line 55, in read_settings
    + 'Application Support' + os.sep + 'radiorec'
TypeError: bad operand type for unary +: 'str'

Cannot open m3u urls -> ValueError: I/O operation on closed file.

I'm currently getting ValueError: I/O operation on closed file. when trying to record stations with m3u urls. With mp3-urls it works though.

It seems to be the code around line 126 where the Poolmanager requests the m3u url, and an empty value is stored in the value line in line 127.

I'm using mp3 urls right now, but this could be fixed easily I guess...

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.