Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Video as Watched When Using External Player #424

Merged
merged 4 commits into from
Aug 14, 2023

Conversation

jaruba
Copy link
Member

@jaruba jaruba commented Jul 11, 2023

No description provided.

@jaruba jaruba requested review from tymmesyde and TRtomasz July 11, 2023 09:26
TRtomasz
TRtomasz previously approved these changes Jul 11, 2023
Copy link
Member

@TRtomasz TRtomasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be working although not sure if i'm a fan of marking as watched right after you start playing something

@jaruba
Copy link
Member Author

jaruba commented Jul 11, 2023

@TRtomasz there is no other option except marking it as watched immediately, any other case is error prone, maybe the user won't even go back to the web app and will close the entire browser, then it won't be marked as watched at all

@tymmesyde
Copy link
Member

tymmesyde commented Jul 12, 2023

Tested and works, maybe we should also do that for the player feature ?
https://github.com/Stremio/stremio-web/blob/development/src/routes/Player/OptionsMenu/OptionsMenu.js#L56

And maybe it's better in that case to do that when we receive the event PlayingOnDevice from core instead of putting functions in each components:
https://github.com/Stremio/stremio-web/blob/development/src/App/App.js#L97

@unclekingpin
Copy link
Contributor

Tested and works, maybe we should also do that for the player feature ? https://github.com/Stremio/stremio-web/blob/development/src/routes/Player/OptionsMenu/OptionsMenu.js#L56

And maybe it's better in that case to do that when we receive the event PlayingOnDevice from core instead of putting functions in each components: https://github.com/Stremio/stremio-web/blob/development/src/App/App.js#L97

That could be implemented within core itself

@TRtomasz
Copy link
Member

@unclekingpin does it require retesting? i see no logic has changed after your commits

@jaruba
Copy link
Member Author

jaruba commented Jul 18, 2023

@TRtomasz we should always re-test for safety

Copy link
Member

@TRtomasz TRtomasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, it works when opening in vlc but i no longer see option to mark it as watched/unwatched manually, i'm like 50% sure it was there before

@tymmesyde
Copy link
Member

hm, it works when opening in vlc but i no longer see option to mark it as watched/unwatched manually, i'm like 50% sure it was there before

This bug was introduced in a previous PR and only happens on Firefox, see #428

@jaruba
Copy link
Member Author

jaruba commented Jul 19, 2023

@TRtomasz you mean this? #418

@TRtomasz
Copy link
Member

TRtomasz commented Jul 19, 2023

@jaruba
image
this, it is gone with this PR, couldn't open this menu
...
checked once again, yes context menu with this function is gone now

@TRtomasz TRtomasz self-requested a review July 21, 2023 09:11
TRtomasz
TRtomasz previously approved these changes Jul 21, 2023
Copy link
Member

@TRtomasz TRtomasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving as context menu is fixed here #428

@tymmesyde
Copy link
Member

Tested and works, maybe we should also do that for the player feature ? https://github.com/Stremio/stremio-web/blob/development/src/routes/Player/OptionsMenu/OptionsMenu.js#L56
And maybe it's better in that case to do that when we receive the event PlayingOnDevice from core instead of putting functions in each components: https://github.com/Stremio/stremio-web/blob/development/src/App/App.js#L97

That could be implemented within core itself

The only way i can see this implemented easily in core is by passing the video id to the PlayOnDevice action as well, not sure if this is a good design since it has nothing to do with the streaming server

@jaruba jaruba merged commit 7ff04d7 into development Aug 14, 2023
@elpiel elpiel deleted the mark-external-video-as-watched branch August 14, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants