CC-1665: Scheduled stream rebroadcasting and recording

-allow to filter by webstream only
This commit is contained in:
Martin Konecny 2012-08-03 16:33:58 -04:00
parent 3b25f676c9
commit b23b9a0cbd
2 changed files with 4 additions and 0 deletions

View file

@ -676,6 +676,9 @@ class Application_Model_StoredFile
case 3: case 3:
$fromTable = $blTable." AS Block"; //need an alias for the table if it's standalone. $fromTable = $blTable." AS Block"; //need an alias for the table if it's standalone.
break; break;
case 4:
$fromTable = $streamTable." AS StreamTable"; //need an alias for the table if it's standalone.
break;
default: default:
$fromTable = $unionTable; $fromTable = $unionTable;
} }

View file

@ -543,6 +543,7 @@ var AIRTIME = (function(AIRTIME) {
.append('<option value="1">Files</option>') .append('<option value="1">Files</option>')
.append('<option value="2">Playlists</option>') .append('<option value="2">Playlists</option>')
.append('<option value="3">Smart Playlists</option>') .append('<option value="3">Smart Playlists</option>')
.append('<option value="4">Web Streams</option>')
.end() .end()
.change(function(ev){ .change(function(ev){
oTable.fnDraw(); oTable.fnDraw();