Code Monkey home page Code Monkey logo

arradio-player's Introduction

sepen's GitHub stats

arradio-player's People

Watchers

 avatar  avatar

arradio-player's Issues

mp3: only layer3 (want 1; got 3) is supported

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

mp3: free bitrate format is not supported

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

MPEG version 2.5 is not supported

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

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.