Skip to content

client.playMedia's offset parameter is ineffective #1460

@louis-pre

Description

@louis-pre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions