streaming - Python Radio Stream from URL -


i want able stream radio station using python, in particular on raspberry pi. i've found lots of diys raspberry pi radios, focus on bells , whistles input dials allow device mimic actual radio. want (and cannot seem able figure out) package function can pass url within script such play radio url amount of time. so, example, pseudocode be:

import package radio radio.play(url, playtime = 60) 

the radiopy package seeming should have feature, tutorial found focuses on using command line tool , can't find example of how use package in script in pseudocode above.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -