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
f3be215f
Commit
f3be215f
authored
Feb 25, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update an Hilfe
parent
bf4144bb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
media.class.php
media.class.php
+3
-1
media.php
media.php
+9
-9
No files found.
media.class.php
View file @
f3be215f
...
...
@@ -168,7 +168,7 @@ class Media {
echo
" Film wurde nicht Aktualisiert"
.
PHP_EOL
;
}
//NFO
$this
->
GenerateNFO
(
$array
,
$Pfad
.
$FilenameOrg
);
//TODO auf true für md5!!!
$this
->
GenerateNFO
(
$array
,
$Pfad
.
$FilenameOrg
);
}
else
if
(
$action
==
"checkmd5"
){
if
(
$this
->
updateMovie
(
$array
,
$Pfad
.
$FilenameOrg
,
true
,
true
)){
...
...
@@ -176,6 +176,8 @@ class Media {
}
else
{
echo
"Film wurde geprüft, keine Änderung"
.
PHP_EOL
;
}
//NFO
$this
->
GenerateNFO
(
$array
,
$Pfad
.
$FilenameOrg
);
}
}
$end
=
time
();
...
...
media.php
View file @
f3be215f
...
...
@@ -13,8 +13,8 @@ do{
echo
" filme Filme aus einen Verzeichnis zur DB hinzufügen"
.
PHP_EOL
;
echo
" einlesen (1) Filme einlesen "
.
PHP_EOL
;
echo
"
update (3) Filme updaten ohne md5
"
.
PHP_EOL
;
echo
" check
Filme überprüfen mit md5
"
.
PHP_EOL
;
echo
"
check (3) Filme überprüfen ohne md5, mit nfo
"
.
PHP_EOL
;
echo
" check
md5 Filme überprüfen mit md5, mit nfo
"
.
PHP_EOL
;
//echo " nfo nfo Datei zu jeden film schreiben".PHP_EOL;
echo
" cover (2) Läd die Cover herrunter!"
.
PHP_EOL
;
echo
" clean Löscht alle Cachedateien!"
.
PHP_EOL
;
...
...
@@ -22,7 +22,7 @@ do{
//echo " missing Läd fehlende Cover neu herrunter".PHP_EOL;
echo
" config show Zeigt die Konfiguration an!"
.
PHP_EOL
;
echo
" config save Speichert die Konfiguration!"
.
PHP_EOL
;
echo
" exit
b
eendet das Programm"
.
PHP_EOL
.
PHP_EOL
;
echo
" exit
B
eendet das Programm"
.
PHP_EOL
.
PHP_EOL
;
echo
"Bitte Befehl eingeben: "
;
$name
=
trim
(
fgets
(
STDIN
));
$Console
->
clearscreen
();
...
...
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