question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resolution Fallback [Feature Request]

See original GitHub issue

Hey mate,

Is there any way to implement a standard resolution fallback?

As an example, the flag could be something like --maxres which overrides -q

The idea would be to automatically try different resolutions in order of highest to lowest. If a 1080p version is available, it is downloaded and the script moves on to the next episode.

If on the other hand a 1080p version is not available, then it will automatically retry in order of highest resolution to lowest, until it finds a valid download.

Currently, if when using -q 1080p, a 1080p version does not exist, it doesn’t seem to fallback to 720p, then 480p etc. Instead, it seems to jump directly to the lowest available resolution.

Thanks! Great script BTW! Keep up the great work 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
vn-kicommented, Aug 6, 2018

Fixed in 3.4.0.

I use --fallback-qualities "['360p', '480p']" in zsh, but maybe you don’t need the extra quotes in bash. Use -fq for short.

1reaction
vn-kicommented, Jul 31, 2018

Yes, this is intentional. I will look into your request. Maybe a new argument --fallback-quality?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request | Customer message for fallback rates
This way, if there's a temporary problem with Shiprocket displaying Live Rates, we can setup a higher Fallback Rate to encourage customers to...
Read more >
Make a fallback view for when URL resolution fails or times out
From @zetlen on May 26, 2018 6:56. This issue is a: [ ] Bug [x] Feature suggestion [ ] Other. Description: If GraphQL...
Read more >
DNS client resolution timeouts - Windows Server
Describes the fallback and timeout behavior that exist when one or more Domain Name System (DNS) Servers IPs are configured on a Windows...
Read more >
Local Domain Fallback - Cloudflare Zero Trust
Local Domain Fallback configuration only impacts where DNS requests get resolved, not the flow of traffic destined to those domains.
Read more >
Add DNS fallback feature when Unbound or Cloudflare is ...
When I restarted the device, I found that Unbound and Cloudflare were delayed about 4-5 minutes before performing DNS resolution.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found