71 Commits

Author SHA1 Message Date
653e792bfd Switch to PyQt6 2025-06-18 17:24:37 -07:00
803768b33a Allow recording the original hash 2025-03-02 12:32:40 -08:00
0048901a61 Remove unused attributes 2024-07-27 19:23:37 -07:00
8cb1140614 Fix rename of read_all_tags Fixes #659
Fix --skip-existing-tags Fixes #658
2024-06-23 15:09:11 -07:00
3389c72a63 Merge branch 'help-messages' into develop 2024-06-21 19:53:30 -07:00
69a9566f42 Update all references of saved 'matadata' to 'tags' 2024-06-20 16:47:10 -07:00
0198eb9e2b Fix saving merge settings 2024-06-06 20:41:21 -07:00
5010ca60e9 Remove reduce_widget_font_size 2024-05-21 20:32:01 -07:00
14f2599ba1 fix auto tag window 2024-05-21 23:48:46 +01:00
6c3b63abd9 Add option for merge lists and fix saving overlay options in settings window 2024-05-11 22:08:49 +01:00
bada694fd4 Rebase corrections 2024-05-11 16:44:44 +01:00
e9a592df50 GUI overlay settings moved to internal namespace and CLI args added 2024-05-11 02:02:01 +01:00
62240bf2f4 Add OverlayMode options for read style and data source 2024-05-11 02:02:01 +01:00
ffb4efbcd7 GUI overlay settings moved to internal namespace and CLI args added 2024-05-11 02:01:59 +01:00
8b0683f67c Add OverlayMode options for read style and data source 2024-05-11 01:56:06 +01:00
6b8b961ff7 Report and/or log overlay tag style read errors 2024-05-06 19:40:38 +01:00
23ceda33bd fix self.load_data_styles name 2024-04-29 00:55:54 +01:00
73269c7c9d Add overlay_ca_read_style method to prevent duplicated code 2024-04-29 00:52:59 +01:00
f00cd1568c Clear cache on autotag rather than reloading 2024-04-29 00:51:44 +01:00
16088aec72 Covert missed self.load_data_styles to list 2024-04-29 00:45:15 +01:00
003b68b3d3 Renamewindow 2024-04-29 00:45:09 +01:00
29dc7ad830 Use multi-read styles. Table combo box style improvements. Tooltips 2024-04-29 00:40:41 +01:00
a681abb854 Consolidate preparing metadata for save 2024-04-27 15:29:34 -07:00
5155762711 Add comicfn2dict as an alternative filename parser 2024-03-03 21:47:31 -08:00
a6b60a4317 Simplify enabled widget check and reset cache before loading, break on failed metadata writing 2024-02-11 00:53:40 +00:00
23021ba632 Add support for saving multiple metadata styles in the GUI
Unwind credit color comprehension

Convert save style from a string setting to a list

Use lordwelch version of Checkable combobox

Improve readbility, fix label alignment in taggerwindow.ui, better report removal of tags and clearer number meanings.

Unwind list comprehension for easier readability
2024-02-10 01:55:15 +00:00
df762746ec [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-29 17:14:26 +00:00
ae5e246180 Add plugin support for metadata 2023-12-17 21:47:43 -08:00
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
1ff6f1768b Use importlib.resources instead of __file__ 2023-11-25 12:32:50 -08:00
9dc6f8914f Upgrade settings to 0.8.0 2023-11-19 23:14:40 -08:00
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
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
783e10a9a1 Generate a namespace object for typing settngs 2023-06-09 16:20:00 -07:00
2491999a33 Update copyright statements to ComicTagger Authors 2023-02-16 17:23:13 -08:00
4eb9e008ce Update pre-commit 2023-02-10 00:25:20 -08:00
e5b15abf91 clean up talker 2023-02-10 00:23:00 -08:00
ad68726e1d Use consistent naming for settings
config: always values
setting: always the definition/description not the value
2023-02-04 11:33:21 -08:00
1d9840913a Change all references of volume to series 2022-12-22 10:16:05 -08:00
440479da8c Update to settngs 0.3.0
Use the namespace instead of a dictionary
Cleanup setting names
2022-12-15 20:10:35 -08:00
103379e548 Split settings out into a separate package 2022-12-14 23:16:54 -08:00
19112ac79b Update Settings 2022-12-06 00:20:01 -08:00
b4f6820f56 remove_fetch_alternate_cover_urls.patch 2022-11-03 23:32:35 +00:00
8cac2c255f Merge branch 'develop' into infosources
# Conflicts:
#	comictaggerlib/comicvinetalker.py
#	comictaggerlib/coverimagewidget.py
#	comictaggerlib/main.py
#	comictaggerlib/pagebrowser.py
#	comictaggerlib/pagelisteditor.py
#	comictaggerlib/settings.py
#	comictaggerlib/settingswindow.py
2022-10-30 01:31:58 +01:00
561dc28044 Don't proxy talker (really this time). Remove talker custom logging. Move static_options and settings_options to root of class object. Temp hack to keep talker menu genration working until settings revamp. 2022-10-27 23:36:57 +01:00
aad83c8c03 Update PyInstaller usage
Switch to rapidfuzz from thefuzz
Add associations to macOS app bundle
2022-10-25 21:48:01 -07:00
c5ad75370f Work around having to scrape alt covers from CV. Use cache to get issue page url for scrape. 2022-10-24 16:30:58 +01:00
c9cd58fecb Remove fetch_issue_cover_urls and async_fetch_issue_cover_urls. Reduce API calls by using data already available with coverimagewidget. 2022-10-22 01:43:56 +01:00
00e95178cd Initial support for multiple comic information sources 2022-10-04 01:08:14 +01:00
62d927a104 Fix #308
Add null check when loading community_rating
Use iterators instead of while loops
2022-06-05 15:23:20 -07:00