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
0ce497b1
Commit
0ce497b1
authored
Jan 28, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
cf623722
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
media.class.php
media.class.php
+2
-0
No files found.
media.class.php
View file @
0ce497b1
...
@@ -194,6 +194,7 @@ class Media {
...
@@ -194,6 +194,7 @@ class Media {
break
;
break
;
case
"Video"
:
case
"Video"
:
$array
[
"width"
]
=
trim
(
str_replace
(
" "
,
""
,
str_replace
(
"pixels"
,
""
,
$value
[
"Width"
])));
$array
[
"width"
]
=
trim
(
str_replace
(
" "
,
""
,
str_replace
(
"pixels"
,
""
,
$value
[
"Width"
])));
//TODO Resolution aus diesen werten neusetzen
$array
[
"height"
]
=
trim
(
str_replace
(
" "
,
""
,
str_replace
(
"pixels"
,
""
,
$value
[
"Height"
])));
$array
[
"height"
]
=
trim
(
str_replace
(
" "
,
""
,
str_replace
(
"pixels"
,
""
,
$value
[
"Height"
])));
break
;
break
;
case
"Audio"
:
case
"Audio"
:
...
@@ -348,6 +349,7 @@ class Media {
...
@@ -348,6 +349,7 @@ class Media {
foreach
(
$Arr
AS
$Key
=>
$Value
){
foreach
(
$Arr
AS
$Key
=>
$Value
){
if
(
is_dir
(
$dir
.
'/'
.
$Value
)
AND
!
in_array
(
$Value
,
$this
->
config
[
"FolderIgnor"
])){
if
(
is_dir
(
$dir
.
'/'
.
$Value
)
AND
!
in_array
(
$Value
,
$this
->
config
[
"FolderIgnor"
])){
$SubDir
=
$this
->
dirtoArray
(
$dir
.
'/'
.
$Value
,
$root
.
'/'
.
$Value
);
$SubDir
=
$this
->
dirtoArray
(
$dir
.
'/'
.
$Value
,
$root
.
'/'
.
$Value
);
echo
$dir
.
' / '
.
$Value
.
" "
.
$root
.
' / '
.
$Value
;
}
}
else
{
else
{
$this
->
FolderArray
[]
=
array
(
$root
,
$Value
);
$this
->
FolderArray
[]
=
array
(
$root
,
$Value
);
...
...
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