Class: KodiClient::Types::Audio::AudioDetailsSong
- Inherits:
-
Object
- Object
- KodiClient::Types::Audio::AudioDetailsSong
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable, AudioDetailsMedia
- Defined in:
- lib/kodi_client/types/audio/audio_details_song_type.rb
Overview
Audio.Details.Song kodi.wiki/view/JSON-RPC_API/v12#Audio.Details.Song
Instance Attribute Summary collapse
-
#album ⇒ Object
readonly
Returns the value of attribute album.
-
#album_artist ⇒ Object
readonly
Returns the value of attribute album_artist.
-
#album_artist_id ⇒ Object
readonly
Returns the value of attribute album_artist_id.
-
#album_id ⇒ Object
readonly
Returns the value of attribute album_id.
-
#album_release_type ⇒ Object
readonly
Returns the value of attribute album_release_type.
-
#bitrate ⇒ Object
readonly
Returns the value of attribute bitrate.
-
#bpm ⇒ Object
readonly
Returns the value of attribute bpm.
-
#channels ⇒ Object
readonly
Returns the value of attribute channels.
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#contributors ⇒ Object
readonly
Returns the value of attribute contributors.
-
#disc ⇒ Object
readonly
Returns the value of attribute disc.
-
#disc_title ⇒ Object
readonly
Returns the value of attribute disc_title.
-
#display_composer ⇒ Object
readonly
Returns the value of attribute display_composer.
-
#display_conductor ⇒ Object
readonly
Returns the value of attribute display_conductor.
-
#display_lyricist ⇒ Object
readonly
Returns the value of attribute display_lyricist.
-
#display_orchestra ⇒ Object
readonly
Returns the value of attribute display_orchestra.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#genre_id ⇒ Object
readonly
Returns the value of attribute genre_id.
-
#last_played ⇒ Object
readonly
Returns the value of attribute last_played.
-
#lyrics ⇒ Object
readonly
Returns the value of attribute lyrics.
-
#mood ⇒ Object
readonly
Returns the value of attribute mood.
-
#musicbrainz_artist_id ⇒ Object
readonly
Returns the value of attribute musicbrainz_artist_id.
-
#musicbrainz_track_id ⇒ Object
readonly
Returns the value of attribute musicbrainz_track_id.
-
#play_count ⇒ Object
readonly
Returns the value of attribute play_count.
-
#sample_rate ⇒ Object
readonly
Returns the value of attribute sample_rate.
-
#song_id ⇒ Object
readonly
Returns the value of attribute song_id.
-
#source_id ⇒ Object
readonly
Returns the value of attribute source_id.
-
#track ⇒ Object
readonly
Returns the value of attribute track.
Attributes included from AudioDetailsMedia
#artist, #artist_id, #display_artist, #musicbrainz_album_artist_id, #original_date, #rating, #release_date, #sort_artist, #title, #user_rating, #votes, #year
Attributes included from AudioDetailsBase
Attributes included from Media::MediaDetailsBase
Attributes included from Items::ItemDetailsBase
Instance Method Summary collapse
Methods included from Extensions::Creatable
arr_to_mapping, attr_accessor, attr_reader, attr_writer, create, create_list, extract_field_from_hash, fields_to_map, hash_to_arr, type_mapping
Methods included from Extensions::Comparable
Methods included from AudioDetailsMedia
#audio_details_media, #audio_details_media_by_hash, #audio_details_media_mappings, included
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
Constructor Details
#initialize(album, album_artist, album_artist_id, album_id, album_release_type, bitrate, bpm, channels, comment, contributors, disc, disc_title, display_composer, display_conductor, display_lyricist, display_orchestra, duration, file, genre_id, last_played, lyrics, mood, musicbrainz_artist_id, musicbrainz_track_id, play_count, sample_rate, song_id, source_id, track, 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) ⇒ AudioDetailsSong
Returns a new instance of AudioDetailsSong.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 28 def initialize(album, album_artist, album_artist_id, album_id, album_release_type, bitrate, bpm, channels, comment, contributors, disc, disc_title, display_composer, display_conductor, display_lyricist, display_orchestra, duration, file, genre_id, last_played, lyrics, mood, musicbrainz_artist_id, musicbrainz_track_id, play_count, sample_rate, song_id, source_id, track, 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) @album = album @album_artist = album_artist @album_artist_id = album_artist_id @album_id = album_id @album_release_type = album_release_type @bitrate = bitrate @bpm = bpm @channels = channels @comment = comment @contributors = contributors @disc = disc @disc_title = disc_title @display_composer = display_composer @display_conductor = display_conductor @display_lyricist = display_lyricist @display_orchestra = display_orchestra @duration = duration @file = file @genre_id = genre_id @last_played = last_played @lyrics = lyrics @mood = mood @musicbrainz_artist_id = musicbrainz_artist_id @musicbrainz_track_id = musicbrainz_track_id @play_count = play_count @sample_rate = sample_rate @song_id = song_id @source_id = source_id @track = track 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) end |
Instance Attribute Details
#album ⇒ Object (readonly)
Returns the value of attribute album.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def album @album end |
#album_artist ⇒ Object (readonly)
Returns the value of attribute album_artist.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def album_artist @album_artist end |
#album_artist_id ⇒ Object (readonly)
Returns the value of attribute album_artist_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def album_artist_id @album_artist_id end |
#album_id ⇒ Object (readonly)
Returns the value of attribute album_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def album_id @album_id end |
#album_release_type ⇒ Object (readonly)
Returns the value of attribute album_release_type.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def album_release_type @album_release_type end |
#bitrate ⇒ Object (readonly)
Returns the value of attribute bitrate.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def bitrate @bitrate end |
#bpm ⇒ Object (readonly)
Returns the value of attribute bpm.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def bpm @bpm end |
#channels ⇒ Object (readonly)
Returns the value of attribute channels.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def channels @channels end |
#comment ⇒ Object (readonly)
Returns the value of attribute comment.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def comment @comment end |
#contributors ⇒ Object (readonly)
Returns the value of attribute contributors.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def contributors @contributors end |
#disc ⇒ Object (readonly)
Returns the value of attribute disc.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def disc @disc end |
#disc_title ⇒ Object (readonly)
Returns the value of attribute disc_title.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def disc_title @disc_title end |
#display_composer ⇒ Object (readonly)
Returns the value of attribute display_composer.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def display_composer @display_composer end |
#display_conductor ⇒ Object (readonly)
Returns the value of attribute display_conductor.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def display_conductor @display_conductor end |
#display_lyricist ⇒ Object (readonly)
Returns the value of attribute display_lyricist.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def display_lyricist @display_lyricist end |
#display_orchestra ⇒ Object (readonly)
Returns the value of attribute display_orchestra.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def display_orchestra @display_orchestra end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def duration @duration end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def file @file end |
#genre_id ⇒ Object (readonly)
Returns the value of attribute genre_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def genre_id @genre_id end |
#last_played ⇒ Object (readonly)
Returns the value of attribute last_played.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def last_played @last_played end |
#lyrics ⇒ Object (readonly)
Returns the value of attribute lyrics.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def lyrics @lyrics end |
#mood ⇒ Object (readonly)
Returns the value of attribute mood.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def mood @mood end |
#musicbrainz_artist_id ⇒ Object (readonly)
Returns the value of attribute musicbrainz_artist_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def musicbrainz_artist_id @musicbrainz_artist_id end |
#musicbrainz_track_id ⇒ Object (readonly)
Returns the value of attribute musicbrainz_track_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def musicbrainz_track_id @musicbrainz_track_id end |
#play_count ⇒ Object (readonly)
Returns the value of attribute play_count.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def play_count @play_count end |
#sample_rate ⇒ Object (readonly)
Returns the value of attribute sample_rate.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def sample_rate @sample_rate end |
#song_id ⇒ Object (readonly)
Returns the value of attribute song_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def song_id @song_id end |
#source_id ⇒ Object (readonly)
Returns the value of attribute source_id.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def source_id @source_id end |
#track ⇒ Object (readonly)
Returns the value of attribute track.
12 13 14 |
# File 'lib/kodi_client/types/audio/audio_details_song_type.rb', line 12 def track @track end |