python-plexapi icon indicating copy to clipboard operation
python-plexapi copied to clipboard

Better Watch Together API

Open Wamy-Dev opened this issue 2 years ago • 0 comments

What is your feature request?

Alright, I know that this may not be big problem for a lot of people, but for the people who do need it, what is currently available, mainly #502 and the gist for the api but this really isn't good enough. Building a public way to use this api is very difficult, such as a discord bot. This feature request is mainly pertaining to using this for the masses rather than hard coding this into a python script such as env or variables. Here are my problems with it:

  • Getting the server identifier is pretty difficult for an average user making it hard to use.
  • Getting the rating key for the specific movie is quite difficult although it can be done when a user "selects" a movie so it's not as big of a deal
  • The biggest concern I have is getting the "users" portion of the request. Making a user enter all this data is exceptionally difficult. In plex there is a "Waiting Room" and that would be the best way to go about it. Instead of getting all the user data, why not just open up said waiting room and return a link, like in plex where you can text a link to a friend and they can click and join. Once the command is given, start the movie.

So in pseudocode of what it should be: plex logs into the user's account with data given > command to open a together session with a specific movie is run > plex opens the waiting room, and returns a link > if a user clicks the link, they are added to the waiting room and the session is updated to reflect etc. etc. > command is given to start the session, the link is now invalid, and the movie begins playing.

This would be the best way to "match all capabilities of the official Plex Web Client" regarding Watch Together Sessions. Please consider this as a feature in the near future, thank you.

Are there any workarounds?

#502 and the gist for the api

Code Snippets

No response

Additional Context

No response

Wamy-Dev avatar May 29 '22 06:05 Wamy-Dev