✨ Add rate-skip command
This commit is contained in:
parent
b2dd7b321a
commit
cb655d29f5
3 changed files with 46 additions and 0 deletions
14
mpd/conn.go
14
mpd/conn.go
|
|
@ -20,3 +20,17 @@ func CloseConn() error {
|
|||
}
|
||||
return conn.Close()
|
||||
}
|
||||
|
||||
func Next() error {
|
||||
if connerror != nil {
|
||||
return connerror
|
||||
}
|
||||
return conn.Next()
|
||||
}
|
||||
|
||||
func Previous() error {
|
||||
if connerror != nil {
|
||||
return connerror
|
||||
}
|
||||
return conn.Previous()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue