mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Add the Open in browser option when long-pressing a stream for local and online playlists and for history
This commit is contained in:
parent
b9aaafdb30
commit
b4d6015464
@ -161,6 +161,7 @@ public class PlaylistFragment extends BaseListInfoFragment<PlaylistInfo> {
|
|||||||
StreamDialogEntry.share
|
StreamDialogEntry.share
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
entries.add(StreamDialogEntry.open_in_browser);
|
||||||
if (KoreUtil.shouldShowPlayWithKodi(context, item.getServiceId())) {
|
if (KoreUtil.shouldShowPlayWithKodi(context, item.getServiceId())) {
|
||||||
entries.add(StreamDialogEntry.play_with_kodi);
|
entries.add(StreamDialogEntry.play_with_kodi);
|
||||||
}
|
}
|
||||||
|
@ -358,6 +358,7 @@ public class StatisticsPlaylistFragment
|
|||||||
StreamDialogEntry.share
|
StreamDialogEntry.share
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
entries.add(StreamDialogEntry.open_in_browser);
|
||||||
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
|
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
|
||||||
entries.add(StreamDialogEntry.play_with_kodi);
|
entries.add(StreamDialogEntry.play_with_kodi);
|
||||||
}
|
}
|
||||||
|
@ -769,6 +769,7 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
|
|||||||
StreamDialogEntry.share
|
StreamDialogEntry.share
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
entries.add(StreamDialogEntry.open_in_browser);
|
||||||
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
|
if (KoreUtil.shouldShowPlayWithKodi(context, infoItem.getServiceId())) {
|
||||||
entries.add(StreamDialogEntry.play_with_kodi);
|
entries.add(StreamDialogEntry.play_with_kodi);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user