1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-02-02 12:19:16 +00:00

PlaylistMetadataEntry: add interface method to get the thumbnail Url

This commit is contained in:
Haggai Eran 2024-08-02 13:42:49 +03:00 committed by Siddhesh Naik
parent a1a288541d
commit f6dd49b71d
2 changed files with 7 additions and 0 deletions

View File

@ -10,4 +10,6 @@ public interface PlaylistLocalItem extends LocalItem {
long getUid(); long getUid();
void setDisplayIndex(long displayIndex); void setDisplayIndex(long displayIndex);
String getThumbnailUrl();
} }

View File

@ -71,4 +71,9 @@ public class PlaylistMetadataEntry implements PlaylistLocalItem {
public void setDisplayIndex(final long displayIndex) { public void setDisplayIndex(final long displayIndex) {
this.displayIndex = displayIndex; this.displayIndex = displayIndex;
} }
@Override
public String getThumbnailUrl() {
return thumbnailUrl;
}
} }