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

Make sleep interval log display more readable #11525

Open
singhpratyush opened this issue Dec 24, 2016 · 4 comments
Open

Make sleep interval log display more readable #11525

singhpratyush opened this issue Dec 24, 2016 · 4 comments
Labels

Comments

@singhpratyush
Copy link
Contributor

@singhpratyush singhpratyush commented Dec 24, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.12.22

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Make sleep interval log more readable

As of now, the log is like -

[download] Sleeping 14.393324791937204 seconds...

It would become more readable if its something like

[download] Sleeping 14.39 seconds...

I have fixed it here. If valid, shall I create a PR?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 7, 2017

The idea is good. But for integers, it shouldn't add extra '.00'

@yan12125 yan12125 added the request label Jan 7, 2017
@singhpratyush
Copy link
Contributor Author

@singhpratyush singhpratyush commented Feb 19, 2017

Made changes here.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 19, 2017

@singhpratyush Could you open a pull request? That makes discussions easier.

@singhpratyush
Copy link
Contributor Author

@singhpratyush singhpratyush commented Feb 19, 2017

Sure.

@singhpratyush singhpratyush mentioned this issue Feb 19, 2017
5 of 8 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.