sepen / arradio-player Goto Github PK
View Code? Open in Web Editor NEWPlay audio streams from macOS Terminal or Linux shell
License: GNU General Public License v3.0
Play audio streams from macOS Terminal or Linux shell
License: GNU General Public License v3.0
Decoding stream failed: mp3: only layer3 (want 1; got 3) is supported (related to hajimehoshi/go-mp3#48)
% arradio-player 'http://78.129.202.10:8030/;?icy=https'
2024/04/13 01:44:32 [INFO] Opening http://78.129.202.10:8030/;?icy=https
2024/04/13 01:44:32 [DEBUG] HTTP header Cache-Control: no-cache,no-store,must-revalidate,max-age=0
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Pub: 1
2024/04/13 01:44:32 [DEBUG] HTTP header Connection: close
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Name: Radio Caroline
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Sr: 22050
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Url: http://www.radiocaroline.co.uk
2024/04/13 01:44:32 [DEBUG] HTTP header X-Clacks-Overhead: GNU Terry Pratchett
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Notice1: <BR>This stream requires <a href="http://www.winamp.com">Winamp</a><BR>
2024/04/13 01:44:32 [DEBUG] HTTP header Access-Control-Allow-Origin: *
2024/04/13 01:44:32 [DEBUG] HTTP header Accept-Ranges: none
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Br: 96
2024/04/13 01:44:32 [DEBUG] HTTP header Content-Type: audio/aacp
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Metaint: 16384
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Notice2: SHOUTcast DNAS/win64 v2.5.5.733<BR>
2024/04/13 01:44:32 [DEBUG] HTTP header Icy-Genre: Classic Rock, Oldies
panic: Decoding stream failed: mp3: only layer3 (want 1; got 3) is supported
goroutine 1 [running]:
main.main()
/Users/sepen/devel/arradio-player/main.go:39 +0x24c
AAC is not supported. The error appears when trying AAC streams
% arradio-player https://ice6.somafm.com/defcon-128-aac
2024/04/13 02:02:12 [INFO] Opening https://ice6.somafm.com/defcon-128-aac
2024/04/13 02:02:14 [DEBUG] HTTP header Date: Sat, 13 Apr 2024 00:02:14 GMT
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Notice2: SHOUTcast Distributed Network Audio Server/Linux v1.9.5<BR>
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Pub: 0
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Url: https://somafm.com/defcon
2024/04/13 02:02:14 [DEBUG] HTTP header Access-Control-Allow-Origin: *
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Metaint: 16000
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Br: 128
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Name: DEF CON Radio: SomaFM's year-round channel for DEF CON [SomaFM]
2024/04/13 02:02:14 [DEBUG] HTTP header Cache-Control: no-cache, no-store
2024/04/13 02:02:14 [DEBUG] HTTP header Connection: Close
2024/04/13 02:02:14 [DEBUG] HTTP header Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type, Icy-MetaData
2024/04/13 02:02:14 [DEBUG] HTTP header Access-Control-Allow-Methods: GET, OPTIONS, SOURCE, PUT, HEAD, STATS
2024/04/13 02:02:14 [DEBUG] HTTP header Server: Icecast 2.4.0-kh15
2024/04/13 02:02:14 [DEBUG] HTTP header Content-Type: audio/aac
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Genre: Electronic Hacking
2024/04/13 02:02:14 [DEBUG] HTTP header Icy-Notice1: <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
2024/04/13 02:02:14 [DEBUG] HTTP header Expires: Mon, 26 Jul 1997 05:00:00 GMT
panic: Decoding stream failed: mp3: free bitrate format is not supported. Header word is 0xfffe07ff at position 11
goroutine 1 [running]:
main.main()
/Users/sepen/devel/arradio-player/main.go:39 +0x24c
Decoding stream failed: mp3: MPEG version 2.5 is not supported
% arradio-player http://195.242.237.14:8020/stream
2024/04/14 23:26:48 [INFO] Opening http://195.242.237.14:8020/stream
2024/04/14 23:26:48 [DEBUG] HTTP header Connection: close
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Genre: rock
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Pub: 1
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Metaint: 8192
2024/04/14 23:26:48 [DEBUG] HTTP header Accept-Ranges: none
2024/04/14 23:26:48 [DEBUG] HTTP header Cache-Control: no-cache,no-store,must-revalidate,max-age=0
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Br: 128
2024/04/14 23:26:48 [DEBUG] HTTP header Content-Type: audio/aacp
2024/04/14 23:26:48 [DEBUG] HTTP header X-Clacks-Overhead: GNU Terry Pratchett
2024/04/14 23:26:48 [DEBUG] HTTP header Access-Control-Allow-Origin: *
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Name: Downtuned Radio
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Sr: 44100
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Notice1: <BR>This stream requires <a href="http://www.winamp.com">Winamp</a><BR>
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Notice2: Shoutcast DNAS/posix(linux x64) v2.6.1.777<BR>
2024/04/14 23:26:48 [DEBUG] HTTP header Icy-Url: https://www.downtunedmag.com
2024/04/14 23:26:48 [DEBUG] Received metadata: [StreamTitle='Khan - Control' ]
>>> Khan - Control
panic: Decoding stream failed: mp3: MPEG version 2.5 is not supported
goroutine 1 [running]:
main.main()
/Users/sepen/devel/arradio-player/main.go:39 +0x24c
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.