-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
executable file
·63 lines (52 loc) · 2.27 KB
/
__init__.py
File metadata and controls
executable file
·63 lines (52 loc) · 2.27 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
"""
File Comparison Tool
-------------------
A tool for comparing video files between directories.
Usage:
file_compare.py [-h] [-f {json,txt,csv,html}] [-m {normal,proxy,proxyadv}] [-o OUTPUT] path1 path2
Options:
-h, --help show this help message and exit
-f {json,txt,csv,html}, --format {json,txt,csv,html}
default: txt
-m {normal,proxy,proxyadv}, --mode {normal,proxy,proxyadv}
normal: compare all files by basename.extension |
proxy: compare video files by basename only |
proxyadv: proxy mode with frame count verification (requires mediainfo)
-o OUTPUT, --output OUTPUT
Output file name (default:
comparison_results_[datetime].[format])
New in v1.1.0:
Multiple directory comparison support
- python file_compare.py "/dir1+/dir2" "/dir3"
- python file_compare.py "/dir1+/dir2+/dir3" "/dir4+/dir5"
- Use '+' to combine multiple directories into a single comparison group.
New in v1.1.1:
Fixed character encoding issues for non-ASCII filenames
- HTML output now properly displays Chinese/Unicode characters in Safari
- Added UTF-8 BOM to HTML files for better browser compatibility
- Improved CSV encoding for Excel compatibility
New in v1.1.2:
Displays the absolute path of output file
New in v1.1.3:
Fixed system directory skipping ($RECYCLE.BIN, .Trash, etc.)
- Properly excludes files in Windows Recycle Bin and other system directories
- Improved directory traversal to skip system folders entirely
New in v1.2.0:
Advanced proxy comparison mode
- Use -m proxyadv to enable frame count verification
- Detects incomplete or corrupted proxy files
- Reports frame count mismatches between original and proxy files
- Requires mediainfo CLI tool to be installed
New in v1.3.0:
Simplified mode selection
- Removed -a/--adv/--advanced flag
- Advanced proxy mode is now directly selectable with -m proxyadv
- Cleaner command-line interface
New in v1.4.0:
- Support for multiple export formats simultaneously
- Removed -o/--output flag
New in v1.4.1:
Fixed none frame count issue in proxyadv mode
"""
__version__ = "1.4.1"
__author__ = 'userprojekt'