Browse Source

fixed yt, ts and save

pull/253/head
Jonathan Dunn 8 months ago
parent
commit
ba163f02b2
  1. 7
      helper_files/README.md
  2. 6
      helper_files/__init__.py
  3. 2
      installer/__init__.py
  4. 3
      installer/client/cli/__init__.py
  5. 0
      installer/client/cli/save.py
  6. 0
      installer/client/cli/ts.py
  7. 0
      installer/client/cli/yt.py
  8. 6
      pyproject.toml

7
helper_files/README.md

@ -38,8 +38,7 @@ windows:
download instructions https://www.ffmpeg.org/download.html
```
```bash
````bash
ts -h
usage: ts [-h] audio_file
@ -75,7 +74,8 @@ options:
-t, TAG, --tag TAG add an additional frontmatter tag. Use this argument multiple timesfor multiple tags
-n, --nofabric don't use the fabric tags, only use tags from --tag
-s, --silent don't use STDOUT for output, only save to the file
```
````
### example
```bash
@ -89,4 +89,3 @@ tags: fabric-extraction stub-for-name extra-tag
---
test
```

6
helper_files/__init__.py

@ -1,3 +1,3 @@
from .ts import main as main_ts
from .yt import main as main_yt
from .save import cli as main_save
from ..installer.client.cli.ts import main as main_ts
from ..installer.client.cli.yt import main as main_yt
from ..installer.client.cli.save import cli as main_save

2
installer/__init__.py

@ -1,4 +1,4 @@
from .client.cli import main as cli
from .client.cli import main as cli, main_save, main_ts, main_yt
from .server import (
run_api_server,
run_webui_server,

3
installer/client/cli/__init__.py

@ -1 +1,4 @@
from .fabric import main
from .yt import main as main_yt
from .ts import main as main_ts
from .save import cli as main_save

0
helper_files/save.py → installer/client/cli/save.py

0
helper_files/ts.py → installer/client/cli/ts.py

0
helper_files/yt.py → installer/client/cli/yt.py

6
pyproject.toml

@ -67,6 +67,6 @@ build-backend = "poetry.core.masonry.api"
fabric = 'installer:cli'
fabric-api = 'installer:run_api_server'
fabric-webui = 'installer:run_webui_server'
ts = 'helper_files:main_ts'
yt = 'helper_files:main_yt'
save = 'helper_files:main_save'
ts = 'installer:main_ts'
yt = 'installer:main_yt'
save = 'installer:main_save'

Loading…
Cancel
Save