mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-20 18:07:38 +00:00
@@ -62,30 +62,23 @@ public enum StreamDialogEntry {
|
|||||||
* Info: Add this entry within showStreamDialog.
|
* Info: Add this entry within showStreamDialog.
|
||||||
*/
|
*/
|
||||||
enqueue(R.string.enqueue_stream, (fragment, item) -> {
|
enqueue(R.string.enqueue_stream, (fragment, item) -> {
|
||||||
fetchItemInfoIfSparse(fragment, item,
|
fetchItemInfoIfSparse(fragment, item, fullItem ->
|
||||||
fullItem -> NavigationHelper.enqueueOnPlayer(fragment.getContext(), fullItem)
|
NavigationHelper.enqueueOnPlayer(fragment.getContext(), fullItem));
|
||||||
);
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
enqueue_next(R.string.enqueue_next_stream, (fragment, item) -> {
|
enqueue_next(R.string.enqueue_next_stream, (fragment, item) -> {
|
||||||
fetchItemInfoIfSparse(fragment, item,
|
fetchItemInfoIfSparse(fragment, item, fullItem ->
|
||||||
fullItem -> NavigationHelper.enqueueNextOnPlayer(fragment.getContext(), fullItem)
|
NavigationHelper.enqueueNextOnPlayer(fragment.getContext(), fullItem));
|
||||||
);
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
start_here_on_background(R.string.start_here_on_background, (fragment, item) -> {
|
start_here_on_background(R.string.start_here_on_background, (fragment, item) -> {
|
||||||
fetchItemInfoIfSparse(fragment, item,
|
fetchItemInfoIfSparse(fragment, item, fullItem ->
|
||||||
fullItem -> {
|
NavigationHelper.playOnBackgroundPlayer(fragment.getContext(), fullItem, true));
|
||||||
NavigationHelper.playOnBackgroundPlayer(fragment.getContext(),
|
|
||||||
fullItem, true);
|
|
||||||
});
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
start_here_on_popup(R.string.start_here_on_popup, (fragment, item) -> {
|
start_here_on_popup(R.string.start_here_on_popup, (fragment, item) -> {
|
||||||
fetchItemInfoIfSparse(fragment, item, fullItem -> {
|
fetchItemInfoIfSparse(fragment, item, fullItem ->
|
||||||
NavigationHelper.playOnPopupPlayer(fragment.getContext(),
|
NavigationHelper.playOnPopupPlayer(fragment.getContext(), fullItem, true));
|
||||||
fullItem, true);
|
|
||||||
});
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
set_as_playlist_thumbnail(R.string.set_as_playlist_thumbnail, (fragment, item) -> {
|
set_as_playlist_thumbnail(R.string.set_as_playlist_thumbnail, (fragment, item) -> {
|
||||||
|
Reference in New Issue
Block a user