1
0
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:
TiA4f8R 2021-05-13 17:45:51 +02:00
parent b9aaafdb30
commit b4d6015464
No known key found for this signature in database
GPG Key ID: E6D3E7F5949450DD
3 changed files with 3 additions and 0 deletions

View File

@ -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);
} }

View File

@ -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);
} }

View File

@ -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);
} }