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
Get the URL to stream a video #7
Comments
I'm curious about this request. How are you using this url? I assumed it would only be useful with a proper plea client. |
The response of the URL is a video stream that you can simply pass to VLC, MPV or many other video players. It works quite well. |
@mjs7231 Looking into it a bit further, the stream is: h264, aac I'm guessing this is because X-Plex-Platform is set to Chrome |
NOTE: With commit 43e99e9 you can now specify the headers including X-Plex-Platform via an ini file. |
I can't get this to stream in VLC, not sure what I'm doing wrong here. :( |
@mjs7231 Can you paste the URL? (feel free to scrub the IP) 😃 |
Here is the command I am trying to run.
EDIT: HEYA! -- I got it with this URL. turns out it was also including the /library/metadata part twice.
|
I added this without using a separate StreamURL object. The function Video.getStreamURL was added using your code as the example, thanks! commit 527b0ee |
Is this method still available on Movie objects or has it passed to otther type of objects? If it's still available on Movie objects what is the code to get it? server=PlexServer( ( HOST+':'+str(PORT) ), PLEX_TOKEN)
mov=server.library.section('Movies').get('mov1')
print(mov.getStreamUrl()) |
@ZePaiva Method is still working. Please provide more information like the entire error. Also create a new issue or use the Python-PlexAPI Discord. |
No description provided.
The text was updated successfully, but these errors were encountered: