diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/RoomSelection.php | 3 | ||||
-rw-r--r-- | model/RoomTab.php | 10 | ||||
-rw-r--r-- | model/Stream.php | 4 |
3 files changed, 16 insertions, 1 deletions
diff --git a/model/RoomSelection.php b/model/RoomSelection.php index c163321..9f0b16d 100644 --- a/model/RoomSelection.php +++ b/model/RoomSelection.php @@ -40,6 +40,9 @@ class RoomSelection case 'hd': return strtoupper($this->getSelection()); + case 'music': + return 'Radio'; + default: return ucfirst($this->getSelection()); } diff --git a/model/RoomTab.php b/model/RoomTab.php index d4f781b..f0338d2 100644 --- a/model/RoomTab.php +++ b/model/RoomTab.php @@ -29,6 +29,14 @@ class RoomTab public function getDisplay() { - return ucfirst($this->getTab()); + $tab = $this->getTab(); + switch($tab) + { + case 'music': + return 'Radio'; + + default: + return ucfirst($tab); + } } } diff --git a/model/Stream.php b/model/Stream.php index f9488a0..d2baa28 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -88,6 +88,10 @@ class Stream $display .= 'SD Video'; break; + case 'music': + $display .= 'Radio'; + break; + default: $display .= ucfirst($this->getSelection()); break; |