✎ Episode publishing route
Goal
Turn one approved audio file into a scheduled show entry while keeping the team archive current.
How it works
- Starts when a producer submits a briefing.
- Checks the title, audio and release details.
- Uploads media and builds the public feed record.
- Saves an audit copy for the studio.
↖
When briefing arrives
Watch the producer intake for a newly approved episode.
Trigger
- Approval changed
- Audio attached
- Release date set
✓
Validate fields
Confirm the briefing has the details needed to publish safely.
Checks
- Title and summary
- Audio format
- Visibility state
ready === true
▤
Read audio file
Load the approved master and prepare its metadata.
Outputs
- Audio bytes
- Duration
- Media type
▲
Upload to CloudHarbor
Store the master in the studio’s delivery folder.
Settings
- Archive by season
- Keep source name
- Return public link
↗
Set public URL
Apply a share-safe URL to the episode record.
Expected
- Secure link ready
- No editor access
- Download allowed
≋
Fetch studio feed
Read the latest EchoCast catalogue before adding the new show.
Inputs
- Series key
- Season filter
- Latest record
{ }
Build episode record
Merge the briefing and file link into a clean feed object.
{ title, audioUrl,
releaseAt, notes }
+
Create show entry
Add the validated episode to EchoCast with its final schedule.
Result
- Draft created
- Audio attached
- Release queued