mirror of
https://github.com/beetbox/beets.git
synced 2026-01-19 14:45:17 +01:00
clean up
This commit is contained in:
parent
3d964fb2db
commit
e43b67640e
1 changed files with 1 additions and 3 deletions
|
|
@ -271,8 +271,6 @@ class Client(object):
|
|||
log.info(u'mpc(play|stream): {0}'.format(song))
|
||||
else:
|
||||
beets_item = self.beets_get_item(song)
|
||||
log.info(u'mpc(play): {0}'.format(song))
|
||||
# status['time'] = position:duration (in seconds)
|
||||
t = status['time'].split(':')
|
||||
remaining = (int(t[1]) -int(t[0]))
|
||||
|
||||
|
|
@ -307,7 +305,7 @@ class Client(object):
|
|||
'path' : song,
|
||||
'beets_item' : beets_item,
|
||||
}
|
||||
log.info(u'mpc(now_playing): {0}'
|
||||
log.info(u'mpc(playing): {0}'
|
||||
.format(now_playing['path']))
|
||||
self.beets_update(now_playing['beets_item'],
|
||||
'last_played', value=int(time.time()))
|
||||
|
|
|
|||
Loading…
Reference in a new issue