|
|
|
@ -45,9 +45,6 @@ namespace :video do
|
|
|
|
|
|
|
|
|
|
task :get_play_url => :environment do
|
|
|
|
|
Video.all.each do |video|
|
|
|
|
|
if video.uuid.present?
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
result = AliyunVod::Service.get_play_info(video.uuid) rescue nil
|
|
|
|
|
if result.present? && result["PlayInfoList"]["PlayInfo"].present?
|
|
|
|
|
puts result
|
|
|
|
|