Newpipe: Sharing to Newpipe fails if stream already playing

Created on 5 Oct 2020  路  8Comments  路  Source: TeamNewPipe/NewPipe

Checklist

Steps to reproduce the bug

  1. Play a video in popup or background (or make sure main player minimises to one of them)
  2. Switch to another app.
  3. Share a link to Newpipe/Open a link that would open in Newpipe.

Actual behaviour

The currently playing video opens, not the shared one.

Expected behavior

The shared video should open. This only happens now if the notification is absent (main player is paused and you're in another app).

bug player

Most helpful comment

Oh, that's true, I'll investigate further tomorrow

All 8 comments

What happens now is, if there is already a playing queue, the video is enqueued. Isn't this the expected behaviour? Otherwise the queue would be gone on share

Hmmm. Then we need a toast saying "added to queue" or that alert dialog we already have elsewhere "Playing this will erase your queue" or some other solution.

Anyway, this problem should only exist if autoplay is on. Opening Show Info by itself should still work correctly. That's not interfering with the stream, only adding a video page to the backstack.

Oh, that's true, I'll investigate further tomorrow

I've the same issue

What happens now is, if there is already a playing queue, the video is enqueued

I just tried to do double-check, and it seems the video I shared didn't even get added to the background queue.

I would at least expect the info about the shared video to show up on screen (so that I can _manually_ decide to add it to the queue or do other stuff with it), but that doesn't happen either.

@Stypox

What happens now is, if there is already a playing queue, the video is enqueued. Isn't this the expected behaviour?

111

None of these options are titled "enqueue in...", so this behavior is incorrect for all of them. Expected behavior for "Show info" would be to always show video info (obviously), and for the player options to start playback of the selected video. For the sake of consistency, adding to the queue from this menu could be done by long press on one of the player options - the same way it works on the video details page.

For the sake of consistency, adding to the queue from this menu could be done by long press on one of the player options - the same way it works on the video details page.

Doesn't it? I think it does work that way.

Hmm, it seems like you're right, but long press works only after the menu option is selected by tapping on it first.

Was this page helpful?
0 / 5 - 0 ratings