Skip to content
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

Media Filenames and Cleanup #8

Open
ohare93 opened this issue Sep 7, 2020 · 0 comments
Open

Media Filenames and Cleanup #8

ohare93 opened this issue Sep 7, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ohare93
Copy link
Owner

ohare93 commented Sep 7, 2020

Anki shortens filenames that are too long in the latest versions, but only when a user runs Check Media. If they have already created a repo using Brain Brew then their old media will still be there. Seems to me there are a few issues here:

Warn users about long filenames

Make sure people are not caught out by this by detecting when a media filename is too long. Then users know what to do after that, and can delete the redundant files manually themselves if they wish to.

Find non-referenced media

There should be a keyword that can be run in a builder file where Brain Brew can check Deck Part Notes for their media references and then compare that to a specified folder. Deleting those that are not found, or perhaps moving them somewhere else for user confirmation?

Rename files

Long filenames is an issue on it's own, but tbh some filenames are just shit. Users should have the option to rename references media files found in a Note to the field / column that the media is found in. Adding a # for each after the 1st. One issue there is what if the media is references in multiple notes? Just use the first one found?

@ohare93 ohare93 added good first issue Good for newcomers help wanted Extra attention is needed labels Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant