Add SoundCloud update and download tasks to Celery backend; requires airtime-celery reinstall
This commit is contained in:
parent
bf97c42167
commit
4f281a30ed
9 changed files with 131 additions and 83 deletions
|
@ -73,7 +73,7 @@ class Application_Service_PublishService {
|
|||
);
|
||||
}
|
||||
|
||||
/** @noinspection PhpUnusedPrivateMethodInspection
|
||||
/**
|
||||
* Reflective accessor for SoundCloud publication status for the
|
||||
* file with the given ID
|
||||
*
|
||||
|
@ -84,10 +84,11 @@ class Application_Service_PublishService {
|
|||
*/
|
||||
private static function getSoundCloudPublishStatus($fileId) {
|
||||
$soundcloudService = new Application_Service_SoundcloudService();
|
||||
return ($soundcloudService->getServiceId($fileId) != 0);
|
||||
return ($soundcloudService->referenceExists($fileId));
|
||||
}
|
||||
|
||||
/** @noinspection PhpUnusedPrivateMethodInspection
|
||||
/**
|
||||
*
|
||||
* Reflective accessor for Station podcast publication status for the
|
||||
* file with the given ID
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue