comictagger/comictaggerlib
Timmy Welch 028b728d82 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.
2022-04-18 18:52:53 -07:00
..
graphics Python3 and QT5 upgrade (#109) 2018-09-19 22:05:39 +02:00
ui Improve file renaming 2022-04-18 18:52:53 -07:00
__init__.py Name conflict with launcher script 2013-02-07 04:00:20 +00:00
autotagmatchwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
autotagprogresswindow.py Add basic logging 2022-04-04 19:10:22 -07:00
autotagstartwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
cbltransformer.py Add basic logging 2022-04-04 19:10:22 -07:00
cli.py Improve file renaming 2022-04-18 18:52:53 -07:00
comicvinecacher.py Fix #242 2022-04-11 14:52:41 -07:00
comicvinetalker.py Fixing some HTML to comment translations. 2022-04-05 16:16:27 -04:00
coverimagewidget.py Add basic logging 2022-04-04 19:10:22 -07:00
crediteditorwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
exportwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
filerenamer.py Improve file renaming 2022-04-18 18:52:53 -07:00
fileselectionlist.py Add basic logging 2022-04-04 19:10:22 -07:00
imagefetcher.py Fix #242 2022-04-11 14:52:41 -07:00
imagehasher.py Add basic logging 2022-04-04 19:10:22 -07:00
imagepopup.py Add basic logging 2022-04-04 19:10:22 -07:00
issueidentifier.py Add basic logging 2022-04-04 19:10:22 -07:00
issueselectionwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
logwindow.py Catch exception when displaying raw tags 2022-04-11 17:16:07 -07:00
main.py Fix #242 2022-04-11 14:52:41 -07:00
matchselectionwindow.py Add basic logging 2022-04-04 19:10:22 -07:00
optionalmsgdialog.py Add basic logging 2022-04-04 19:10:22 -07:00
options.py Add basic logging 2022-04-04 19:10:22 -07:00
pagebrowser.py Add basic logging 2022-04-04 19:10:22 -07:00
pagelisteditor.py Using shortcuts and actions. 2022-04-14 12:22:53 -04:00
pageloader.py Add basic logging 2022-04-04 19:10:22 -07:00
progresswindow.py Add basic logging 2022-04-04 19:10:22 -07:00
renamewindow.py Improve file renaming 2022-04-18 18:52:53 -07:00
resulttypes.py Code cleanup 2022-04-02 14:21:37 -07:00
settings.py Improve file renaming 2022-04-18 18:52:53 -07:00
settingswindow.py Improve file renaming 2022-04-18 18:52:53 -07:00
taggerwindow.py Merge branch 'feature/m-age-rating' of https://github.com/MichaelFitzurka/comictagger into MichaelFitzurka-feature/m-age-rating 2022-04-10 11:04:48 -07:00
versionchecker.py Add basic logging 2022-04-04 19:10:22 -07:00
volumeselectionwindow.py Add basic logging 2022-04-04 19:10:22 -07:00