upsies.uis.tui.commands.bdinfo
Print bdinfo output
Classes
- class upsies.uis.tui.commands.bdinfo.bdinfo(args, config)[source]
Bases:
CommandBasePrint the BDInfo report(s)
This needs a
bdinfoexecutable in your $PATH. It is called like this:bdinfo –mpls=PLAYLIST_FILE_NAME PATH_TO_BLURAY REPORT_DIRECTORY
Here is a wrapper script that runs BDInfoCLI-ng in a docker container: https://codeberg.org/plotski/upsies/src/branch/master/goodies/bdinfo
- names = ('bdinfo', 'bi')
Sequence of command names
The first name is the full name and the rest are short aliases.
- cli_arguments = {'CONTENT': {'help': 'Path to release content', 'type': <function content>}, ('--format', '-f'): {'default': '{BDINFO}', 'help': 'Text that contains the placeholder "{BDINFO}", which is replaced by the BDInfo report\nExample: "[bdinfo]{BDINFO}[/bdinfo]"'}, ('--multiple', '-m'): {'action': 'store_true', 'help': 'Allow selection of multiple playlists and generate multiple BDInfo reports'}, ('--summary', '-s'): {'choices': ('none', 'full', 'quick'), 'default': 'none', 'group': 'playlist_or_summary', 'help': 'Which parts of the BDInfo output to print'}}
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.