better readme

This commit is contained in:
Moon Man 2024-01-21 09:07:14 -05:00
parent 5cfb5cb240
commit 80c6f06360
1 changed files with 20 additions and 1 deletions

View File

@ -8,3 +8,22 @@ Title and description are added to the file metadata.
Files are in order that you ran the script. So, if you run the script on a Files are in order that you ran the script. So, if you run the script on a
file more than once, it will change the publish date which may cause chaos. file more than once, it will change the publish date which may cause chaos.
This could be improved but keeping it simple for now. This could be improved but keeping it simple for now.
## Usage
This program requires ffmpeg and exiftool to be installed. It works under Linux
and MacOS.
copy env.example to .env and modify it as needed. Navigate to directory in
shell.
Create a "public_html" directory, or change .env to point to where you want the
files dumped.
Somewhere on your filesystem you should have an .mp4 file. The filename should
be: whatever1.mp4 where whatever can be anything, and 1 is the episode number.
Your file will be copied to the new location.
```shell
./publish.sh some_mp4_file_somewhere.mp4 "Here is a description of this episode"
```