Commit c155e50a authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9b812fa0
......@@ -27,7 +27,7 @@ class MediaDBAPI{
private $Statistik = array("QueryCounter" => 0);
private $Querys;
private $Tabellen = array("Filme","Serien", "Staffeln", "Episoden"); //TODO Einbauen!!
private $SpaltenFilme = array("name", "imdbID", "3d", "year", "rating", "youtube", "resolution", "duration", "size", "hdd", "added", "lastView",
private $SpaltenFilme = array("name", "imdbID", "3d", "year", "rating", "fsk", "youtube", "resolution", "duration", "size", "hdd", "added", "lastView",
"Genre", "views", "checked", "width", "height", "totalbitrate", "vcodec","acodecger", "abitrateger", "channelsger", "acodeceng", "abitrateeng", "channelseng", "comment",
"md5" , "summary", "Schauspieler");
private $SpaltenEpisoden = array("episodenumber", "season_nr", "series_nr", "name", "source", "duration", "size", "hdd", "lastView", "added", "views", "checked",
......@@ -108,18 +108,15 @@ class MediaDBAPI{
//$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
//array_push($this->StatiViews, "");
}
if($this->API_Rechte >= 7){
$this->SpaltenFil = $this->SpaltenFilme;
$this->SpaltenEpi = $this->SpaltenEpisoden;
array_push($this->StatiViews, "watchStatistic", "belegterSpeicher", "freierSpeicher");
}
/*
* Platz für irgendwelche sondersachen....*/
if($this->API_Rechte >= 7){ // Einfacher Zugang mit allen Infos Also wann man Welchen FIlm gesehen hat usw.
//array_push($this->SpaltenFil, "checked", "views", "comment", "added", "lastView");
//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->SpaltenFil = $this->SpaltenFilme;
//$this->SpaltenEpi = $this->SpaltenEpisoden;
array_push($this->StatiViews, "watchStatistic", "belegterSpeicher", "freierSpeicher");
if($this->API_Rechte >= 10){ // Update rechte
$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