mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 18:13:17 +01:00
fixed one incorrect invocation and the response format to plchangesposid
--HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40181
This commit is contained in:
parent
2a4153a411
commit
aab2d2cbb3
1 changed files with 2 additions and 2 deletions
|
|
@ -423,7 +423,7 @@ class BaseServer(object):
|
|||
Also a dummy implementation.
|
||||
"""
|
||||
for idx, track in enumerate(self.playlist):
|
||||
conn.send('Pos: ' + str(idx),
|
||||
conn.send('cpos: ' + str(idx),
|
||||
'Id: ' + str(track.id),
|
||||
)
|
||||
|
||||
|
|
@ -934,7 +934,7 @@ class Server(BaseServer):
|
|||
super(Server, self).cmd_pause(conn, state)
|
||||
if self.paused:
|
||||
self.player.pause()
|
||||
elif self.playing:
|
||||
elif self.player.playing:
|
||||
self.player.play()
|
||||
|
||||
def cmd_stop(self, conn):
|
||||
|
|
|
|||
Loading…
Reference in a new issue