class PlexCLI::Server

Defined in:

plexcli/server.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(uri : URI, token : String) #

[View source]

Class Method Detail

def self.media_type(t : String) #

[View source]

Instance Method Detail

def add_playlist_item(playlist_id : String, item_uri : String) #

[View source]
def all_section_items(id : String) #

[View source]
def connection : HTTP::Client #

[View source]
def headers #

[View source]
def params #

[View source]
def playlist(id : String) #

[View source]
def playlists #

[View source]
def remove_playlist_item(playlist_id : String, item_id : String) #

[View source]
def section(id : String) #

[View source]
def section_items(id : String, query : Hash(String, String) = {} of String => String) #

[View source]
def sections #

[View source]
def set_collections(section_id : String, id : String, media_type : String, tags : Array(String), remove : Bool = false) #

[View source]
def set_media_metadata(section_id : String, id : String, media_type : String, metadata : Hash(String, String)) #

[View source]
def system #

[View source]
def token : String #

[View source]
def uri : URI #

[View source]