remove unused PlaylistPos from player status
This commit is contained in:
@@ -322,9 +322,6 @@ func (p *Player) GetStatus() player.Status {
|
||||
if dur != nil {
|
||||
p.status.Duration = dur.(float64)
|
||||
}
|
||||
if playpos, err := p.getInt64Property("playlist-pos"); err == nil {
|
||||
p.status.PlaylistPos = int(playpos)
|
||||
}
|
||||
return p.status
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ type Status struct {
|
||||
State State
|
||||
TimePos float64
|
||||
Duration float64
|
||||
PlaylistPos int
|
||||
}
|
||||
|
||||
type ReplayGainMode int
|
||||
|
||||
Reference in New Issue
Block a user