Plex_Server_Library_Item_MediaInterface
interface Plex_Server_Library_Item_MediaInterface
Interface that defines the structure of item media info.
Methods
Returns the ID of the media info.
Sets the ID of the media info.
Returns the length of the file.
Sets the length of the file.
Returns the bitrate of the file.
Sets the bitrate of the file.
Returns the width of the file's video.
Sets the width of the file's video.
Returns the height of the file's video.
Sets the height of the file's video.
Returns the aspect ratio of the file's video.
Sets the aspect ratio of the file's video.
Returns the video resolution of the file's video.
Sets the video resolution of the file's video.
Returns the container of the file.
Sets the container of the file.
Returns the frame rate of the file's video
Sets the frame rate of the file's video
Returns the files associated with the item.
Details
at line 49
integer
getId()
Returns the ID of the media info.
at line 58
void
setId(integer $id)
Sets the ID of the media info.
at line 65
integer
getDuration()
Returns the length of the file.
at line 74
void
setDuration(integer $duration)
Sets the length of the file.
at line 81
integer
getBitrate()
Returns the bitrate of the file.
at line 90
void
setBitrate(integer $bitrate)
Sets the bitrate of the file.
at line 97
integer
getWidth()
Returns the width of the file's video.
at line 106
void
setWidth(integer $width)
Sets the width of the file's video.
at line 113
integer
getHeight()
Returns the height of the file's video.
at line 122
void
setHeight(integer $height)
Sets the height of the file's video.
at line 129
float
getAspectRatio()
Returns the aspect ratio of the file's video.
at line 138
void
setAspectRatio(float $aspectRatio)
Sets the aspect ratio of the file's video.
at line 145
integer
getVideoResolution()
Returns the video resolution of the file's video.
at line 154
void
setVideoResolution(integer $videoResolution)
Sets the video resolution of the file's video.
at line 161
string
getContainer()
Returns the container of the file.
at line 170
void
setContainer(string $container)
Sets the container of the file.
at line 177
string
getVideoFrameRate()
Returns the frame rate of the file's video
at line 186
void
setVideoFrameRate(string $videoFrameRate)
Sets the frame rate of the file's video
at line 193
Plex_Server_Library_Item_Media_File[]
getFiles()
Returns the files associated with the item.
at line 202
void
setFiles(Plex_Server_Library_Item_Media_File[] $files)
Sets the files associated with the item.