Commit Graph

364 Commits

Author SHA1 Message Date
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
eca421e0f2
Split out settings functions 2022-12-13 08:50:38 -08:00
Timmy Welch
18566a0592
Fix setting cmdline arguments 2022-12-13 08:50:08 -08:00
Timmy Welch
48c6372cf4
Fix --no-overwrite 2022-12-10 18:35:41 -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
0302511f5f
Settings tests 2022-12-06 00:22:48 -08:00
Timmy Welch
028949f216
Make logs use the .log extension 2022-12-06 00:22:46 -08:00
Timmy Welch
af0d7b878b
Set logging level on comictalker 2022-12-06 00:22:44 -08:00
Timmy Welch
460a5bc4f4
Cleanup 2022-12-06 00:20:29 -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
da21dc110d
Update help 2022-12-06 00:20:24 -08:00
Timmy Welch
3870cd0f53
Update help for --config 2022-12-06 00:20:23 -08:00
Timmy Welch
ed1df400d8
Add replacement settings 2022-12-06 00:20:21 -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
10f36e9868
Allow searching without a comic archive selected 2022-11-28 21:44: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
129e19ac9d
Remove cast from taggerwindow.py 2022-11-25 19:22:00 -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
e7f937ecd2
Enable version checking 2022-11-25 17:08:26 -08:00
Timmy Welch
1cbed64299
Fix an issue with normalizing the platform in filerenamer.py 2022-11-23 12:36:19 -08:00
Timmy Welch
c608ff80a1
Improve typing 2022-11-22 17:11:56 -08:00
Mizaki
52cc692b58 Remove some TODOs. 2022-11-23 00:22:48 +00:00
Mizaki
093d20a52b Remove all the cool settings changes. 2022-11-18 23:18:41 +00:00
Mizaki
cf12e891b0 Fix CV API test. Fix sending last source details in settings for API test and website link. 2022-11-12 23:13:53 +00:00
Mizaki
06ffd9f6be Add logo/text button to source tab that links to webpage. 2022-11-12 01:09:17 +00:00
Mizaki
dfef425af3 Better handle missing talkers and default to comic vine. 2022-11-10 17:03:39 +00:00
Mizaki
880b1be401 Return zero score if there is no image url. Fixes #392 2022-11-10 16:15:27 +00:00
Mizaki
04ad588a58 Use source name in tag notes. 2022-11-08 16:33:46 +00:00
Mizaki
6b4abcf061 Update current talker object with new settings. 2022-11-08 16:32:37 +00:00
Mizaki
629b28f258 Small fixes after merge. 2022-11-07 02:03:36 +00:00
Mizaki
c34902449f Merge branch 'develop' into infosources
# Conflicts:
#	comictaggerlib/cli.py
#	comictaggerlib/comicvinetalker.py
#	comictaggerlib/taggerwindow.py
#	tests/comicvinetalker_test.py
#	tests/conftest.py
2022-11-07 01:50:47 +00:00
Mizaki
9da14e0f95 Fix source switching. Use start year if cover date is missing. 2022-11-07 01:19:03 +00:00
Mizaki
67be086638 Move map comic data to utils along with remove html. Alter tests. 2022-11-05 16:49:59 +00:00
Timmy Welch
d55d75cd79
Append notes instead of overwriting them
Add issue_id to GenericMetadata
2022-11-04 15:39:40 -07:00
Mizaki
19e5f10a7b Revert "Revert passing only issue id to fetch_comic_data. Instead send issue id, volume id and issue number. This is because MU will not have the issue number from the API call. Now, if it has been parsed from the file name it will be available for use by the MU talker."
This reverts commit e5e9617052.
2022-11-04 16:16:07 +00:00
Mizaki
e5e9617052 Revert passing only issue id to fetch_comic_data. Instead send issue id, volume id and issue number. This is because MU will not have the issue number from the API call. Now, if it has been parsed from the file name it will be available for use by the MU talker. 2022-11-04 00:52:22 +00:00
Mizaki
b4f6820f56 remove_fetch_alternate_cover_urls.patch 2022-11-03 23:32:35 +00:00
Mizaki
075faaea5a Removed TODO's checked and/or fixed. 2022-11-01 16:13:46 +00:00
Mizaki
870dc5e9b6 Move issue_id to first position of fetch_comic_data as most used. 2022-10-30 17:52:55 +00:00
Mizaki
b67765d9aa Merge to develop. 2022-10-30 11:07:53 +00:00
Timmy Welch
618e15600f
Fix retrieving issues from cache when volume is incomplete 2022-10-29 19:21:11 -07: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
4f42fef4fc Return issue id from series search and use issue id for API. 2022-10-30 00:15:05 +01:00