method to add and print radio stations

workspace
Brendan Howell 4 years ago
parent 9055646f4c
commit 6c7a7bffd9

@ -132,6 +132,7 @@ class Audio(Bureau):
"""
saves an url for a local file or network audio stream.
"""
# TODO: might be nice to save some station info: title, perhaps a logo, etc.
code = self.urldb.store_and_get_shortcode(url)
self.print_url(code)
print("saved url with shortcode: ", code)

Loading…
Cancel
Save