Re: [Astlinux-users] Streaming music player

2023-02-22 Thread Michael Knill
Whoops that's embarrassing. Glad I asked. Thanks guys.

Regards 
Michael Knill 


On 23/2/2023, 12:20 am, "Lonnie Abelbeck" mailto:li...@lonnie.abelbeck.com>> wrote:


> On Feb 22, 2023, at 2:36 AM, Michael Keuter  > wrote:
> 
> 
> 
>> Am 22.02.2023 um 02:29 schrieb Michael Knill 
>> > >:
>> 
>> Hi Guys
>> 
>> Everything I read mentions that mpg123 is required for this but it does not 
>> appear to be in Astlinux.
>> Could I just add the binary to /mnt/kd/bin do you think?
>> 
>> Regards
>> 
>> Michael Knill
>> Managing Director
> 
> Hi Michael,
> 
> you can easily use "sox" instead of "mpg123" for streaming. Like:
> 
> 
> wget -q -O - $URL | sox -t mp3 $FOPTS - -t raw -r 8000 -c 1 -
> 
> 
> Michael
> http://www.mksolutions.info 


Agreed, sox supports more encoding types than mpg123, IIRC.


This wiki entry has some good tidbits...


External Music on Hold Source
https://doc.astlinux-project.org/userdoc:tt_external_moh_source 





Lonnie








___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net 

https://lists.sourceforge.net/lists/listinfo/astlinux-users 



Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org .




___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Streaming music player

2023-02-22 Thread Michael Keuter



> Am 22.02.2023 um 14:19 schrieb Lonnie Abelbeck :
> 
> 
> 
>> On Feb 22, 2023, at 2:36 AM, Michael Keuter  wrote:
>> 
>> 
>> 
>>> Am 22.02.2023 um 02:29 schrieb Michael Knill 
>>> :
>>> 
>>> Hi Guys
>>> 
>>> Everything I read mentions that mpg123 is required for this but it does not 
>>> appear to be in Astlinux.
>>> Could I just add the binary to /mnt/kd/bin do you think?
>>> 
>>> Regards
>>> 
>>> Michael Knill
>>> Managing Director
>> 
>> Hi Michael,
>> 
>> you can easily use "sox" instead of "mpg123" for streaming. Like:
>> 
>> 
>> wget -q -O - $URL | sox -t mp3 $FOPTS - -t raw -r 8000 -c 1 -
>> 
>> 
>> Michael
>> http://www.mksolutions.info
> 
> Agreed, sox supports more encoding types than mpg123, IIRC.
> 
> This wiki entry has some good tidbits...
> 
> External Music on Hold Source
> https://doc.astlinux-project.org/userdoc:tt_external_moh_source
> 
> 
> Lonnie

Cool, complete forgot about that old Wiki entry.

Michael

http://www.mksolutions.info





___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Streaming music player

2023-02-22 Thread Lonnie Abelbeck



> On Feb 22, 2023, at 2:36 AM, Michael Keuter  wrote:
> 
> 
> 
>> Am 22.02.2023 um 02:29 schrieb Michael Knill 
>> :
>> 
>> Hi Guys
>> 
>> Everything I read mentions that mpg123 is required for this but it does not 
>> appear to be in Astlinux.
>> Could I just add the binary to /mnt/kd/bin do you think?
>> 
>> Regards
>> 
>> Michael Knill
>> Managing Director
> 
> Hi Michael,
> 
> you can easily use "sox" instead of "mpg123" for streaming. Like:
> 
> 
> wget -q -O - $URL | sox -t mp3 $FOPTS - -t raw -r 8000 -c 1 -
> 
> 
> Michael
> http://www.mksolutions.info

Agreed, sox supports more encoding types than mpg123, IIRC.

This wiki entry has some good tidbits...

External Music on Hold Source
https://doc.astlinux-project.org/userdoc:tt_external_moh_source


Lonnie




___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


Re: [Astlinux-users] Streaming music player

2023-02-22 Thread Michael Keuter



> Am 22.02.2023 um 02:29 schrieb Michael Knill 
> :
> 
> Hi Guys
>  
> Everything I read mentions that mpg123 is required for this but it does not 
> appear to be in Astlinux.
> Could I just add the binary to /mnt/kd/bin do you think?
>  
> Regards
>  
> Michael Knill
> Managing Director

Hi Michael,

you can easily use "sox" instead of "mpg123" for streaming. Like:


wget -q -O - $URL | sox -t mp3 $FOPTS - -t raw -r 8000 -c 1 -


Michael

http://www.mksolutions.info





___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.