better readme
This commit is contained in:
parent
5cfb5cb240
commit
80c6f06360
19
README.md
19
README.md
|
@ -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
|
||||
file more than once, it will change the publish date which may cause chaos.
|
||||
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"
|
||||
```
|
Loading…
Reference in New Issue