mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
podcast url
This commit is contained in:
@@ -282,6 +282,7 @@ const packageEvent = (eventId) => {
|
||||
const downloadUrl = 'https://' + s3_endpoint + "/" + s3_bucket + "/" + s3ZipFile;
|
||||
const podcastUrl = 'https://' + s3_endpoint + "/" + s3_bucket + "/" + s3PodcastFile;
|
||||
event.downloadUrl = downloadUrl;
|
||||
event.podcastUrl = podcastUrl;
|
||||
await event.save();
|
||||
await createPodcast(tmpEventFolder, podcastFile, event);
|
||||
await uploadFile(podcastFile,s3PodcastFile);
|
||||
|
||||
@@ -9,6 +9,7 @@ var eventSchema = mongoose.Schema({
|
||||
startTime: Date,
|
||||
endTime: Date,
|
||||
downloadUrl: String,
|
||||
podcastUrl: String,
|
||||
shortNames: [String],
|
||||
calls: [frozenCallSchema],
|
||||
numCalls: Number
|
||||
|
||||
Reference in New Issue
Block a user