3 digits, windows install, no : in filename

This commit is contained in:
Beat Jäckle 2023-01-23 19:38:30 +01:00
parent 69d9aacef0
commit 64023d2ddd
3 changed files with 7 additions and 1 deletions

View file

@ -24,6 +24,12 @@ Place the root direcotry of this Git Repository next to the `HPMoR_Part_?.mp3` f
Install the requirements with pip inside the `hpmor_split` directory with Install the requirements with pip inside the `hpmor_split` directory with
`pip install -r requirements.txt` `pip install -r requirements.txt`
You'll need to install ffmpeg.
### Windows
I'd recommend using [chocolatey](https://chocolatey.org/install), there you can easy install [ffmpeg](https://community.chocolatey.org/packages/ffmpeg).
## Run ## Run
Then you can run the split.py inside the `hpmor_split` direcorty. Then you can run the split.py inside the `hpmor_split` direcorty.

Binary file not shown.

View file

@ -11,7 +11,7 @@ import asyncio
async def main(part, cid, time: dict, end, title, filenamemuster, fileformat): async def main(part, cid, time: dict, end, title, filenamemuster, fileformat):
utitle = title['t_'] utitle = title['t_']
title = title['t'] title = title['t']
filename = f'out/{cid}_{utitle}.{fileformat}' filename = f'out/{cid:03}_{utitle}.{fileformat}'
ffmpeg = ( ffmpeg = (
FFmpeg() FFmpeg()