CAST playing PLS Streams ?
CAST playing PLS Streams ?
Hi Rob
Great program
I was wondering if it would be possible for CAST to play url's of podcasts or radio streams at all ?
Eg: Something from here : https://www.internet-radio.com/
Thanks for your time !
Rog ...
Great program
I was wondering if it would be possible for CAST to play url's of podcasts or radio streams at all ?
Eg: Something from here : https://www.internet-radio.com/
Thanks for your time !
Rog ...
Re: CAST playing PLS Streams ?
You need to fiddle around with the url a bit, but yes you can do this.
First, you need to get the url, here is how you can do that:
On the internet-radio website, right click on a .pls link and select ‘Copy link address’
Once done the following will be put into your windows clipboard, for example:
next, paste that into some text file, and shorten the url to the portion in yellow below, also replacing the “.pls” with “.wav” so that
becomes
Finally, as an example, here’s the command I used to cast the station to my google home (named "Rob's office speaker")
(if you don’t supply the -device parm then it will cast to all your devices (except your PC speakers)
Please note the quotes around the url are important.
Also, its the first few numbers and letters between the http:// and .internet radio that seems to select the particular station to stream.
Hope this helps.
Rob
First, you need to get the url, here is how you can do that:
On the internet-radio website, right click on a .pls link and select ‘Copy link address’
Once done the following will be put into your windows clipboard, for example:
Code: Select all
https://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://us4.internet-radio.com:8266/listen.pls&t=.pls
Code: Select all
https://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://uk7.internet-radio.com:8226/listen.pls&t=.pls
Code: Select all
http://us4.internet-radio.com:8266/listen.wav
(if you don’t supply the -device parm then it will cast to all your devices (except your PC speakers)
Code: Select all
cast -device "Rob's office speaker" -url “http://us4.internet-radio.com:8266/listen.wav”
Also, its the first few numbers and letters between the http:// and .internet radio that seems to select the particular station to stream.
Hope this helps.
Rob
Re: CAST playing PLS Streams ?
Hi Rob.
Thanx for the reply.
I tried your example above but get an error message for it (without the device parm)
I tried :
cast -url “http://us4.internet-radio.com:8266/listen.wav”
But it returns ...
Warning: url value must end with: ".mp3", ".mp4", or ".wav"; switch will be ignored
Error: invalid switch: -radio.com:8266/listen.wav"
I don't think it likes the hyphen (?). I use Win 7 x64 and from a command line.
Also, the forum has truncated your above example.
https://www.internet-radio.com/servers/ ... pls&t=.pls
However, if you use the CODE tags, it won't do that.
Thus:
Edit - I've been messing with Push2Run and will post some Cards here.
Rog ...
Thanx for the reply.
I tried your example above but get an error message for it (without the device parm)
I tried :
cast -url “http://us4.internet-radio.com:8266/listen.wav”
But it returns ...
Warning: url value must end with: ".mp3", ".mp4", or ".wav"; switch will be ignored
Error: invalid switch: -radio.com:8266/listen.wav"
I don't think it likes the hyphen (?). I use Win 7 x64 and from a command line.
Also, the forum has truncated your above example.
https://www.internet-radio.com/servers/ ... pls&t=.pls
However, if you use the CODE tags, it won't do that.
Thus:
Code: Select all
https://www.internet-radio.com/servers/tools/playlistgenerator/?u=http://uk7.internet-radio.com:8226/listen.pls&t=.pls
Rog ...
Re: CAST playing PLS Streams ?
Hi Warrior,
Thanks for the tip re the code tag.
The following works fine for me:
The error that you get reported is exactly what you would get if you don't surround the actual url with quotes. Can you double check that you have done that?
Thanks for the tip re the code tag.
The following works fine for me:
Code: Select all
cast -url “http://us4.internet-radio.com:8266/listen.wav”
Re: CAST playing PLS Streams ?
I did have it is quotes :
Re: CAST playing PLS Streams ?
Can you please check that you are using the most current version of the program, version 1.2, release July 21, 2018 which was downloaded from the website - https://www.rlatour.com/cast/index.html?cast
as the command is working for me:
(Although right now - Sunday morning at 8am - the internet-radio service itself doesn't seem to be working)
To check the version of the program you are using, please just type:
cast -about
as the command is working for me:
(Although right now - Sunday morning at 8am - the internet-radio service itself doesn't seem to be working)
To check the version of the program you are using, please just type:
cast -about
Re: CAST playing PLS Streams ?
Wait - I think I found it.
Hang on ...
================
Edit - Bingo
I copied and pasted your text from above.
The text you posted has invalid quotation marks in it. They appear as blocks and thus make it fail.
I retyped it in using quotes from my keyboard and away it went. Try copying and pasting your text from above and it'll fail.
Anyway, fixed now.
Hang on ...
================
Edit - Bingo
I copied and pasted your text from above.
The text you posted has invalid quotation marks in it. They appear as blocks and thus make it fail.
I retyped it in using quotes from my keyboard and away it went. Try copying and pasting your text from above and it'll fail.
Anyway, fixed now.
Re: CAST playing PLS Streams ?
ok - glad it's working.
Enjoy!
Enjoy!
Re: CAST playing PLS Streams ?
Yeah works well now for those internet stations.
I am trying to get my own radio station streaming on it now - It says it's streaming, and Google Home says it's playing, but there's no sound.
The sound works from other stations - Just not my station.
I normally stream my station via a pls link into Winamp.
Maybe a Google Home issue ?
Network received: 210061 bytes
Server: SHOUTcast Distributed Network Audio Server/win32 v1.9.7
Content-Type: audio/aacp
Metadata received: 89 bytes
Metadata interval: 8192 bytes
Stream name: Fm One
Current title: Presidents of the USA - Shortwave
I am trying to get my own radio station streaming on it now - It says it's streaming, and Google Home says it's playing, but there's no sound.
The sound works from other stations - Just not my station.
I normally stream my station via a pls link into Winamp.
Maybe a Google Home issue ?
Network received: 210061 bytes
Server: SHOUTcast Distributed Network Audio Server/win32 v1.9.7
Content-Type: audio/aacp
Metadata received: 89 bytes
Metadata interval: 8192 bytes
Stream name: Fm One
Current title: Presidents of the USA - Shortwave