Commit Graph

79 Commits

Author SHA1 Message Date
Timmy Welch
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
Timmy Welch
d987a811e3
Consolidate plugin code 2023-02-03 20:13:58 -08:00
Mizaki
d12325b7f8 Simplify parse_settings. Prefix talker_ to group name. Add back setting CV key via commandline. Other small changes as requested. 2023-02-02 00:53:13 +00:00
Mizaki
94aabcdd40 Merge branch 'develop' into talker_settings
# Conflicts:
#	comictaggerlib/ctoptions/__init__.py
#	comictaggerlib/main.py
#	comictalker/talkers/comicvine.py
2023-02-01 23:38:13 +00:00
Timmy Welch
7c4e5b775b
Merge branch 'plugableArchivers' into develop 2023-01-31 19:44:07 -08:00
Timmy Welch
46899255c8
Generate settings for an archivers executable 2023-01-30 21:36:47 -08:00
Mizaki
6a650514fa Rename new settings talker methods. Move parse_settings for talkers to earlier and only pass talkers own settings. 2023-01-30 01:59:23 +00:00
Mizaki
0f10e6e848 Create simple dict of talkers with objects. Moved thresh setting back to talkers (general) as it is called outside of talker. 2023-01-26 00:52:02 +00:00
Mizaki
0d69ba3c49 Rename talkers_general to talkers. Moved plugin option register to own file. Due to chicken and egg, first get talker classes then create objects. 2023-01-25 19:10:58 +00:00
Timmy Welch
92eb79df71
Fix console_scripts entry point 2023-01-21 00:27:39 -08:00
Mizaki
100e0f2101 Load plugins in init. 2023-01-15 17:38:50 +00:00
Timmy Welch
f6698f7f0a
Call load_archive_plugins in ComicArchive __init__ 2023-01-12 17:00:11 -08:00
Timmy Welch
712986ee69
Turn comicapi.archivers.* into plugins 2023-01-12 14:45:49 -08:00
Timmy Welch
80f42fdc3f
Move log header to execute immediately after the log is configured 2023-01-12 14:43:12 -08:00
Mizaki
fad103a7ad Use setting option for talker selection 2023-01-07 00:29:12 +00:00
Mizaki
2d8c47edca Use new settings system for plugin 2023-01-02 01:04:15 +00:00
Timmy Welch
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
Timmy Welch
e5c3692bb9
Fail if an error occurs when loading settings 2022-12-15 18:58:53 -08:00
Timmy Welch
103379e548
Split settings out into a separate package 2022-12-14 23:16:54 -08:00
Timmy Welch
9aff3ae38e
Generalize settings
Add comments and docstrings
Create parent directories when saving
Add merging to normalize_options
Change get_option to return if the value is the default value
2022-12-06 00:22:49 -08:00
Timmy Welch
3f6f8540c4
Fix wait_and_retry_on_rate_limit 2022-12-06 00:20:27 -08:00
Timmy Welch
17d865b72f
Refactor cli.py into a class 2022-12-06 00:20:26 -08:00
Timmy Welch
82d737407f
Simplify --only-set-cv-key 2022-12-06 00:20:20 -08:00
Timmy Welch
d0719e7201
Fix log dir 2022-12-06 00:20:18 -08:00
Timmy Welch
19112ac79b
Update Settings 2022-12-06 00:20:01 -08:00
Timmy Welch
fc4eb4f002
Cleanup
Move most options passed in to ComicVineTalker to ComicTalker
Give ComicCacher and ComicTalker a version argument to remove all
  references to comictaggerlib
Update default arguments to reflect what is required to use these classes
2022-11-25 19:22:01 -08:00
Timmy Welch
0dede72692
Re-add --only-set-cv-key feature 2022-11-25 19:21:58 -08:00
Timmy Welch
83ac9f91b5
Make errors loading the ComicVineTalker object explicit 2022-11-25 19:21:57 -08:00
Timmy Welch
91b863fcb1
Merge branch 'mizaki-infosources' into dev 2022-11-25 19:21:25 -08:00
Timmy Welch
e5f6a7d1d6
Add warning about settings 2022-11-25 17:09:22 -08:00
Timmy Welch
c608ff80a1
Improve typing 2022-11-22 17:11:56 -08:00
Mizaki
093d20a52b Remove all the cool settings changes. 2022-11-18 23:18:41 +00:00
Mizaki
dfef425af3 Better handle missing talkers and default to comic vine. 2022-11-10 17:03:39 +00:00
Mizaki
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
Mizaki
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
Timmy Welch
aad83c8c03
Update PyInstaller usage
Switch to rapidfuzz from thefuzz
Add associations to macOS app bundle
2022-10-25 21:48:01 -07:00
Mizaki
21873d3830 Merge branch 'develop' into infosources
# Conflicts:
#	comictaggerlib/autotagstartwindow.py
#	comictaggerlib/cli.py
#	comictalker/talkers/comicvine.py
2022-10-05 01:58:46 +01:00
Mizaki
d37e4607ee After merge. Testing files still to update. 2022-10-04 23:50:55 +01:00
Mizaki
00e95178cd Initial support for multiple comic information sources 2022-10-04 01:08:14 +01:00
Timmy Welch
3cf75cf2ec
Update importlib_matadata usage and requirements 2022-09-19 22:54:48 -07:00
Timmy Welch
40314367c9 Improve formatting and consistency 2022-07-18 12:17:13 -07:00
Timmy Welch
6c65c2ad56 Make importlib usage compatible with python 3.9 2022-06-23 13:05:27 -07:00
Timmy Welch
7e033857ba Replace pkg_resources with importlib.metadata 2022-06-10 16:18:58 -07:00
Timmy Welch
d9c02b0115 Allow changing the ComicVine URL fixes #104 2022-06-10 15:23:58 -07:00
Timmy Welch
ff73cbf2f9 Fix small issues
Fix spelling errors
Remove Redundant exception types
Remove dead code
Change the forum link to point to GitHub discussions
2022-06-07 20:22:33 -07:00
Timmy Welch
470b5c0a17 Fix adding files to GUI via running ComicTagger with more filenames
Add flake8-print to ensure all logging uses the logging package
2022-06-06 20:04:51 -07:00
Timmy Welch
04409a55c7 Handle more exceptions
Handle exceptions during metadata save fixes #309
Handle exceptions during metadata read fixes #126 and #309
2022-06-06 20:04:51 -07:00
Timmy Welch
fd4c453854 Apply pre-commit configuration 2022-06-02 18:32:16 -07:00
Timmy Welch
c19ed49e05 Move to argparse for argument parsing 2022-06-02 18:28:54 -07:00
lordwelch
c5772c75e5 Cleanup setCheckState
Fix word splitting when auto-tagging
Remove commented code
2022-05-24 11:38:10 -07:00