Closed deep5050 closed 11 months ago
Documents/github/radio-active$ radio -S bbc --limit 12 --loglevel debug ╭─────────────────────────────────── 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 │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────╯ ... | Update not available ... | Searching API for: bbc [!] | showing 12 stations with the name! ┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ID ┃ Station ┃ Country ┃ Tags ┃ ┡━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ 1 │ 107.3 BBC Radio Uganda │ UG │ news │ │ 2 │ 107.3 BBC Radio Uganda │ UG │ music │ │ 3 │ BBC 5 LIVE SPORTS │ GB │ sports │ │ 4 │ BBC 5Live │ UG │ sports │ │ 5 │ BBC AFRICA UG │ UG │ news │ │ 6 │ BBC AFRICA UG │ UG │ news talk │ │ 7 │ BBC Afrique Radio │ GB │ africa,afrique,news,talk │ │ 8 │ BBC Arabic Radio │ GB │ arabic,news,talk │ │ 9 │ BBC Asian Network │ GB │ asian,entertainment,music,news │ │ 10 │ BBC CWR │ GB │ │ │ 11 │ BBC Essex │ GB │ │ │ 12 │ BBC for Australasia │ GB │ news │ └────┴─────────────────────────┴─────────┴────────────────────────────────┘ i | If the table does not fit into your screen, i | try to maximize the window , decrease the font by a bit and retry ... | Asking for user input Type the result ID to play: 4 ... | Selected: {'changeuuid': '5028e921-5ef2-473d-8186-3a4e325d6c99', 'stationuuid': '1afb2e92-1cb5-4813-bde3-319e4c830eb3', 'serveruuid': None, 'name': 'BBC 5Live', 'url': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'url_resolved': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'homepage': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'favicon': '', 'tags': 'sports', 'country': 'Uganda', 'countrycode': 'UG', 'iso_3166_2': None, 'state': '', 'language': 'english', 'languagecodes': 'en', 'votes': 0, 'lastchangetime': '2023-09-29 14:52:42', 'lastchangetime_iso8601': '2023-09-29T14:52:42Z', 'codec': 'AAC+', 'bitrate': 50, 'hls': 1, 'lastcheckok': 1, 'lastchecktime': '2023-09-29 14:52:43', 'lastchecktime_iso8601': '2023-09-29T14:52:43Z', 'lastcheckoktime': '2023-09-29 14:52:43', 'lastcheckoktime_iso8601': '2023-09-29T14:52:43Z', 'lastlocalchecktime': '2023-09-29 14:52:43', 'lastlocalchecktime_iso8601': '2023-09-29T14:52:43Z', 'clicktimestamp': '2023-09-29 15:32:50', 'clicktimestamp_iso8601': '2023-09-29T15:32:50Z', 'clickcount': 4, 'clicktrend': 4, 'ssl_error': 0, 'geo_lat': None, 'geo_long': None, 'has_extended_info': False} ... | Searching API for: 1afb2e92-1cb5-4813-bde3-319e4c830eb3 i | Station found: BBC 5Live ... | { ... | "changeuuid": "5028e921-5ef2-473d-8186-3a4e325d6c99", ... | "stationuuid": "1afb2e92-1cb5-4813-bde3-319e4c830eb3", ... | "serveruuid": null, ... | "name": "BBC 5Live", ... | "url": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "url_resolved": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "homepage": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "favicon": "", ... | "tags": "sports", ... | "country": "Uganda", ... | "countrycode": "UG", ... | "iso_3166_2": null, ... | "state": "", ... | "language": "english", ... | "languagecodes": "en", ... | "votes": 0, ... | "lastchangetime": "2023-09-29 14:52:42", ... | "lastchangetime_iso8601": "2023-09-29T14:52:42Z", ... | "codec": "AAC+", ... | "bitrate": 50, ... | "hls": 1, ... | "lastcheckok": 1, ... | "lastchecktime": "2023-09-29 14:52:43", ... | "lastchecktime_iso8601": "2023-09-29T14:52:43Z", ... | "lastcheckoktime": "2023-09-29 14:52:43", ... | "lastcheckoktime_iso8601": "2023-09-29T14:52:43Z", ... | "lastlocalchecktime": "2023-09-29 14:52:43", ... | "lastlocalchecktime_iso8601": "2023-09-29T14:52:43Z", ... | "clicktimestamp": "2023-09-29 15:32:50", ... | "clicktimestamp_iso8601": "2023-09-29T15:32:50Z", ... | "clickcount": 4, ... | "clicktrend": 4, ... | "ssl_error": 0, ... | "geo_lat": null, ... | "geo_long": null, ... | "has_extended_info": false ... | } ... | increased click count for: 1afb2e92-1cb5-4813-bde3-319e4c830eb3 ... | player: url => http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8 ... | FFplay: /usr/bin/ffplay ... | player: ffplay => PID 20789 initiated ... | Saving the current station: {'name': 'BBC 5Live', 'uuid_or_url': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8'} ... | Dumping station information ╭─────────────────────────────────────── 📻 ────────────────────────────────────────╮ │ BBC 5Live │ ╰───────────────────────────────────────────────────────────────────────────────────╯ Enter a command to perform an action: r i | Press 'q' to stop recording ... | filepath: fallback to default path ... | Filetype: unknown type ''. falling back to mp3 i | Recording will be saved as: i | /home/deep/Music/radioactive/BBC-5Live-30-SEP-2023@12-21-21-AM.mp3 [mp3 @ 0x55d6af62fd40] Invalid audio stream. Exactly one MP3 audio stream is required. Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:0 --
... | Error: Command '['ffmpeg', '-i', 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', '-c:a', 'copy', '-vn', '-loglevel', 'error', '-hide_banner', '-stats', '/home/deep/Music/radioactive/BBC-5Live-30-SEP-2023@12-21-21-AM.mp3']' returned non-zero exit status 1. [!!!] | Error while recording audio: Command '['ffmpeg', '-i', 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', '-c:a', 'copy', '-vn', '-loglevel', 'error', '-hide_banner', '-stats', '/home/deep/Music/radioactive/BBC-5Live-30-SEP-2023@12-21-21-AM.mp3']' returned non-zero exit status 1.
Documents/github/radio-active$ radio -S bbc --limit 12 --loglevel debug ╭─────────────────────────────────── 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 │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────╯ ... | Update not available ... | Searching API for: bbc [!] | showing 12 stations with the name! ┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ID ┃ Station ┃ Country ┃ Tags ┃ ┡━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ 1 │ 107.3 BBC Radio Uganda │ UG │ news │ │ 2 │ 107.3 BBC Radio Uganda │ UG │ music │ │ 3 │ BBC 5 LIVE SPORTS │ GB │ sports │ │ 4 │ BBC 5Live │ UG │ sports │ │ 5 │ BBC AFRICA UG │ UG │ news │ │ 6 │ BBC AFRICA UG │ UG │ news talk │ │ 7 │ BBC Afrique Radio │ GB │ africa,afrique,news,talk │ │ 8 │ BBC Arabic Radio │ GB │ arabic,news,talk │ │ 9 │ BBC Asian Network │ GB │ asian,entertainment,music,news │ │ 10 │ BBC CWR │ GB │ │ │ 11 │ BBC Essex │ GB │ │ │ 12 │ BBC for Australasia │ GB │ news │ └────┴─────────────────────────┴─────────┴────────────────────────────────┘ i | If the table does not fit into your screen,
i | try to maximize the window , decrease the font by a bit and retry ... | Asking for user input Type the result ID to play: 4 ... | Selected: {'changeuuid': '5028e921-5ef2-473d-8186-3a4e325d6c99', 'stationuuid': '1afb2e92-1cb5-4813-bde3-319e4c830eb3', 'serveruuid': None, 'name': 'BBC 5Live', 'url': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'url_resolved': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'homepage': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8', 'favicon': '', 'tags': 'sports', 'country': 'Uganda', 'countrycode': 'UG', 'iso_3166_2': None, 'state': '', 'language': 'english', 'languagecodes': 'en', 'votes': 0, 'lastchangetime': '2023-09-29 14:52:42', 'lastchangetime_iso8601': '2023-09-29T14:52:42Z', 'codec': 'AAC+', 'bitrate': 50, 'hls': 1, 'lastcheckok': 1, 'lastchecktime': '2023-09-29 14:52:43', 'lastchecktime_iso8601': '2023-09-29T14:52:43Z', 'lastcheckoktime': '2023-09-29 14:52:43', 'lastcheckoktime_iso8601': '2023-09-29T14:52:43Z', 'lastlocalchecktime': '2023-09-29 14:52:43', 'lastlocalchecktime_iso8601': '2023-09-29T14:52:43Z', 'clicktimestamp': '2023-09-29 15:32:50', 'clicktimestamp_iso8601': '2023-09-29T15:32:50Z', 'clickcount': 4, 'clicktrend': 4, 'ssl_error': 0, 'geo_lat': None, 'geo_long': None, 'has_extended_info': False} ... | Searching API for: 1afb2e92-1cb5-4813-bde3-319e4c830eb3 i | Station found: BBC 5Live ... | { ... | "changeuuid": "5028e921-5ef2-473d-8186-3a4e325d6c99", ... | "stationuuid": "1afb2e92-1cb5-4813-bde3-319e4c830eb3", ... | "serveruuid": null, ... | "name": "BBC 5Live", ... | "url": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "url_resolved": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "homepage": "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8", ... | "favicon": "", ... | "tags": "sports", ... | "country": "Uganda", ... | "countrycode": "UG", ... | "iso_3166_2": null, ... | "state": "", ... | "language": "english", ... | "languagecodes": "en", ... | "votes": 0, ... | "lastchangetime": "2023-09-29 14:52:42", ... | "lastchangetime_iso8601": "2023-09-29T14:52:42Z", ... | "codec": "AAC+", ... | "bitrate": 50, ... | "hls": 1, ... | "lastcheckok": 1, ... | "lastchecktime": "2023-09-29 14:52:43", ... | "lastchecktime_iso8601": "2023-09-29T14:52:43Z", ... | "lastcheckoktime": "2023-09-29 14:52:43", ... | "lastcheckoktime_iso8601": "2023-09-29T14:52:43Z", ... | "lastlocalchecktime": "2023-09-29 14:52:43", ... | "lastlocalchecktime_iso8601": "2023-09-29T14:52:43Z", ... | "clicktimestamp": "2023-09-29 15:32:50", ... | "clicktimestamp_iso8601": "2023-09-29T15:32:50Z", ... | "clickcount": 4, ... | "clicktrend": 4, ... | "ssl_error": 0, ... | "geo_lat": null, ... | "geo_long": null, ... | "has_extended_info": false ... | } ... | increased click count for: 1afb2e92-1cb5-4813-bde3-319e4c830eb3 ... | player: url => http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8 ... | FFplay: /usr/bin/ffplay ... | player: ffplay => PID 20789 initiated ... | Saving the current station: {'name': 'BBC 5Live', 'uuid_or_url': 'http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_vlow/ak/bbc_radio_five_live.m3u8'} ... | Dumping station information ╭─────────────────────────────────────── 📻 ────────────────────────────────────────╮ │ BBC 5Live │ ╰───────────────────────────────────────────────────────────────────────────────────╯ Enter a command to perform an action: r i | Press 'q' to stop recording ... | filepath: fallback to default path ... | Filetype: unknown type ''. falling back to mp3 i | Recording will be saved as: i | /home/deep/Music/radioactive/BBC-5Live-30-SEP-2023@12-21-21-AM.mp3 [mp3 @ 0x55d6af62fd40] Invalid audio stream. Exactly one MP3 audio stream is required. Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:0 --