Commit Graph

126 Commits

Author SHA1 Message Date
Timmy Welch
582224abec Fixes for quick-tag 2024-09-12 11:51:38 -07:00
Timmy Welch
fab30f3f29 Add experimental quick-tag 2024-08-18 19:16:55 -07:00
Timmy Welch
8cb1140614 Fix rename of read_all_tags Fixes #659
Fix --skip-existing-tags Fixes #658
2024-06-23 15:09:11 -07:00
Timmy Welch
e452fa153b Fix issues from static analysis 2024-06-22 20:21:01 -07:00
Timmy Welch
3389c72a63 Merge branch 'help-messages' into develop 2024-06-21 19:53:30 -07:00
Timmy Welch
69a9566f42 Update all references of saved 'matadata' to 'tags' 2024-06-20 16:47:10 -07:00
Timmy Welch
6351afb36c Add an option to prefer filename metadata on the CLI fixes #630 2024-06-08 19:12:38 -07:00
Timmy Welch
0198eb9e2b Fix saving merge settings 2024-06-06 20:41:21 -07:00
Mizaki
a4941a93f0 Use combined md with -i on CLI 2024-06-01 00:45:59 +01:00
Timmy Welch
32b570ee5b Improve help messages
Include default values
2024-05-21 19:57:47 -07:00
Timmy Welch
e864e2db48 Re-arrange settings 2024-05-21 19:57:47 -07:00
Mizaki
6c3b63abd9 Add option for merge lists and fix saving overlay options in settings window 2024-05-11 22:08:49 +01:00
Mizaki
3d443e0908 lordwelch rewrite 2024-05-11 02:04:43 +01:00
Mizaki
2faac18597 norm_fold out of loop for add_credit. Explicit overlay mode for CLI metadata. 2024-05-11 02:02:01 +01:00
Mizaki
e9a592df50 GUI overlay settings moved to internal namespace and CLI args added 2024-05-11 02:02:01 +01:00
Mizaki
62240bf2f4 Add OverlayMode options for read style and data source 2024-05-11 02:02:01 +01:00
Mizaki
ffb4efbcd7 GUI overlay settings moved to internal namespace and CLI args added 2024-05-11 02:01:59 +01:00
Mizaki
8b0683f67c Add OverlayMode options for read style and data source 2024-05-11 01:56:06 +01:00
Mizaki
0bbdaa96cf Split command line `--type arg into --type-modify for modify styles and --type-read for read styles 2024-04-29 00:51:40 +01:00
Mizaki
29dc7ad830 Use multi-read styles. Table combo box style improvements. Tooltips 2024-04-29 00:40:41 +01:00
Timmy Welch
8b4bf8d51f Allow preserving the original filename when moving 2024-04-27 19:25:33 -07:00
Timmy Welch
064795fac9 Fix prepare_metadata 2024-04-27 16:43:51 -07:00
Timmy Welch
a681abb854 Consolidate preparing metadata for save 2024-04-27 15:29:34 -07:00
Timmy Welch
244cd9101d Remove commented code 2024-03-09 13:46:51 -08:00
Timmy Welch
5155762711 Add comicfn2dict as an alternative filename parser 2024-03-03 21:47:31 -08:00
Timmy Welch
4e75731024 Re-write IssueIdentifier.search as IssueIdentifier.identify 2024-02-23 20:47:04 -08:00
Timmy Welch
fbe56f4db9 Remove unnecessary dest arguments in settings 2024-01-22 17:00:59 -08:00
Timmy Welch
085543321a cbxClearFormBeforePopulating not working 2024-01-22 16:50:15 -08:00
Timmy Welch
db00736f58 Fix filename parsing not respecting user settings 2023-12-25 21:57:31 -08:00
Timmy Welch
9c231d7e11 Add better page info handling
Rename set_default_page_list to apply_default_page_list and apply
 during read_metadata
Add a filename attribute to the ImageMetadata class
Mark image_index as required
Always sort the page name list, a comic application will never need the
 unsorted list of names
Assign the first result from get_cover_page_index_list to coverImage in
 CoMet tags
Allow an Archiver to be passed to the ComicArchive constructor
2023-12-18 02:37:34 -08:00
Timmy Welch
ae5e246180 Add plugin support for metadata 2023-12-17 21:47:43 -08:00
Timmy Welch
50859d07c4 Set the return code to 3 if any results are not successful 2023-12-17 18:17:19 -08:00
Timmy Welch
04bf7f484e Ensure IssueIdentifier output goes to the right place 2023-12-17 18:10:18 -08:00
Timmy Welch
4c1247f49c Print the summary even if quiet mode is enabled 2023-12-17 18:03:25 -08:00
Timmy Welch
17a8513efc Disable json output in interactive mode 2023-12-17 17:56:12 -08:00
Timmy Welch
7ada13bcc3 Remove unnecessary print statements 2023-12-17 17:35:21 -08:00
Timmy Welch
45643cc594 Add integration tests 2023-12-17 16:24:32 -08:00
Timmy Welch
ab6b970063 Create an Action tuple for determining the current command 2023-12-17 16:16:21 -08:00
Timmy Welch
bb67ab009e Ensure that all output goes through a logger before output to the user
Adds an option to output json for CLI options
2023-12-17 15:51:43 -08:00
Timmy Welch
9dc6f8914f Upgrade settings to 0.8.0 2023-11-19 23:14:40 -08:00
Timmy Welch
3ade47a7e0 Convert bytes to str when printing raw tags. Fixes #510 2023-09-05 04:05:20 -04:00
Timmy Welch
05e6eaf88e Update setting group names
Make group names presentable to users and add builtin plugins during namespace generation.
Revamp talkeruigenerator.py to use generated group and setting names and remove as much hard-coded strings as possible
Add a --list-plugins commandline option
2023-09-05 03:55:12 -04:00
Timmy Welch
2c3a2566cc Convert ComicIssue into GenericMetadata
I could not find a good reason for ComicIssue to exist other than that
 it had more attributes than GenericMetadata, so it has been replaced.
New attributes for GenericMetadata:
  series_id:        a string uniquely identifying the series to tag_origin
  series_aliases:   alternate series names that are not the canonical name
  title_aliases:    alternate issue titles that are not the canonical name
  alternate_images: a list of urls to alternate cover images

Updated attributes for GenericMetadata:
  genre        -> genres:        str -> list[str]
  comments     -> description:   str -> str
  story_arc    -> story_arcs:    str -> list[str]
  series_group -> series_groups: str -> list[str]
  character    -> characters:    str -> list[str]
  team         -> teams:         str -> list[str]
  location     -> locations:     str -> list[str]
  tag_origin   -> tag_origin:    str -> TagOrigin (tuple[str, str])

ComicSeries has been relocated to the ComicAPI package, currently has no
 usage within ComicAPI.
CreditMetadata has been renamed to Credit and has replaced Credit from
 ComicTalker.
fetch_series has been added to ComicTalker, this is currently only used
 in the GUI when a series is selected and does not already contain the
 needed fields, this function should always be cached.

A new split function has been added to ComicAPI, all uses of split on
 single characters have been updated to use this

cleanup_html and the corresponding setting are now only used in
 ComicTagger proper, for display we want any html directly from the
 upstream. When applying the metadata we then strip the description of
 any html.

A new conversion has been added to the MetadataFormatter:
  j: joins any lists into a string with ', '. Note this is a valid
     operation on strings as well, it will add ', ' in between every
     character.

parse_settings now assigns the given ComicTaggerPaths object to the
 result ensuring that the correct path is always used.
2023-08-02 09:00:04 -07:00
Timmy Welch
783e10a9a1 Generate a namespace object for typing settngs 2023-06-09 16:20:00 -07:00
Mizaki
92e2cb42e8 Replace instances of Comic Vine to use the talker's name 2023-06-01 22:05:14 +01:00
Timmy Welch
b8065e0f10 Fix #470 re-add notes when using --clear-metadata 2023-05-30 21:36:33 -07:00
Mizaki
70d544b7bd Add attrib at the end of the CLI file run 2023-05-15 16:46:31 +01:00
Mizaki
c583f63c8c Attribution for metadata provider on command line 2023-05-14 23:39:23 +01:00
Timmy Welch
1dc93c351d
Update settngs to typed version fixes #453 2023-04-25 16:00:04 -07:00
Timmy Welch
33796aa475
Fix #447 2023-04-06 10:48:40 -07:00