ezrss/README.md

29 lines
947 B
Markdown
Raw Normal View History

2024-01-21 14:00:46 +00:00
# EZ RSS
This is a script that takes an MP4 file and turns it into two RSS feeds and a
simple HTML file.
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.
2024-01-21 14:07:14 +00:00
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
2024-01-21 14:10:30 +00:00
./publish.sh some_mp4_file_somewhere1.mp4 "Here is a description of this episode"
2024-01-21 14:07:14 +00:00
```