|
|
|
@ -56,6 +56,20 @@ SEASON_EPISODE_STREAM_LANGUAGE_MATCH = '[sS]([0-9]+)[eE]([0-9]+)_([0-9]+)_([a-z]
|
|
|
|
|
SUBTITLE_FILE_EXTENSION = 'vtt'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ShowsScreen(Screen):
|
|
|
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
|
super().__init__()
|
|
|
|
|
|
|
|
|
|
context = self.app.getContext()
|
|
|
|
|
context['dashboard'] = 'dashboard'
|
|
|
|
|
|
|
|
|
|
def compose(self) -> ComposeResult:
|
|
|
|
|
yield Header(show_clock=True)
|
|
|
|
|
yield Placeholder("Shows Screen")
|
|
|
|
|
yield Footer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class DashboardScreen(Screen):
|
|
|
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
@ -433,6 +447,41 @@ def streams(filename):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ffx.command()
|
|
|
|
|
@click.pass_context
|
|
|
|
|
|
|
|
|
|
@click.argument('paths', nargs=-1)
|
|
|
|
|
|
|
|
|
|
@click.option('-sd', '--subtitle-directory', type=str, default='', help='Load subtitles from here')
|
|
|
|
|
@click.option('-sp', '--subtitle-prefix', type=str, default='', help='Subtitle filename prefix')
|
|
|
|
|
|
|
|
|
|
@click.option("-o", "--output-directory", type=str, default='')
|
|
|
|
|
|
|
|
|
|
@click.option("--dry-run", is_flag=True, default=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def unmux(ctx,
|
|
|
|
|
paths,
|
|
|
|
|
subtitle_directory,
|
|
|
|
|
subtitle_prefix,
|
|
|
|
|
output_directory,
|
|
|
|
|
dry_run):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ffx.command()
|
|
|
|
|
@click.pass_context
|
|
|
|
|
|
|
|
|
|
def shows(ctx):
|
|
|
|
|
|
|
|
|
|
app = ModesApp(ctx.obj)
|
|
|
|
|
app.run()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ffx.command()
|
|
|
|
|
@click.pass_context
|
|
|
|
|
|
|
|
|
|