Commit ca4d6b6e authored by Nico Schallehn's avatar Nico Schallehn

alle Filter erlauben

parent ac8756dc
......@@ -79,25 +79,25 @@ class MediaDBAPI{
if($this->API_Rechte >= 0){ // Standard Sachen die nicht Deaktivert werden dürfen.
array_push($this->SpaltenFil,"imdbID", "3d", "name", "year", "duration", "rating", "summary", "youtube", "fsk", "Genre", "Schauspieler");
array_push($this->SpaltenEpi,"episodenumber", "season_nr", "series_nr", "name", "duration");
$this->FilterEinf = array_merge($this->FilterEinf, array("imdbID" => "imdbID"));
$this->FilterKomp = array_merge($this->FilterKomp, array("Jahr" => "year", "Laufzeit" => "duration"));
$this->FilterAnde = array_merge($this->FilterAnde, array("Deutsch", "Englisch","Suche", "Youtube"));
$this->FilterEinf = $this->FilterEinfach;//array_merge($this->FilterEinf, array("imdbID" => "imdbID"));
$this->FilterKomp = $this->FilterKomplex;//array_merge($this->FilterKomp, array("Jahr" => "year", "Laufzeit" => "duration"));
$this->FilterAnde = $this->FilterAndere;//array_merge($this->FilterAnde, array("Deutsch", "Englisch","Suche", "Youtube"));
//array_push($this->StatiViews, "");
}
if($this->API_Rechte >= 2){ // Einfacher Zugang mit einigen Technischen Infos
array_push($this->SpaltenFil, "size", "resolution");
array_push($this->SpaltenEpi,"source", "size");
$this->FilterEinf = array_merge($this->FilterEinf, array("resolution" => "resolution"));
$this->FilterKomp = array_merge($this->FilterKomp, array( "Groesse" => "size"));
//$this->FilterEinf = array_merge($this->FilterEinf, array("resolution" => "resolution"));
//$this->FilterKomp = array_merge($this->FilterKomp, array( "Groesse" => "size"));
//array_push($this->StatiViews, "");
}
if($this->API_Rechte >= 3){ // Einfacher Zugang mit allen Technischen Infos
array_push($this->SpaltenFil, "md5", "hdd","acodecger", "acodeceng","vcodec","abitrateger","abitrateeng","channelsger","channelseng","width", "height", "totalbitrate");
array_push($this->SpaltenEpi,"md5", "hdd","acodecger", "acodeceng","vcodec","abitrateger","abitrateeng","channelsger","channelseng","width", "height", "totalbitrate");
$this->FilterEinf = array_merge($this->FilterEinf, array( "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"channelsger" => "channelsger", "channelseng" => "channelseng"));
$this->FilterKomp = array_merge($this->FilterKomp, array());
$this->FilterAnde = array_merge($this->FilterAnde, array());
/*$this->FilterEinf = array_merge($this->FilterEinf, array( "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"channelsger" => "channelsger", "channelseng" => "channelseng"));*/
//$this->FilterKomp = array_merge($this->FilterKomp, array());
//$this->FilterAnde = array_merge($this->FilterAnde, array());
//array_push($this->StatiViews, "");
}
if($this->API_Rechte >= 4){ // Einfacher Zugang mit allen Infos Also wann man Welchen FIlm gesehen hat usw.
......@@ -105,7 +105,7 @@ class MediaDBAPI{
array_push($this->SpaltenEpi, "checked", "views", "comment", "added", "lastView" );
/*$this->FilterEinf = array_merge($this->FilterEinf, array( "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"channelsger" => "channelsger", "channelseng" => "channelseng"));*/
$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
//$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
//array_push($this->StatiViews, "");
}
......@@ -116,7 +116,7 @@ class MediaDBAPI{
//array_push($this->SpaltenEpi, "checked", "views", "comment", "added", "lastView");
/*$this->FilterEinf = array_merge($this->FilterEinf, array( "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"channelsger" => "channelsger", "channelseng" => "channelseng"));*/
$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
//$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
array_push($this->StatiViews, "watchStatistic", "belegterSpeicher", "freierSpeicher");
$this->Update = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment