trms / wp-cablecast

A Wordpress plugin for Cablecast
GNU General Public License v3.0
2 stars 6 forks source link

VOD URL before file is finished trasncoding #16

Open bryanharley opened 5 years ago

bryanharley commented 5 years ago

I use a custom query to get the show info, including VOD URL. To see if the VOD exists, I check if the "cablecast_vod_url" value is empty.

But it appears that when a VOD file is being transcoded, it inserts "http://reflect.vod.xxxx.cablecast.tv/vod/" as the URL. I noticed sometimes even the full VOD URL will get inserted before the transcoding is finished.

So might this be a bug on the Cablecast side if it's assigning the URL before the file is finished transcoding?

raytiley commented 5 years ago

Hmm...Need to noodle on this.. the URL is eventually correct, the vod status does have a property for state, so the plugin could use that... The VODs api isn't awesome for consumers that didn't write it :P

bryanharley commented 4 years ago

I'm not sure how it works on the Cablecast side, but what about not assigning the URL until after the VOD file finishes encoding?