18 Commits

Author SHA1 Message Date
ae369c0cd8 Move to new metadata model. 2019-11-08 19:40:21 -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
b77d61bbe6 Print movie length in human friendly time. 2019-11-04 20:23:45 -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
30b91e0323 Move testdata. 2019-10-28 17:52:36 -07:00
188ed88582 Use relative paths. 2019-10-27 21:13:57 -07:00
4430d88398 Initial testdata commit. 2019-10-27 21:11:16 -07:00
956808d14a Turn into a structopt driven CLI. Functioning samples command. 2019-10-27 18:03:37 -07:00
7285436f7e Initial commit.
Walks over all movie directories, pulls some metadata into a hashmap and
then pretty prints it.
2019-10-27 16:51:09 -07:00