I have made a couple rules to unpublish then publish content when the conversion is complete. Is that the correct way todo it?
I have made a couple rules to unpublish then publish content when the conversion is complete. Is that the correct way todo it?
Comments
Comment #1
hypertext200yes
Comment #3
gumdrop commentedCan we get some examples of some rule sets? I presume to make this work properly as to the content showing up in the node we need to set this up in rules.
Comment #4
Jorrit commentedI'll look at everything related to Rules later.
Comment #5
Tsubo commentedNot sure if this is precisely the right place to post this issue, but it's related.
I'm using Zencoder and have implemented a rule to fire an email to the node author on the event 'after video encoding success' - which I assumed would fire when the video file is successfully returned from Zencoder (on postback). Since we are dealing with sometimes very large video files, this would be an extremely useful feature.
However, it appears as if the rule is firing on node save (i.e. successfully submitting the file to Zencoder)..... not after encoding success.
Since the rule action is irrelevant to the event condition - If you wanted to have videos published 'after encoding success' currently they would actually be published on node submit?
Comment #6
Tsubo commentedMore info re #5.
This only appears to be the case when using the option 'Video convert on node submit'. However, if we leave the video encoding to the queue, to be processed on Cron, the rule is still fired on when the cron run fires, i.e on successful 'submission'.... not encoding success (or on postback).
Comment #7
Jorrit commentedYou are absolutely right. Could you make a new bug for this?
Comment #8
Tsubo commentedHave opened a new issue re #5-7:
http://drupal.org/node/1698046
Thanks
Comment #9
Jorrit commentedIn 7.x-2.8 the Rules events will be fixed for Zencoder.
To answer the initial question: using the following Rule you can publish a node when it has finished transcoding: