MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / getSubs

Method getSubs

app/src/main/java/com/github/catvod/spider/Push.java:61–66  ·  view source on GitHub ↗
(String url)

Source from the content-addressed store, hash-verified

59 }
60
61 private List<Sub> getSubs(String url) {
62 List<Sub> subs = new ArrayList<>();
63 if (url.startsWith("file://")) setFileSub(url, subs);
64 if (url.startsWith("http://")) setHttpSub(url, subs);
65 return subs;
66 }
67
68 private void setHttpSub(String url, List<Sub> subs) {
69 List<String> vodTypes = Arrays.asList("mp4", "mkv");

Callers 1

playerContentMethod · 0.95

Calls 2

setFileSubMethod · 0.95
setHttpSubMethod · 0.95

Tested by

no test coverage detected