128 Commits

Author SHA1 Message Date
CDrummond
2d2ddc7b17 Don't crash if file has no tags.
Closes #33
2025-06-15 13:21:49 +01:00
CDrummond
4714f8f4ef Formatting 2025-05-26 17:57:25 +01:00
CDrummond
fd38256dc0 Handle both BLISS_ANALYSIS and bliss_analysis
Issue #31
2025-05-26 17:38:00 +01:00
CDrummond
b4eb7562cf Gracefully handle Ctrl-C. 2025-05-22 12:07:24 +01:00
CDrummond
c7d436c13b Spelling 2025-05-22 12:07:04 +01:00
CDrummond
6055fa2af7 Consistent status messages 2025-05-20 12:09:40 +01:00
CDrummond
0a1b9d8790 Formatting 2025-05-20 12:09:25 +01:00
CDrummond
4794a9b747 Remove --read-tags and --write-tags. Always read tags, so --tags just
controls writing.
Issue #29
2025-05-20 12:08:20 +01:00
CDrummond
de232d2a33 Use max of 16 significant digits (traling zeros stripped) when writing analysis results to file tags.
Issue #26
2025-05-19 12:07:28 +01:00
CDrummond
4830ef92b3 Make constant name more meaningful 2025-05-19 12:06:36 +01:00
CDrummond
520190c52e When writing new BLISS_ANALYSIS tag remove any old comment tags.
Issue #27
2025-05-19 12:06:01 +01:00
CDrummond
0250117b15 Add --read-tags and --write-tags commandline options.
Closes #25
2025-05-15 12:04:49 +01:00
CDrummond
d2b3db43f7 Move functions to where they belong. 2025-05-15 12:04:04 +01:00
CDrummond
2759f7f47c Multi-thread DB export.
Closes #24
2025-05-15 12:03:47 +01:00
CDrummond
a79712cb24 Check for multiple genre tags, and if found add as semi-colon separated list to DB. 2025-05-14 12:23:45 +01:00
CDrummond
5722b04c85 - Store analysis in BLISS_ANALYSIS tag, not in a COMMENT tag.
- Fix read of tags during analysis phase.
Closes #23
2025-05-13 12:25:50 +01:00
CDrummond
9d9117e8f7 Allow "export" !!! 2025-03-24 17:07:26 +00:00
CDrummond
417ac5f652 Add option to preserve file modification time when writing tags.
Issue #21
2025-03-24 07:17:51 +00:00
CDrummond
342440f04b Add action to export analysis results from DB to files.
Issue #20
2025-03-24 06:47:35 +00:00
CDrummond
2468a83d4b Reduce code duplication 2025-03-17 17:55:24 +00:00
CDrummond
0dda8a17e7 bliss-rs 0.10.0 2025-03-16 08:17:48 +00:00
CDrummond
2210c44614 Quiten symphonia log messages 2025-03-15 09:27:35 +00:00
CDrummond
e4522cc683 Add symphonia builds 2025-03-14 12:17:52 +00:00
CDrummond
6fd78df3ef Fix build 2025-03-09 13:26:39 +00:00
CDrummond
f23202e956 Document tags option 2025-03-09 13:26:21 +00:00
CDrummond
7ea6c3befd Add excplcit 'ffmpeg' feature flag. 2025-03-09 08:02:37 +00:00
CDrummond
302609ed1b Update lofty version 2025-03-05 19:10:47 +00:00
CDrummond
5e5bd9841a ...and use ffprobe when updating tags. 2025-03-05 18:43:05 +00:00
CDrummond
32610f22b7 Use ffprobe to read meta-data if not compiled against libav
Closes #18
2025-03-05 18:39:54 +00:00
CDrummond
751dca7091 Enable DSF support for libav builds 2025-03-05 17:58:19 +00:00
CDrummond
ac87ebb66c When saving anlysis results to a comment tag, remove any previous
results.
2025-03-05 17:40:25 +00:00
CDrummond
98b9cd61e0 Only stop when found correct BLISS_ANALYSIS comment 2025-03-05 17:37:51 +00:00
CDrummond
786b7d2c2d If log level set to 'trace' then set this level for the Bliss library too.
Issue #17
2025-03-05 17:09:52 +00:00
CDrummond
1e00e9593a Spelling 2025-03-05 17:01:48 +00:00
CDrummond
0d877fe79e Save analysis in a new COMMENT tag.
Closes #4
2025-03-04 21:57:06 +00:00
CDrummond
6cc26c399e Add option to write analysis results to files, and use for future scans.
Issue #4
2025-03-04 20:04:37 +00:00
CDrummond
bff4ba18b4 Update (C) year 2025-03-04 19:17:24 +00:00
CDrummond
6fc9ac7f2e Fix output format 2025-03-04 19:15:12 +00:00
CDrummond
3a387be3bf If new files analysed and 'ignore' file exists then update DB's 'ignore' flags.
Closes #9
2025-03-04 19:06:59 +00:00
CDrummond
2cb7dc0fa0 Add ability to specify LMS JSONRPC port.
Closes #16
2025-03-04 19:01:20 +00:00
CDrummond
a5db8f48ce Reduce duplication 2025-03-03 17:14:31 +00:00
CDrummond
136651ada7 Add cargo features flag to enable libav usage. 2025-03-03 17:06:09 +00:00
CDrummond
e5ef67f8c6 Sort directory items, and do limiting when collecting files to analyse. 2025-03-02 22:10:55 +00:00
CDrummond
6b9cb960a9 Add CUE support for commandline ffmpeg usage. 2025-03-02 20:57:59 +00:00
CDrummond
c6f9a7faf5 Only invoke "stty sane" if not Windows. 2025-03-02 20:56:47 +00:00
CDrummond
2ac4b9d17f Avoid pushing and reallocating all the time. 2025-03-02 17:29:17 +00:00
CDrummond
7071ea14e7 Reset terminal 2025-03-02 09:40:57 +00:00
CDrummond
e23aba88e3 Have ffmpeg output to a pipe, and read from that - saves creating temp
files.
2025-03-02 08:57:08 +00:00
CDrummond
5fa745975c Check ffmpeg is in PATH 2025-03-01 16:06:07 +00:00
CDrummond
22133436b9 Use 'ffmpeg' commandline to decode files, and not ffmpeg libraries. 2025-03-01 15:45:47 +00:00