26 Commits

Author SHA1 Message Date
d00d49135a Print suggested empty directory cleanup and clean lint. 2020-06-07 16:38:38 -07:00
18108b5d44 Print full path when suggesting moves. 2020-06-07 16:30:47 -07:00
334d2a5e53 Add empty-dirs verb to find movie directories with no movies. 2020-03-29 15:46:33 -07:00
6a52f3c5b1 Remove dead code. 2019-12-14 16:08:38 -08:00
0714ae6f2f Remove eprintln. 2019-12-14 16:07:35 -08:00
96819d2437 Handle dateless movies when dated movie present. 2019-12-14 10:26:54 -08:00
da717aeae1 Handle missing display_aspect_ratio and movies differing only in case. 2019-12-04 21:31:23 -08:00
4d0ce2cd13 Fix parsing when no channel_layout present in audio config. 2019-12-04 20:47:24 -08:00
7f00c90003 Filter out stale metadata entries. 2019-11-25 09:26:04 -08:00
150bdfddef Use bit rate instead of resolution in making dedup decision.
Keep lower resolution movie if it is higher bit rate.
2019-11-25 08:47:04 -08:00
974d9386fb Fix bug computing highest resolution video.
Update Command::PrintDupes.
2019-11-25 08:19:21 -08:00
8eafec7fd2 Collapse multipart movies into single Movie entity. 2019-11-24 11:01:46 -08:00
04585e8d24 Add is_multidisc, move big tests to separate module.
Started work on a method movie() that groups multipart movies together.
2019-11-23 08:30:07 -08:00
d2866bace7 Add a couple verbs and use tabwriter output. 2019-11-18 21:25:23 -08:00
13cc1b6d0d Lint and spelling cleanup. 2019-11-17 19:09:28 -08:00
55e6d65b1c Handle case of missing metadata.json. 2019-11-04 20:31:20 -08:00
75956dd1ff Remove stale TODOs. 2019-11-04 20:24:52 -08:00
297124eedb Use relative path when running ffprobe.
Avoids problems where directory name starts with something that looks
like and unknown protocol, i.e. 'AVP: Alien vs. Predator (2004)'
2019-11-03 21:21:15 -08:00
6f579326b5 Cleanup lint. 2019-11-03 21:05:06 -08:00
8b809060ec Fix sample command.
Add largest_dimension and unitest.
Use const for metadata filenames.
2019-11-03 20:59:31 -08:00
185c3cde2d Add update-compact-metadata verb. 2019-11-03 20:10:17 -08:00
8b6223627e Skip encoding for subtitles when empty. 2019-11-03 19:59:28 -08:00
1c7ee3cfcc Restructed compact format. Properly include video, audio and subtitles. 2019-11-03 19:39:26 -08:00
9cc6a46cf5 Initial compact implementation. 2019-11-03 07:34:36 -08:00
bf9d5b7c11 Use ffprobe to load per-file metadata.
Build single metadata.json for whole library.
Have basic load into struct, a subset of useful fields fromt metadata.json.
2019-11-02 22:09:50 -07:00
86fbf78a73 Move code to lib.rs, update testdata. 2019-10-28 18:03:14 -07:00