mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-25 10:47:51 +00:00
Fixed invalid local file url
This commit is contained in:
@@ -46,9 +46,12 @@ namespace PodNoms.Api.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
var infoJobId = BackgroundJob.Enqueue<IUrlProcessService>(service => service.GetInformation(entry.Id));
|
||||
var extract = BackgroundJob.ContinueWith<IUrlProcessService>(infoJobId, service => service.DownloadAudio(entry.Id));
|
||||
var upload = BackgroundJob.ContinueWith<IAudioUploadProcessService>(extract, service => service.UploadAudio(entry.Id, entry.AudioUrl));
|
||||
var infoJobId = BackgroundJob.Enqueue<IUrlProcessService>(
|
||||
service => service.GetInformation(entry.Id));
|
||||
var extract = BackgroundJob.ContinueWith<IUrlProcessService>(
|
||||
infoJobId, service => service.DownloadAudio(entry.Id));
|
||||
var upload = BackgroundJob.ContinueWith<IAudioUploadProcessService>(
|
||||
extract, service => service.UploadAudio(entry.Id, entry.AudioUrl));
|
||||
}
|
||||
catch (InvalidOperationException ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user