mirror of
https://github.com/danbee/mpd-client
synced 2025-03-04 08:39:09 +00:00
Fix song id.
This commit is contained in:
parent
280564c945
commit
38cb4e258e
@ -3,8 +3,7 @@ require './models/mpd_connection'
|
|||||||
class Song < Struct.new(:id, :artist, :album, :title, :playing)
|
class Song < Struct.new(:id, :artist, :album, :title, :playing)
|
||||||
|
|
||||||
def initialize(song, playing: false)
|
def initialize(song, playing: false)
|
||||||
@song = song
|
self.id = song.id
|
||||||
self.id = song.songid
|
|
||||||
self.artist = song.artist
|
self.artist = song.artist
|
||||||
self.album = song.album
|
self.album = song.album
|
||||||
self.title = song.title
|
self.title = song.title
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user