-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add feature of refreshing converted files if original files are modified #5204
base: master
Are you sure you want to change the base?
Conversation
Just encountered the same issue and am glad to see that there is already a PR for this. Would love to see this merged. |
Hello, kind reminder, is there anything that I can do on my side to see this PR being merged? :) @Serene-Arc |
716995e
to
1ea648d
Compare
Well, I just rebased on master anticipating a future merge, but I'm not sure the moment was right. ^^" |
Now the only missing bit is a note in the changelog as this is a new feature :) |
@snejus Done! In fact the changelog entry was already there, but was lost in others entries of nearly one year ago since this is a pretty old PR ahah. :) |
Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
- Logic refactoring - `util.syspath` is redundant because already called in `util.remove` Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
- `util.syspath` is redundant because already called in `util.normpath` itself called in Item class Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
Nest and combine some logic tests by: 1. Only check for destination file existence once. 2. Use `original` instead of `item.path` in the `refresh` conditional such that this option will be compatible with `keep_new`.
a454dbc
to
fe9365a
Compare
Description
By default, the
convert
plugin will skip every pending conversion if the converted file is already existing on the filesystem. However, when making changes (e.g., tags) in the original files, the changes are not reflected to the converted library. Adding the--refresh
command-line option and therefresh
option to theconvert
plugin allows to re-convert the original files if they are modified more recently than the time when converted files were converted.To Do