Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    postSessionsByIdPlaying

    Instructs a session to play an item

    Requires authentication as user

    postSessionsByIdPlaying

    Request
    post /Sessions/{Id}/Playing
    Parameters
    Name In Type Default Notes
    *Id path

    Session Id

    *ItemIds query

    The ids of the items to play, comma delimited

    StartPositionTicks query

    The starting position of the first item.

    *PlayCommand query

    The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.

    *body body PlayRequest

    PlayRequest:

    Responses
    Status Code Type Description Samples
    200

    Operation successful. Response content unknown.

    400

    Bad Request. Server cannot process request.

    401

    Unauthorized. Client needs to authenticate.

    403

    Forbidden. No permission for the reqested operation.

    404

    Resource not found or unavailable.

    500

    Server error.

    Definitions

    PlayRequest

    see also MediaBrowser.Model.Session.PlayRequest

    Name Type Notes
    ControllingUserId string

    The controlling user identifier.

    SubtitleStreamIndex integer (int32)
    AudioStreamIndex integer (int32)
    MediaSourceId string
    StartIndex integer (int32)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.