Commit Graph

614 Commits

Author SHA1 Message Date
lordwelch
2e01a4db14 Improve file renaming
Moves to Python format strings for renaming, handles directory
structures, moving of files to a destination directory, sanitizes
file paths with pathvalidate and takes a different approach to
smart filename cleanup using the Python string.Formatter class

Moving to Python format strings means we can point to python
documentation for syntax and all we have to do is document the
properties and types that are attached to the GenericMetadata class.

Switching to pathvalidate allows comictagger to more simply handle both
directories and symbols in filenames.

The only changes to the string.Formatter class is:
1. format_field returns
an empty string if the value is none or an empty string regardless of
the format specifier.
2. _vformat drops the previous literal text if the field value
is an empty string and lstrips the following literal text of closing
special characters.
2021-12-15 11:00:01 -08:00
Timmy Welch
444e67100c
Merge pull request #207 from jpcranford/patch-1
Fixed typo
2021-12-15 08:49:15 -08:00
J.P. Cranford
82d054fd05
Fixed typo 2021-12-14 16:52:48 -07:00
Timmy Welch
f82c024f8d
Merge pull request #206 from lordwelch/rarOptionalFix
Fix rarfile import as by default it is optional
2021-12-12 18:49:05 -08:00
lordwelch
da4daa6a8a Fix rarfile import as by default it is optional 2021-12-12 18:46:28 -08:00
Timmy Welch
6e1e8959c9
Merge pull request #204 from lordwelch/buildSystem
Update build
2021-12-12 18:15:58 -08:00
lordwelch
aedc5bedb4 Update build
Separate dependencies into files and add optional dependencies
Update natsort usage to be compliant with the latest version (#203)
Set PyQt5 to 5.15.3, 5.15.4 has issues with pyinstaller
Add pyproject.toml with setuptools, isort and black configuration
Add optional dependencies (#191)
Update README (#174)
2021-10-23 21:39:58 -07:00
Timmy Welch
93f5061c8f
Add GitHub Actions yaml file (#201)
Upload artifacts this allows easy testing of macOS and Windows binaries
Update unrar-cffi for Python 3.9 wheels
2021-09-29 01:17:04 -07:00
Timmy Welch
d46e171bd6
Merge pull request #199 from lordwelch/seriesSearch
Improve issue identification
2021-09-26 17:09:54 -07:00
lordwelch
e7fe520660 Improve issue identification
Move title sanitizing code to utils module
Update issue identifier to compare sanitized names
2021-09-26 17:06:30 -07:00
lordwelch
91f288e8f4 Update travis
hold windows to 3.7.9 as unrar-cffi only has windows wheels for 3.7
switch to using builtin python for macOS
remove ssl dlls from comictagger.spec
require pyinstaller=4.3 to allow macOS codesigning
Update python usage
restrict builds to tags and pull requests
2021-09-26 12:51:17 -07:00
Timmy Welch
d7bd3bb94b
Merge pull request #198 from lordwelch/143-regression
Fix regression of #143
2021-09-25 23:01:38 -07:00
lordwelch
9e0b0ac01c Fix regression of #143 2021-09-25 22:59:59 -07:00
Timmy Welch
03a8d906ea
Merge pull request #189 from lordwelch/seriesSearch
Series search
2021-09-21 19:59:26 -07:00
lordwelch
fff28cf6ae Improve searchForSeries
Refactor removearticles to only remove articles
Add normalization on the search string and the series name results

Searching now only compares ASCII a-z and 0-9 and all other characters
are replaced with single space, this is done to both the search string
and the result. This fixes an with names that are separated by a
hyphen (-) in the filename but in the Comic Vine name are separated by a
slash (/) and other similar issues.
2021-08-29 17:35:34 -07:00
Timmy Welch
9ee95b8d5e
Merge pull request #192 from lordwelch/fixes
Fix errors
2021-08-16 17:37:19 -07:00
lordwelch
11bf5a9709 Move to python requests module
Add requests to requirements.txt
Requests is much simpler and fixes all ssl errors.
Comic Vine now requires a unique useragent string
2021-08-11 20:13:53 -07:00
lordwelch
af4b3af14e Cleanup metadata handling
Mainly corrects for consistency in most situations
CoMet is not touched as there is no support in the gui and has an odd requirements on attributes
2021-08-07 21:54:29 -07:00
lordwelch
9bb7fbbc9e Fix errors
Libraries updated and these are no longer needed
2021-08-05 17:21:21 -07:00
Davide Romanini
f877d620af allow for alpha releases in travis 2019-10-06 16:25:31 +02:00
davide-romanini
c175e46b15
Increase comicvine search results per request to max (#164) 2019-10-06 07:14:11 -07:00
davide-romanini
f0bc669d40
PyPI release (#163) 2019-10-06 07:01:33 -07:00
davide-romanini
db3db48e5c
Better console handling on Windows (#162) 2019-10-06 05:15:18 -07:00
davide-romanini
cec585f8e0
Changed: use unrar-cffi for cbr handling (#151) 2019-10-05 23:59:52 +02:00
davide-romanini
d71a48d8d4
Better support for CLI mode on windows (#158) 2019-10-05 23:55:34 +02:00
davide-romanini
9e4a560911
Better support for macOS dark mode (#159) 2019-10-05 23:53:56 +02:00
Davide Romanini
f244255386 update urls to new github comictagger organization 2019-10-05 16:31:12 +02:00
davide-romanini
254e2c25ee
Brand new README file (#156) 2019-10-05 16:09:04 +02:00
Davide Romanini
7455cf17c8 fix broken drag & drop on macOS (#142) 2019-09-29 23:02:44 +01:00
Davide Romanini
d93cb50896 add version info to mac info_plist (#146) 2019-09-29 22:11:42 +01:00
Davide Romanini
3316cab775 fix travis regex 2019-09-28 17:05:15 +02:00
davide-romanini
c01f00f6c3
multi platform build on travis (#145) 2019-09-28 17:01:05 +02:00
Davide Romanini
06ff25550e use setuptools_scm to handle version 2019-09-28 14:59:36 +02:00
Davide Romanini
1f7ef44556 remove obsolete download_url (https://git.io/JeZrE) 2019-09-28 14:57:09 +02:00
Davide Romanini
fabf2b4df6 Merge tag '1.2.0+2' into develop
1.2.0+2
2019-09-25 01:55:29 +02:00
Davide Romanini
0fbaeb861e Merge branch 'release/1.2.0+2' 2019-09-25 01:55:15 +02:00
Davide Romanini
3dcc04a318 try to fix appveyor deployment 2019-09-25 01:55:03 +02:00
Davide Romanini
933e053df3 Merge tag '1.2.0+1' into develop
1.2.0+1
2019-09-25 01:30:32 +02:00
Davide Romanini
5f22a583e8 Merge branch 'release/1.2.0+1' 2019-09-25 01:30:03 +02:00
Davide Romanini
3174b49d94 bump version to force appveyor deploy 2019-09-25 01:29:50 +02:00
Davide Romanini
93ce311359 Release 1.2.0 2019-09-25 00:51:28 +02:00
Davide Romanini
bc43c5e329 Release 1.2.0 2019-09-25 00:50:50 +02:00
Davide Romanini
9bf7aa20fb bump version to 1.2.0 2019-09-25 00:49:52 +02:00
davide-romanini
5416bb15c3
Appveyor GitHub release (#139) 2019-09-24 23:36:08 +01:00
davide-romanini
562a659195
Travis build for macOS build (#100) 2019-09-24 23:30:23 +01:00
user159033
1d3d6e2741 bump version 1.1.32-rc1 2019-09-22 12:47:19 +01:00
Marek Pawlak
c9724527b5 Fixed TLS version for the Comic Vine (#135)
* Fixed TLS version for the comicvine

* Fixed TLS version for the Comic Vine - Auto-Identify and Auto-Tag functions
2019-09-22 12:40:59 +01:00
Davide Romanini
2891209b4e bump version 2019-02-04 20:27:37 +01:00
beville
5b87e19d3e Limit Comic Vine search result queries (#119)
* Tweaked search string based on new comic vine search behavior
Placated Beaufitul Soup by passing the parser

* Limit search results fetching after recent Comic Vine changes.
Also, minor debug comment tweaks.
2019-02-04 20:16:44 +01:00
tlc
674e24fc41 Enable Zip64 (#96) 2018-09-20 00:09:24 +02:00