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

Short progress bar #237

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

menkej
Copy link
Collaborator

@menkej menkej commented Nov 17, 2020

I worked on removing the download-path from the progress-bar. Closes #173 potentially. Aim is to shorten the printed out filenames. Relevant on shorter/smaller terminal sizes.

I'm not really sure if I like this change. I did not touch the behaviour of --only-print-filenames. I updated (most of the) tests accordingly and I'm not sure why some are failing now. Anyways I wanted to put this on for discussion. Some changes come from a linter run afterwards, so just code reformatting...

What do you think about this change?

PS: I also don't really like the more or less copy&paste but slightly different handling for photos vs. Live Photos and the deduce logic. Maybe worth some refactoring. But that's another issue...

- Attempt to strip the download path - show only the path below
- truncate in the middle if longer than 60 not 96 chars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove download directory from progress-bar
1 participant