Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBPythonScripte
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
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
MediaDBPythonScripte
Commits
535b3ebf
Commit
535b3ebf
authored
Feb 22, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
c573eaf5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
media.class.php
media.class.php
+5
-1
No files found.
media.class.php
View file @
535b3ebf
...
@@ -32,6 +32,7 @@ class Media {
...
@@ -32,6 +32,7 @@ class Media {
"ApiKeys"
=>
array
(
"Fanart_Key"
=>
"9902c9197f457401ff7a7eba839213ba"
,
"ApiKeys"
=>
array
(
"Fanart_Key"
=>
"9902c9197f457401ff7a7eba839213ba"
,
"Tmdb_Key"
=>
"b1ddcc7d16281ce09f692896f882ba9d"
),
"Tmdb_Key"
=>
"b1ddcc7d16281ce09f692896f882ba9d"
),
"FolderIgnor"
=>
array
(
'.'
,
'..'
,
'.@__thumb'
,
'@Recycle'
),
"FolderIgnor"
=>
array
(
'.'
,
'..'
,
'.@__thumb'
,
'@Recycle'
),
"FileEndungIgnor"
=>
array
(
'jpg'
,
'nfo'
),
"HDD"
=>
array
(
1
=>
array
(
"HDDdir"
=>
"/media/QNAP/"
,
"HDD"
=>
array
(
1
=>
array
(
"HDDdir"
=>
"/media/QNAP/"
,
"Filme"
=>
"Filme/"
,
"Filme"
=>
"Filme/"
,
"3D"
=>
"Filme3D/"
,
"3D"
=>
"Filme3D/"
,
...
@@ -721,9 +722,12 @@ class Media {
...
@@ -721,9 +722,12 @@ class Media {
}
}
else
{
else
{
//TODO Dateiendungen ignorieren einbauen!! z.b. jpg und nfo
//TODO Dateiendungen ignorieren einbauen!! z.b. jpg und nfo
$Endung
=
trim
(
substr
(
$Value
,
strripos
(
$FilenameOrg
,
"."
)
+
1
));
if
(
!
in_array
(
$Endung
,
$this
->
config
[
"FileEndungIgnor"
])
){
$this
->
FolderArray
[]
=
array
(
$root
,
$Value
);
$this
->
FolderArray
[]
=
array
(
$root
,
$Value
);
}
}
}
}
}
return
$this
->
FolderArray
;
return
$this
->
FolderArray
;
}
}
private
function
jsonCacheDecoder
(
$url
){
private
function
jsonCacheDecoder
(
$url
){
...
...
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