@@ -35,13 +35,13 @@ npm install
3535The ` update-episodes-metadata ` script automatically processes podcast episodes and updates their metadata. It:
3636
3737- Reads episode markdown files from ` content/episodes/ `
38- - Finds corresponding audio files in the ` podcasts /` directory
38+ - Finds corresponding audio files in the local ` episodes /` directory
3939- Extracts audio duration, file size, and generates MD5 hash
4040- Updates episode frontmatter with this metadata
4141- Embeds podcast metadata (title, artist, album, etc.) into audio files using ID3 tags
4242- Uses album art from ` static/album-art.jpg `
4343
44- ** Note:** The ` podcasts /` directory containing audio files is not committed to this repository.
44+ ** Note:** The local ` episodes /` directory containing audio files is not committed to this repository.
4545
4646To run the script:
4747
@@ -53,14 +53,14 @@ npm run update-episodes-metadata
5353
5454The ` sync-episodes ` script uploads podcast audio files to a specified S3 bucket. It:
5555
56- - Reads MP3 files from the ` podcasts /` directory
56+ - Reads MP3 files from the local ` episodes /` directory
5757- Compares local file hashes with S3 ETags to detect changes
5858- Uploads only new or modified files to the specified S3 bucket
5959- Provides dry-run mode to preview uploads without making changes
6060- Sets correct ` audio/mpeg ` content type for podcast files
6161- Includes verbose logging for detailed upload information
6262
63- ** Note:** The ` podcasts /` directory containing audio files is not committed to this repository.
63+ ** Note:** The local ` episodes /` directory containing audio files is not committed to this repository.
6464
6565** Prerequisites:** AWS credentials must be configured via environment variables, AWS CLI, or IAM role.
6666
0 commit comments