restructure parser

This commit is contained in:
Christian Schabesberger 2016-02-02 18:43:20 +01:00
parent bad576c23d
commit d097363b24
12 changed files with 365 additions and 274 deletions

View file

@ -112,7 +112,7 @@ public class VideoItemDetailFragment extends Fragment {
public void run() {
try {
videoExtractor = service.getExtractorInstance(videoUrl, new Downloader());
VideoInfo videoInfo = videoExtractor.getVideoInfo();
VideoInfo videoInfo = VideoInfo.getVideoInfo(videoExtractor, new Downloader());
h.post(new VideoResultReturnedRunnable(videoInfo));
h.post(new SetThumbnailRunnable(
//todo: make bitmaps not bypass tor