airdcpp-release-validator

1.4.0 • Public • Published

airdcpp-release-validator Node.js CI npm package Coverage

AirDC++ extension that performs various validations for release directories.

Features

  • Scans the content of completed bundles: failed bundles are blocked from share with an error message until the error is fixed (or ignored)
  • Allows scanning the whole share manually (use the command /rvalidator scan)

Validators

  • Checks for missing/extra files based on the SFV file content
  • Detect missing/extra SFV/NFO files

All error will be reported in the event/system log.

Example output:

[airdcpp-release-validator] C:\testshare\Release.App-TESTING\: NFO file possibly missing
[airdcpp-release-validator] C:\testshare\Missing.Files-TESTING\: File listed in the SFV file does not exist on disk (2 file(s): testfile1.mp3, testfile2.mp3)
[airdcpp-release-validator] E:\Downloads\SFV-TESTING\: NFO/SFV found but there are no other files in the folder

What's new in each version

Changelog

Troubleshooting

Enable extension debug mode from application settings and check the extension error logs (Settings\extensions\airdcpp-release-validator\logs) for additional information.

Development

Help wanted

Pull requests with new validation modules are welcome. When developing new modules, please write tests as well.

This extension is based on the airdcpp-create-extension example project, that provides instructions for AirDC++ extension development.

You may run the tests with npm run test.

Package Sidebar

Install

npm i airdcpp-release-validator

Weekly Downloads

17

Version

1.4.0

License

MIT

Unpacked Size

1.62 MB

Total Files

14

Last publish

Collaborators

  • maksis