tube.setTags(TagHelper.youTag(tube.getTitle() + " "
+ tube.getDescription()));
tube.setOtherTags(TagHelper.getOtherTag(tube.getTags()));
tube.setBumpPoint(Calendar.getInstance().getTimeInMillis() / 1000);
if (ChannelModel.getById(tube.getChannelId()) == null) {
Channel channel = new Channel();
channel.setId(tube.getChannelId());
channel.setTitle(tube.getChannelName());
channel.setDescription(tube.getChannelName());
channel.setDoc(Calendar.getInstance().getTime());
channel.setUpdated(Calendar.getInstance().getTime());
channel.setBumpPoint(Calendar.getInstance().getTimeInMillis() / 1000);
channel.setStatus(1);
ChannelModel.insert(channel);
}
return tube;
}