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.

[Feature] Overwrite ugoira

See original GitHub issue

Prerequisites

Description

New feature proposed by @cglmrfreeman Add a reprocess function to scan all the ugoira manga types and overwrite the old/bad files.

Actual behavior

This new feature work pretty much like the overwrite one present in the config.ini file only this one is targeted at ugoira.

If the option overwriteUgoira is True in the config.ini file, it overwrites old ugoira that are trying to be download and present in the database db.sqlte (basically ugoira already download). However, it doesn’t overwrite them is the option checkLastModified or skipUnknownSize is set to True (same behaviour as the overwrite option).

It’s a more specific approach of the overwrite option aiming to replace more efficiently ugoira that might be corrupted as noticed in the issue #1109.

Disclaimer

It doesn’t scan ALL the ugoira of the database, but when an ugoira already download is trying to be re-download it can overwrite it.

Improvement

To archive the exact behaviour as stated in the description, a way to do it would be to be able to export the whole database as a txt file and re-download it using the option 4. Download from list of the main menu.

Versions

PixivDownloader2 version 20220311-beta3

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Toyemcommented, May 13, 2022

Sorry to reopen the issue, I just found out that there is a problem with the function i made. The gif is not reprocessed if the artwork doesn’t exist on pixiv anymore. It’s mainly due to the fact that i choose to select “zip” as base of the reprocessing where using an “ugoira” would have been more logical. Working on it …

1reaction
PatrickL546commented, Apr 14, 2022

Nice! I had to quickly bash some code to re-encode my ugoira when the new settings were added. Saved me like 200gb’s. Now other people don’t have to go through what I did.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - [Feature] Overwrite ugoira - - Bountysource
New feature proposed by @cglmrfreeman. Add a reprocess function to scan all the ugoira manga types and overwrite the old/bad files.
Read more >
convert pixiv ugoira to mp4 · Issue #19 - GitHub
so, im using ekidona bot for pixiv ugoira. they have this cool feature where they will ... the saucebot overwrite that ekidona said...
Read more >
What are Ugoira? – pixiv Help Center
Ugoira can be a set of images in either the PNG or JPEG format. This method gives the animation a much higher quality...
Read more >
Hydrus Network on Tumblr
Ugoira support is a planned feature. ... Ugoira is an unusual standard. ... If you haven't seen yet, you can change the gui's...
Read more >
How to use the rn-fetch-blob.config function in rn-fetch-blob
DocumentDir let path = dirs + "/" + name RNFetchBlob .config({ // 有文件默认覆盖 overwrite:true, // 下载的指示器,ios执行 indicator:true, // 允许自建ssl通信 ...
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