Use getters for extractor items

This commit is contained in:
Coffeemakr 2017-12-08 15:05:08 +01:00
parent 1fe6da14ea
commit bb2af96deb
No known key found for this signature in database
GPG key ID: 3F35676D8FF6E743
27 changed files with 182 additions and 153 deletions

View file

@ -48,7 +48,7 @@ public class WatchHistoryEntry extends HistoryEntry {
}
public WatchHistoryEntry(StreamInfo streamInfo) {
this(new Date(), streamInfo.service_id, streamInfo.name, streamInfo.url,
this(new Date(), streamInfo.getServiceId(), streamInfo.getName(), streamInfo.getUrl(),
streamInfo.id, streamInfo.thumbnail_url, streamInfo.uploader_name, streamInfo.duration);
}