LBRYFoundation / Watch-on-LBRY

Plugin for web browser that automatic check if YouTube video is on LBRY
GNU General Public License v3.0
78 stars 19 forks source link

Redirect reloads YouTube.com and redirects again... and again... #102

Closed WolfIcefang closed 2 years ago

WolfIcefang commented 2 years ago

Describe the bug A clear and concise description of what the bug is. I have Watch on LBRY set to redirect me to the LBRY Desktop app. When I go to a YouTube page, for example, https://www.youtube.com/watch?v=jCkhbKFZgLk&t=1s The LBRY app opens, then YouTube refreshes. When YouTube, refreshes, the LBRY app opens again. If LBRY was already open, it reloads the current page to show the video. This loop is infinite until you close the YouTube tab.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.youtube.com/watch?v=jCkhbKFZgLk&t=1s
  2. The Watch on LBRY extension will launch the LBRY app and then reload the current tab
  3. The Watch on LBRY extension will see that you are going to https://www.youtube.com/watch?v=jCkhbKFZgLk&t=1s
  4. The Watch on LBRY extension will launch the LBRY app and then reload the current tab...
  5. The watch on LBRY extension will see that you are going to https://www.youtube.com/watch?v=jCkhbKFZgLk&t=1s
  6. etc.
  7. Sometimes when you close the YouTube tab it will reopen on its own because of how quickly it is refreshing.

Expected behavior A clear and concise description of what you expected to happen. I expect the Watch on LBRY extension to open the LBRY app and then load a different website so that the loop is not repeated.

Screenshots If applicable, add screenshots to help explain your problem. Sorry about the amateur screen recording. I couldn't get OBS to work on my laptop. https://photos.app.goo.gl/LMgNjdQygMf86pv59

Desktop (please complete the following information):

Additional context This bug is really annoying because it slows down my PC and makes it hard for me to even get to the YouTube tab to close it. Once it actually started playing the video in LBRY... all of them that had been loaded. At the same time. While I want to get to the bottom of the issue, I do not want to keep triggering the bug unless I'm looking for some specific behavior to document.

WolfIcefang commented 2 years ago

This issue has fixed itself now that I have Watch on LBRY 1.7.7. I am going to close the issue.