Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
c155e50a
Commit
c155e50a
authored
Feb 09, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
9b812fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
api.class.php
api.class.php
+7
-10
No files found.
api.class.php
View file @
c155e50a
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment