Module: KodiClient::Types::Video::VideoDetailsFile
- Includes:
- VideoDetailsItem
- Included in:
- List::ListItemBase
- Defined in:
- lib/kodi_client/types/video/video_details_file_type.rb
Overview
Video.Details.File kodi.wiki/view/JSON-RPC_API/v12#Video.Details.File
Instance Attribute Summary collapse
-
#director ⇒ Object
readonly
Returns the value of attribute director.
-
#resume ⇒ Object
readonly
Returns the value of attribute resume.
-
#runtime ⇒ Object
readonly
Returns the value of attribute runtime.
-
#stream_details ⇒ Object
readonly
Returns the value of attribute stream_details.
Attributes included from VideoDetailsItem
#date_added, #file, #last_played, #plot
Attributes included from VideoDetailsMedia
Attributes included from VideoDetailsBase
Attributes included from Media::MediaDetailsBase
Attributes included from Items::ItemDetailsBase
Instance Method Summary collapse
- #video_details_file(director, resume, runtime, stream_details, date_added, file, last_played, plot, title, art, play_count, fan_art, thumbnail, label) ⇒ Object
- #video_details_file_by_hash(hash) ⇒ Object
- #video_details_file_mappings ⇒ Object
Methods included from VideoDetailsItem
#video_details_item, #video_details_item_by_hash, #video_details_item_mappings
Methods included from VideoDetailsMedia
#video_details_media, #video_details_media_by_hash, #video_details_media_mappings
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
#director ⇒ Object (readonly)
Returns the value of attribute director.
10 11 12 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 10 def director @director end |
#resume ⇒ Object (readonly)
Returns the value of attribute resume.
10 11 12 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 10 def resume @resume end |
#runtime ⇒ Object (readonly)
Returns the value of attribute runtime.
10 11 12 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 10 def runtime @runtime end |
#stream_details ⇒ Object (readonly)
Returns the value of attribute stream_details.
10 11 12 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 10 def stream_details @stream_details end |
Instance Method Details
#video_details_file(director, resume, runtime, stream_details, date_added, file, last_played, plot, title, art, play_count, fan_art, thumbnail, label) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 26 def video_details_file(director, resume, runtime, stream_details, date_added, file, last_played, plot, title, art, play_count, fan_art, thumbnail, label) @director = director @resume = resume @runtime = runtime @stream_details = stream_details video_details_item(date_added, file, last_played, plot, title, art, play_count, fan_art, thumbnail, label) end |
#video_details_file_by_hash(hash) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 19 def video_details_file_by_hash(hash) video_details_file(*Extensions::Creatable.hash_to_arr(hash, %w[director resume runtime stream_details date_added file last_played plot title art play_count fan_art thumbnail label], video_details_file_mappings)) end |
#video_details_file_mappings ⇒ Object
12 13 14 15 16 17 |
# File 'lib/kodi_client/types/video/video_details_file_type.rb', line 12 def video_details_file_mappings [ ['resume', VideoResume], ['streamdetails', StreamDetails] ] + video_details_item_mappings end |