python-plexapi
python-plexapi copied to clipboard
client.playMedia's offset parameter is ineffective
Describe the Bug
After calling client.playMedia(movie, offset=10000, the movie starts at its beginning.
Code Snippets
plex = plexapi.server.PlexServer(baseurl, token)
movie = plex.library.section("Movies").get("The Terminator")
client = plex.client("MyClientName")
client.playMedia(movie, offset=10000)
Expected Behavior
The movie should start at the 10s mark.
Additional Context
Calling client.seekTo(10000) shortly after the movie starts works as intended.
I have tested with both the LG WebOS app as client and the macOS HTPC app.
Operating System and Version
Ubuntu 22.04
Plex Media Server Version
1.40.5.8897
Python Version
3.12.5
PlexAPI Version
4.15.16