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

client.playMedia's offset parameter is ineffective

Open louis-pre opened this issue 1 year ago • 0 comments

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

louis-pre avatar Aug 24 '24 22:08 louis-pre