| | |
| | | case "动漫": |
| | | videoType = VideoConstant.VIDEO_CATEGORY_DONGMAN; |
| | | break; |
| | | case "少儿": |
| | | videoType = 312; |
| | | break; |
| | | default: |
| | | return null; |
| | | } |
| | | |
| | | return (long) videoType; |
| | |
| | | String score = series.getScore(); |
| | | |
| | | String tag = ""; |
| | | VideoType videoType = new VideoType(getVideoType(series)); |
| | | Long videoTypeId = getVideoType(series); |
| | | if (videoTypeId == null) |
| | | return null; |
| | | VideoType videoType = new VideoType(videoTypeId); |
| | | |
| | | |
| | | //电影 |
| | | if (videoType.getId() == VideoConstant.VIDEO_CATEGORY_DIANYING) { |
| | |
| | | } else { |
| | | tag = series.getPublishTime().split(" ")[0]; |
| | | } |
| | | } else { |
| | | if ("1".equalsIgnoreCase(series.getSeriesCount())) { |
| | | tag = "评分:" + score; |
| | | } else { |
| | | if (series.getCurrentNum() != null && series.getSeriesCount().trim().equalsIgnoreCase(series.getCurrentNum().trim())) { |
| | | tag = series.getSeriesCount() + "集全"; |
| | | } else { |
| | | if (series.getCurrentNum() != null) |
| | | tag = "更新至" + series.getCurrentNum() + "集"; |
| | | else { |
| | | tag = "更新至" + series.getSeriesCount() + "集"; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | |