Commit Graph

1136 Commits

Author SHA1 Message Date
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
b07aa03c5f Use xlate for all int conversion in CV talker and compare cache issues to expected number. 2022-11-03 22:35:46 +00:00
Mizaki
2f54b1b36b A few minor logging tweaks. 2022-11-03 15:39:13 +00:00
Timmy Welch
70293a0819
Require PyInstaller >= 5.6.2 2022-11-01 13:51:10 -07:00
Timmy Welch
8592fdee74
Revert "Install PyInstaller from git until >5.6.1 is available"
This reverts commit 79137a12f8.
2022-11-01 13:49:52 -07: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
86402af8b1 Merge branch 'develop' into infosources
# Conflicts:
#	comictaggerlib/comicvinetalker.py
2022-10-30 11:39:01 +00:00
Mizaki
d7976cf9d2 Hack tests. 2022-10-30 11:16:03 +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
Timmy Welch
73dd33dc64
Fix tags in GitHub Actions checkout 2022-10-29 13:09:13 -07:00
Timmy Welch
3774ab0568
Force install PyInstaller from git until >5.6.1 is available 2022-10-29 11:04:46 -07:00
Timmy Welch
f8807675d6
Cache issue info 2022-10-29 11:02:21 -07:00
Timmy Welch
79137a12f8
Install PyInstaller from git until >5.6.1 is available 2022-10-29 10:10:37 -07:00
Timmy Welch
d33d274725
Fix fetching alternate cover urls (fixes #372) 2022-10-29 10:10:35 -07:00
Mizaki
26851475ea Clean up loading cover images. Probably more to do. 2022-10-29 16:41:34 +01:00
Mizaki
a06d88efc0 Fix up full issue cache types. 2022-10-29 01:33:42 +01:00
Mizaki
dcf853515c Tidy CV logger errors. 2022-10-28 22:32:33 +01:00
Mizaki
bf06b94284 Enable cache for full issue information. 2022-10-28 22:15:14 +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
43ec4848ef
Update pre-commit 2022-10-25 21:49:47 -07: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
4514ae80d0 Switch to API data for alt images, remove unneeded functions and removed async as new approach needed. See comments about fetch_partial_volume_data 2022-10-26 00:29:30 +01:00
Mizaki
cab69a32be Remove proxying from ComicTalker. Add some checks for talkers. 2022-10-25 00:37:18 +01:00
Mizaki
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
Mizaki
d23258f359 Change ComicVolume, ComicIssue to image_url and image_thumb_url. Add/change search/volume DB layout to remove duplication of data. Fixup some test. 2022-10-23 22:40:15 +01:00
Mizaki
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
Timmy Welch
58904a927f
Set release name properly 2022-10-19 19:27:30 -07:00
Mizaki
fb1616aaa1 Remove CV parse date. Strings names. 2022-10-20 00:32:40 +01:00
Mizaki
4be12d857d Reuse CV test data in comic_issue_result data. Cover possible empty volume data in get_volume_issues_info. 2022-10-19 23:30:11 +01:00
Mizaki
e1ab72ec2a Rename super_url to image_url in comiccacher. Merge fetch_issue_data_by_issue_id into fetch_comic_data. Fill comic volume info in comiccacher:get_volume_issues_info 2022-10-19 19:33:51 +01:00
Mizaki
8a8dea8aa4 Fix autotagstartwindow.ui missed from merge. 2022-10-15 23:36:52 +01:00
Mizaki
43464724bd Convert all start_year to int. 2022-10-15 23:20:50 +01:00
Mizaki
34163fe9d7 Update the comicvine_api fixture in conftest.py to actually return the comicvinetalker. 2022-10-15 02:02:10 +01:00
Mizaki
9aa29f1445 Merge fetch_issue_data and fetch_volume_data to fetch_comic_data. 2022-10-14 01:10:46 +01:00
Mizaki
3ea44b7ca7 Remove fetch_issue_page_url from comictalker etc. 2022-10-12 23:08:47 +01:00
Mizaki
c1c8f4eb6e black 2022-10-12 00:11:57 +01:00
Mizaki
a14c24a78a Fix for issueidentifier_test 2022-10-11 16:52:41 +01:00
Mizaki
18d861a2be More test fixes that may need to be looked at further. 2022-10-09 23:43:52 +01:00
Mizaki
ac15a4dd72 More test fixes. 2022-10-06 01:14:03 +01:00
Mizaki
6a98afb89c After second merge. 2022-10-06 00:34:32 +01: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
Timmy Welch
2daf9b3ed8
Style and typo fixes 2022-10-04 16:15:55 -07:00
Timmy Welch
a6d55cd21a
Update MetadataFormatter
Several custom conversions (the s in {title!s}) have been created
u - str.upper()
l - str.casefold()
S - str.swapcase()
t - str.title()
c - str.Capitalize()

A new syntax has been added '{title+str}' and '{title-str}':
The + indicates an alternate value.
The - indicates a default value.

If the title of a comic is not set then
'{title-str}' will output 'str'
and
'{title+str} will output ''

If the title of a comic is 'hello' then
'{title+str}' will output 'str'
and
'{title-str}' will output 'hello'
2022-10-04 16:15:20 -07:00
Mizaki
d37e4607ee After merge. Testing files still to update. 2022-10-04 23:50:55 +01:00