Skip to content

Conversation

@Curvature9761
Copy link

Adds --fromName Option to Download Command (Resume Downloads by Title)
This PR adds a --fromName option to the download command, allowing users to resume failed downloads from a specific game title (copied from the games list output).

Tested and works for my large library.

Not claiming this is the “cleanest” way, but it’s functional and performant.

If you want to refactor or polish, feel free!

Thanks for the awesome tool—hope this helps others with big collections.

Added a new subcommand --fromName=NAME

It makes it possible to resume download from a specified name onwards. Very useful if previous downloads have aborted due to TimeOut.
@Curvature9761
Copy link
Author

image

lol, I was a bit to quick. While it doesn't crash the command only iterate for the given game for some reason.

Have to have another look at it.

Fixed a slight a slight bug. One $ to much.

Added a output for skipped games.
@Curvature9761
Copy link
Author

Fixed it. Now works with output.

I originally wanted to implement a fromIndex command aligned to the game command. Couldn't figure it out.

Now had a new idea.

Made a new version that is independent from the game output.

But you can still now resume from an index number based on your last run.
@Curvature9761
Copy link
Author

Added another command. --FromIndex. What I originally wanted to do. But now its independent entirely from the game command.

fromName and fromIndex are mutally exclusive.

There is potential to implement some logic for both parameters to be acceptable and stop the iteration on whatever hits first. But for now I made it mutually exclusive.

@Curvature9761 Curvature9761 changed the title New subcommand --fromName New subcommands --fromName --fromIndex Aug 1, 2025
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.

1 participant