Module: KodiClient::Types::Audio::AudioDetailsMedia
- Includes:
- AudioDetailsBase
- Included in:
- AudioDetailsAlbum, AudioDetailsSong, List::ListItemBase
- Defined in:
- lib/kodi_client/types/audio/audio_details_media_type.rb
Overview
Audio.Details.Media kodi.wiki/view/JSON-RPC_API/v12#Audio.Details.Media
Instance Attribute Summary collapse
-
#artist ⇒ Object
readonly
Returns the value of attribute artist.
-
#artist_id ⇒ Object
readonly
Returns the value of attribute artist_id.
-
#display_artist ⇒ Object
readonly
Returns the value of attribute display_artist.
-
#musicbrainz_album_artist_id ⇒ Object
readonly
Returns the value of attribute musicbrainz_album_artist_id.
-
#original_date ⇒ Object
readonly
Returns the value of attribute original_date.
-
#rating ⇒ Object
readonly
Returns the value of attribute rating.
-
#release_date ⇒ Object
readonly
Returns the value of attribute release_date.
-
#sort_artist ⇒ Object
readonly
Returns the value of attribute sort_artist.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#user_rating ⇒ Object
readonly
Returns the value of attribute user_rating.
-
#votes ⇒ Object
readonly
Returns the value of attribute votes.
-
#year ⇒ Object
readonly
Returns the value of attribute year.
Attributes included from AudioDetailsBase
Attributes included from Media::MediaDetailsBase
Attributes included from Items::ItemDetailsBase
Class Method Summary collapse
Instance Method Summary collapse
- #audio_details_media(artist, artist_id, display_artist, musicbrainz_album_artist_id, original_date, rating, release_date, sort_artist, title, user_rating, votes, year, art, date_added, genre, fan_art, thumbnail, label) ⇒ Object
- #audio_details_media_by_hash(hash) ⇒ Object
- #audio_details_media_mappings ⇒ Object
Methods included from AudioDetailsBase
#audio_details_base, #audio_details_base_by_hash, #audio_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
#artist ⇒ Object (readonly)
Returns the value of attribute artist.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def artist @artist end |
#artist_id ⇒ Object (readonly)
Returns the value of attribute artist_id.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def artist_id @artist_id end |
#display_artist ⇒ Object (readonly)
Returns the value of attribute display_artist.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def display_artist @display_artist end |
#musicbrainz_album_artist_id ⇒ Object (readonly)
Returns the value of attribute musicbrainz_album_artist_id.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def musicbrainz_album_artist_id @musicbrainz_album_artist_id end |
#original_date ⇒ Object (readonly)
Returns the value of attribute original_date.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def original_date @original_date end |
#rating ⇒ Object (readonly)
Returns the value of attribute rating.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def @rating end |
#release_date ⇒ Object (readonly)
Returns the value of attribute release_date.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def release_date @release_date end |
#sort_artist ⇒ Object (readonly)
Returns the value of attribute sort_artist.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def sort_artist @sort_artist end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def title @title end |
#user_rating ⇒ Object (readonly)
Returns the value of attribute user_rating.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def @user_rating end |
#votes ⇒ Object (readonly)
Returns the value of attribute votes.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def votes @votes end |
#year ⇒ Object (readonly)
Returns the value of attribute year.
14 15 16 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 14 def year @year end |
Class Method Details
.included(base) ⇒ Object
10 11 12 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 10 def self.included(base) base.extend(self) end |
Instance Method Details
#audio_details_media(artist, artist_id, display_artist, musicbrainz_album_artist_id, original_date, rating, release_date, sort_artist, title, user_rating, votes, year, art, date_added, genre, fan_art, thumbnail, label) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 30 def audio_details_media(artist, artist_id, display_artist, musicbrainz_album_artist_id, original_date, , release_date, sort_artist, title, , votes, year, art, date_added, genre, fan_art, thumbnail, label) @artist = artist @artist_id = artist_id @display_artist = display_artist @musicbrainz_album_artist_id = musicbrainz_album_artist_id @original_date = original_date @rating = @release_date = release_date @sort_artist = sort_artist @title = title @user_rating = @votes = votes @year = year audio_details_base(art, date_added, genre, fan_art, thumbnail, label) end |
#audio_details_media_by_hash(hash) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 21 def audio_details_media_by_hash(hash) audio_details_media(*Extensions::Creatable.hash_to_arr(hash, %w[artist artist_id display_artist musicbrainz_album_artist_id original_date rating release_date sort_artist title user_rating votes year art date_added genre fan_art thumbnail label], audio_details_base_mappings)) end |
#audio_details_media_mappings ⇒ Object
17 18 19 |
# File 'lib/kodi_client/types/audio/audio_details_media_type.rb', line 17 def audio_details_media_mappings audio_details_base_mappings end |