|
|
@ -105,7 +105,19 @@ class Audio(Bureau):
|
|
|
|
if data["addurl"]:
|
|
|
|
if data["addurl"]:
|
|
|
|
self.save_url(data["addurl"])
|
|
|
|
self.save_url(data["addurl"])
|
|
|
|
ret += "<div>New station " + data["addurl"] + " saved!</div>\n"
|
|
|
|
ret += "<div>New station " + data["addurl"] + " saved!</div>\n"
|
|
|
|
ret += "</body></html>"
|
|
|
|
ret += """
|
|
|
|
|
|
|
|
<form action='/AU/radio' method='POST'>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<label for="addurl">Add Radio Station URL:</label>
|
|
|
|
|
|
|
|
<input type="text" id="addurl" name="addurl" />
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="button">
|
|
|
|
|
|
|
|
<button type="submit">Save</button>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</body></html>"""
|
|
|
|
|
|
|
|
|
|
|
|
return ret
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
|
|