use of org.storymaker.app.model.Job in project storymaker by StoryMaker.
the class PreviewPublisher method startRender.
public void startRender() {
Timber.d("startRender");
Job videoRenderJob = new Job(mContext, mPublishJob.getProjectId(), mPublishJob.getId(), JobTable.TYPE_RENDER, SITE_KEY, VideoRenderer.SPEC_KEY);
mController.enqueueJob(videoRenderJob);
}
use of org.storymaker.app.model.Job in project storymaker by StoryMaker.
the class S3Publisher method startUpload.
public void startUpload() {
Timber.d("startUpload");
Job newJob = new Job(mContext, mPublishJob.getProjectId(), mPublishJob.getId(), JobTable.TYPE_UPLOAD, Auth.SITE_S3, null);
mController.enqueueJob(newJob);
}
use of org.storymaker.app.model.Job in project storymaker by StoryMaker.
the class StoryMakerPublisher method startUpload.
public void startUpload() {
Timber.d("startUpload");
// FIXME hardcoded to youtube?
Job newJob = new Job(mContext, mPublishJob.getProjectId(), mPublishJob.getId(), JobTable.TYPE_UPLOAD, Auth.SITE_YOUTUBE, null);
mController.enqueueJob(newJob);
}
use of org.storymaker.app.model.Job in project storymaker by StoryMaker.
the class StoryMakerPublisher method startRender.
public void startRender() {
Timber.d("startRender");
// TODO should detect if user is directly publishing to youtube so we don't double publish to there
Job videoRenderJob = new Job(mContext, mPublishJob.getProjectId(), mPublishJob.getId(), JobTable.TYPE_RENDER, null, VideoRenderer.SPEC_KEY);
mController.enqueueJob(videoRenderJob);
}
use of org.storymaker.app.model.Job in project storymaker by StoryMaker.
the class YoutubePublisher method startUpload.
@Override
public void startUpload() {
Timber.d("startUpload()");
Job newJob = new Job(mContext, mPublishJob.getProjectId(), mPublishJob.getId(), JobTable.TYPE_UPLOAD, Auth.SITE_YOUTUBE, null);
mController.enqueueJob(newJob);
}
Aggregations