upsies.uis.tui.commands.scene
Searching for and verifying scene release
Classes
- class upsies.uis.tui.commands.scene.scene_check(args, config)[source]
Bases:
CommandBaseVerify scene release name and integrity
If RELEASE is a scene release, make sure it has the correct file size(s) and is named properly.
- names = ('scene-check', 'scc')
Sequence of command names
The first name is the full name and the rest are short aliases.
- cli_arguments = {'RELEASE': {'help': 'Release name or path to release content', 'type': <function release>}, ('--predbs', '-p'): {'help': 'Case-insensitive predb name\nSupported predbs: corruptnet, predbclub, predbnet, srrdb', 'type': <function comma_separated.<locals>.comma_separated>}}
CLI argument definitions for this command
This is a
dictin which keys are option names or flags (e.g."PATH"or("--path", "-p")and each value is adictwith keyword arguments forargparse.ArgumentParser.add_argument().Additionally, you may specify a
groupin each keyword argument dictionary. Arguments with the samegroupvalue are mutually exclusive, meaning the user can only specify one of them.
- class upsies.uis.tui.commands.scene.scene_search(args, config)[source]
Bases:
CommandBaseFind scene releases that match RELEASE
The search query is not a simple text search. Instead, RELEASE is interpreted according to the usual release name format.
Examples:
- Foo.1995.1080p.x264
Find any x264 encodes of “Foo” from 1995 in 1080p.
- Foo.1995.BluRay.x264-ASDF
Find any Blu-ray x264 encodes of “Foo” from 1995 from group “ASDF”.
- Foo.S03.720p
Find any 720p release of the third season of “Foo”.
- Foo.S01E01E02S02E03E04.720p
Find any 720p encodes of episodes 1 & 2 from season 1 and episodes 3 & 4 from season 2.
- names = ('scene-search', 'scs')
Sequence of command names
The first name is the full name and the rest are short aliases.
- cli_arguments = {'RELEASE': {'help': 'Release name or path to release content', 'type': <function release>}, ('--predbs', '-p'): {'help': 'Case-insensitive predb name\nSupported predbs: corruptnet, predbclub, predbnet, srrdb', 'type': <function comma_separated.<locals>.comma_separated>}}
CLI argument definitions for this command
This is a
dictin which keys are option names or flags (e.g."PATH"or("--path", "-p")and each value is adictwith keyword arguments forargparse.ArgumentParser.add_argument().Additionally, you may specify a
groupin each keyword argument dictionary. Arguments with the samegroupvalue are mutually exclusive, meaning the user can only specify one of them.