diff --git a/html/web_radio.html b/html/web_radio.html new file mode 100644 index 00000000..bda3ba11 --- /dev/null +++ b/html/web_radio.html @@ -0,0 +1,22 @@ + + + + +
+ + + + + + + + + + + +
Select a radio station
Pandora
Grooveshark
+ + + + + diff --git a/ocarina/body.py b/ocarina/body.py index 3152c54f..02a090c7 100644 --- a/ocarina/body.py +++ b/ocarina/body.py @@ -61,7 +61,9 @@ def init(): def init_page(page_name): page = prefs.init_pref("ocarina.body.page", page_name) - child = contents[page] + child = contents.get(page, None) + if child == None: + child = contents.get(page_name) num = body.page_num(child) body.set_current_page(num) child.visible()