-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
39 lines (25 loc) · 846 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
ini_set("display_errors", 1);
include 'App/System/Folder.class.php';
include 'App/System/File.class.php';
include 'App/Series/EpisodeFile.class.php';
include 'App/Series/Decorator.class.php';
include 'App/Series/FormattedEpisodeFile.class.php';
include 'App/Series/FormattedSeasonFolder.class.php';
include 'App/Series/Worker.class.php';
echo '<pre>';
$sourcePath = '/media/mcnulty/#series/spremi/';
$targetPath = '/media/mcnulty/#series/sorted/';
$sourcePath = '/vagrant/serije/source/';
$targetPath = '/vagrant/serije/target/';
$objSourceFolder = new App\System\Folder($sourcePath);
$objTargetFolder = new App\System\Folder($targetPath);
$z = new App\Series\Worker($objSourceFolder, $objTargetFolder);
$z->test();
/*
breaking.bad.s03e12.720p.hdtv.x264-ctu.mkv
touch.102.hdtv-lol.mp4
Touch.S01E01.HDTV.XviD-LOL.avi
*/
?>
END