Tiny Core Base > Raspberry Pi
mpg123 playing https radiostream
opa:
Hi together,
i have installed piCore 16 32-bit on raspberry pi3. Now im trying to play some radiostreams with mpg123.
Here is my command:
--- Code: ---tc@radiobox:~$ mpg123 "https://liveradio.swr.de/sw282p3/swr3/play.mp3"
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.23.4; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
[src/libmpg123/readers.c:1182] error: Cannot open file https://liveradio.swr.de/sw282p3/swr3/play.mp3: No such file or directory
main: [src/mpg123.c:731] error: Cannot open https://liveradio.swr.de/sw282p3/swr3/play.mp3: File access error. (code 22)
--- End code ---
I get "File access error"
[Edit]: Added code tags. Rich
Rich:
Hi opa
Please use Code Tags when posting commands and responses seen in a terminal. To use Code Tags click on the # icon
above the reply box and paste your text between the Code Tags as shown in this example:
--- Quote ---[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
--- End quote ---
It will appear like this in your post:
--- Code: ---[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
--- End code ---
Code Tags serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.
Rich:
Hi opa
Try running it like this:
--- Code: ---mpg123 "http://liveradio.swr.de/sw282p3/swr3/play.mp3"
--- End code ---
http instead of https.
Rich:
Hi opa
If you need https, you can try something like this:
--- Code: ---wget -O - "https://liveradio.swr.de/sw282p3/swr3/play.mp3" | mpg123 -
--- End code ---
[Edit]: Fixed typo. Rich
opa:
Hello Rich,
thank you for the quick response. Problem solved. Playing http-stream is okay.
Navigation
[0] Message Index
[#] Next page
Go to full version