How to get metadata from play.stream

If doesn't fit into any other category ....
Post Reply
User avatar
PANNO
Posts: 115
Joined: Thu Feb 25, 2021 4:03 am
Has thanked: 125 times
Been thanked: 26 times

How to get metadata from play.stream

Post by PANNO »

'
wlog "slayradio"
print "slayradio"
play.setup 1,65
onplay laut
play.stream "http://relay1.slayradio.org:8100/",15000

pause 999999


laut:???
print play.message$
print "-----"
?????

works only at start ?

thx
User avatar
PeterN
Posts: 375
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 176 times
Been thanked: 212 times
Contact:

Re: How to get metadata from play.stream

Post by PeterN »

Good Morning

C64 remix was a new experience for me :-)))
On an ESP32 with an I2S-DAC I suggest this code:

Code: [Local Link Removed for Guests]

wlog "slayradio"
print "slayradio"
'  play.setup 1,65
play.setup 1,64  	'############
play.volume 50  	'############ only for me :-))
onplay laut
play.stream "http://relay1.slayradio.org:8100/",15000

'  pause 999999
wait  			 '############
END  			 '############


'  laut:???
laut:
print play.message$
print "-----"
'  ?????
return   			'############


Hope that may help you
User avatar
PANNO
Posts: 115
Joined: Thu Feb 25, 2021 4:03 am
Has thanked: 125 times
Been thanked: 26 times

Re: How to get metadata from play.stream

Post by PANNO »

thx ;

works fine. i think i try "return" last night but i dont know :oops:
even now i know "wait" :lol:

thx for the fast answer .


btw: Slayradio is great amd have some great Remixes also.
Post Reply