Skip to content

subloader: Add version 1.7.0#17680

Open
Valyreon wants to merge 4 commits intoScoopInstaller:masterfrom
Valyreon:subloader
Open

subloader: Add version 1.7.0#17680
Valyreon wants to merge 4 commits intoScoopInstaller:masterfrom
Valyreon:subloader

Conversation

@Valyreon
Copy link
Copy Markdown

@Valyreon Valyreon commented Apr 26, 2026

Subloader v1.7.0

Closes #17681

Hi, would like to contribute to Scoop package manager and add my app for downloading subtitles.
Project page: Subloader GitHub

I have been maintaining this app since 2018. It has more than 100 stars and regular users, here are the stats:
image
Upper graph shows number of subtitles downloaded per day and lower graph the number of users that login to Opensubtitles API using the app every day, although anonymous usage is also possible.

The app has both GUI and CLI version. CLI version enables you to search and batch download subtitles for entire directories. All functionalities you can find described on the project page and wiki.

Post-install script adds associations to mkv, mp4 and avi files and adds a "Find subtitles" context menu to those files.
Pre-uninstall script removed these associations. Configs are stored in %appdata%.

I have actually maintained a scoop app manifest in my repository for quite some time and was using it but would like to add it to a scoop bucket because I use scoop regularly, and it will be more accesible.


Install Test

image

Uninstall Test

image

Checkver Test

image
  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2b5918d5-7ed8-4531-9ab3-c0ad23cf7b3e

📥 Commits

Reviewing files that changed from the base of the PR and between 2dc184a and 3f5b571.

📒 Files selected for processing (1)
  • bucket/subloader.json
✅ Files skipped from review due to trivial changes (1)
  • bucket/subloader.json

📝 Walkthrough

Walkthrough

Adds a new Scoop manifest bucket/subloader.json for Subloader v1.7.0. The manifest includes metadata (description, homepage, MIT license), a 64-bit install URL v1.7.0/scoop.zip with SHA256, post_install invoking create_registry.ps1 via PowerShell, pre_uninstall invoking clean_registry.ps1 via PowerShell, exposes subloader-cli.exe as the bin, adds a subload.exe shortcut labeled "Subloader", sets checkver to github, and configures autoupdate to use v$version and $url.sha256.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title 'subloader: Add version 1.7.0' clearly and concisely describes the main change—adding Subloader v1.7.0 to the bucket, following the conventional format specified in the repository.
Description check ✅ Passed The PR description provides comprehensive context including closure of linked issue #17681, project background, maintainer credibility (maintaining since 2018, >100 stars), relevant functionality details, and test output screenshots (install, uninstall, checkver), with both contribution checklist items marked complete.
Linked Issues check ✅ Passed The manifest successfully fulfills all stated objectives from issue #17681: adds Subloader v1.7.0 with post-install/pre-uninstall scripts for file associations, includes both GUI and CLI with batch-download capability, verifies popularity (>100 stars, 12k downloads), and provides autoupdate/checkver functionality against GitHub releases.
Out of Scope Changes check ✅ Passed All changes are strictly within scope: only a new Scoop manifest file for Subloader v1.7.0 is added; no extraneous modifications to unrelated code or repository configuration are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Valyreon
Copy link
Copy Markdown
Author

/verify

@coderabbitai coderabbitai Bot added the package-request-needed Create a package request issue before raising PR. Check the criteria for a package to be accepted. label Apr 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

subloader

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
bucket/subloader.json (1)

20-20: Verify the pre-uninstall script exists and consider simplifying the syntax.

The manifest references clean_registry.reg which should be included in the release artifact. Additionally, the current syntax can be simplified.

Verify the file exists (this check is covered by the post_install verification script above).

♻️ Consider simplifying the pre-uninstall syntax

Most Scoop manifests use a simpler syntax for importing registry files:

-    "pre_uninstall": "powershell -NoProfile -Command \"reg.exe import '$dir\\clean_registry.reg'\"",
+    "pre_uninstall": "if ($cmd -eq 'uninstall') { reg import \"$dir\\clean_registry.reg\" }",

This follows the pattern used in other Extras manifests and adds a safety check to only run during actual uninstallation (not upgrades).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bucket/subloader.json` at line 20, The manifest's pre_uninstall entry
references clean_registry.reg but doesn't confirm the file is packaged and uses
verbose syntax; ensure clean_registry.reg is included in the release artifact
(so post_install verification can find it) and replace the current verbose
pre_uninstall command with the simpler, common pattern used by other manifests
that both imports "$dir\\clean_registry.reg" and guards execution so it only
runs on real uninstalls (not upgrades). Update the pre_uninstall value (symbol:
pre_uninstall) to the simplified guarded PowerShell invocation and verify the
post_install verification script still validates presence of clean_registry.reg.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@bucket/subloader.json`:
- Around line 1-5: Create a package-request issue for the new Subloader package
and add its issue number to the PR description; specifically, open the template
at the provided URL to file a "package-request" for "Subloader" (the package
named in bucket/subloader.json and the "description" field), then edit the PR
body to include the produced issue number (e.g., `#12345`) so the new-package
submission follows the repository guideline requiring a linked package request
issue.
- Line 5: The manifest's license field currently uses a non‑SPDX identifier;
update the "license" JSON key in subloader.json from "MIT-Modern-Variant" to the
standard SPDX identifier "MIT" so it matches the repository LICENSE content and
valid SPDX usage.
- Around line 1-11: The manifest is missing a "suggest" field declaring the .NET
10 runtime; add a top-level "suggest" object (alongside "version",
"description", "architecture", etc.) that maps a human-readable key like ".NET
10 Runtime" to the Scoop package identifier used for .NET 10 (e.g.
"dotnet/runtime" or the exact identifier used in the main bucket), so add that
mapping under the "suggest" key and verify/adjust the package id to match the
Scoop main bucket naming convention.

---

Nitpick comments:
In `@bucket/subloader.json`:
- Line 20: The manifest's pre_uninstall entry references clean_registry.reg but
doesn't confirm the file is packaged and uses verbose syntax; ensure
clean_registry.reg is included in the release artifact (so post_install
verification can find it) and replace the current verbose pre_uninstall command
with the simpler, common pattern used by other manifests that both imports
"$dir\\clean_registry.reg" and guards execution so it only runs on real
uninstalls (not upgrades). Update the pre_uninstall value (symbol:
pre_uninstall) to the simplified guarded PowerShell invocation and verify the
post_install verification script still validates presence of clean_registry.reg.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3c29c17b-52b5-4779-a288-3231e3eaba0c

📥 Commits

Reviewing files that changed from the base of the PR and between 0fcbc7a and ce94f90.

📒 Files selected for processing (1)
  • bucket/subloader.json

Comment thread bucket/subloader.json Outdated
Comment thread bucket/subloader.json
Comment thread bucket/subloader.json Outdated
@coderabbitai coderabbitai Bot removed the package-request-needed Create a package request issue before raising PR. Check the criteria for a package to be accepted. label Apr 26, 2026
Comment thread bucket/subloader.json Outdated
@z-Fng z-Fng changed the title Subloader: Add version 1.7.0 subloader: Add version 1.7.0 Apr 27, 2026
Comment thread bucket/subloader.json Outdated
Valyreon and others added 2 commits April 27, 2026 21:53
Apply runtime suggestion

Co-authored-by: z-Fng <54583083+z-Fng@users.noreply.github.com>
@Valyreon Valyreon requested a review from z-Fng April 27, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Subloader

3 participants