Module: KodiClient::Types::Video::VideoDetailsMedia
- Includes:
- VideoDetailsBase
- Included in:
- VideoDetailsItem
- Defined in:
- lib/kodi_client/types/video/video_details_media_type.rb
Overview
Video.Details.Media kodi.wiki/view/JSON-RPC_API/v12#Video.Details.Media
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Attributes included from VideoDetailsBase
Attributes included from Media::MediaDetailsBase
Attributes included from Items::ItemDetailsBase
Instance Method Summary collapse
- #video_details_media(title, art, play_count, fan_art, thumbnail, label) ⇒ Object
- #video_details_media_by_hash(hash) ⇒ Object
- #video_details_media_mappings ⇒ Object
Methods included from VideoDetailsBase
#video_details_base, #video_details_base_by_hash, #video_details_base_mappings
Methods included from Media::MediaDetailsBase
#media_details_base, #media_details_base_by_hash, #media_details_base_mappings
Methods included from Items::ItemDetailsBase
#item_details_base, #item_details_base_by_hash, #item_details_base_mappings
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
10 11 12 |
# File 'lib/kodi_client/types/video/video_details_media_type.rb', line 10 def title @title end |
Instance Method Details
#video_details_media(title, art, play_count, fan_art, thumbnail, label) ⇒ Object
21 22 23 24 |
# File 'lib/kodi_client/types/video/video_details_media_type.rb', line 21 def video_details_media(title, art, play_count, fan_art, thumbnail, label) @title = title video_details_base(art, play_count, fan_art, thumbnail, label) end |
#video_details_media_by_hash(hash) ⇒ Object
16 17 18 19 |
# File 'lib/kodi_client/types/video/video_details_media_type.rb', line 16 def video_details_media_by_hash(hash) video_details_media(*Extensions::Creatable.hash_to_arr(hash, %w[title art play_count fan_art thumbnail label]), video_details_base_mappings) end |
#video_details_media_mappings ⇒ Object
12 13 14 |
# File 'lib/kodi_client/types/video/video_details_media_type.rb', line 12 def video_details_media_mappings video_details_base_mappings end |