deep5050 / radio-active

Play any radios around the globe right from the terminal :zap:
https://www.radio-browser.info/#/
MIT License
469 stars 24 forks source link

Record error while playing direct URL #92

Closed deep5050 closed 8 months ago

deep5050 commented 8 months ago

Documents/github/radio-active$ radio --play https://stream-23.zeno.fm/umq9q5uuva5tv?zs=Ems7uMMkR8qN8_L1cIhemg
╭─────────────────────────────────── RADIOACTIVE ───────────────────────────────────╮
│                                                                                   │
│         📻 Play any radios around the globe right from this Terminal ⚡!          │
│         😄 Author: Dipankar Pal                                                   │
│         ❓ Type '--help' for more details on available commands                   │
│         🐛 Visit: https://github.com/deep5050/radio-active to submit issues       │
│         ⭐ Show some love by starring the project on GitHub ❤                     │
│         💵 You can donate me at https://deep5050.github.io/payme/                 │
│         ❌ Press Ctrl+C to quit                                                   │
│                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────── 📻 ────────────────────────────────────────╮
│                                        N/A                                        │
╰───────────────────────────────────────────────────────────────────────────────────╯
      i     | Press '?' to see available commands
Enter a command to perform an action: r
      i     | Press 'q' to stop recording
      i     | Recording will be saved as: 
      i     | /home/deep/Music/radioactive/N/A-26-OCT-2023@10-42-33-PM.mp3
/home/deep/Music/radioactive/N/A-26-OCT-2023@10-42-33-PM.mp3: No such file or directory
    [!!!]   | Error while recording audio: Command '['ffmpeg', '-i', 'https://stream-23.zeno.fm/umq9q5uuva5tv?zs=Ems7uMMkR8qN8_L1cIhemg', '-vn', '-stats', '-c:a', 'libmp3lame', '-loglevel', 'error', '-hide_banner', '/home/deep/Music/radioactive/N/A-26-OCT-2023@10-42-33-PM.mp3']' returned non-zero exit status 1.

N/A : is not a valid name

deep5050 commented 8 months ago

open pull request: #91