예제 #1
0
 def _update(self, query=(), album=False, move=False, reset_mtime=True,
             fields=None):
     self.io.addinput('y')
     if reset_mtime:
         self.i.mtime = 0
         self.i.store()
     commands.update_items(self.lib, query, album, move, False,
                           fields=fields)
예제 #2
0
 def _update(self, query=(), album=False, move=False, reset_mtime=True,
             fields=None):
     self.io.addinput('y')
     if reset_mtime:
         self.i.mtime = 0
         self.i.store()
     commands.update_items(self.lib, query, album, move, False,
                           fields=fields)
예제 #3
0
파일: test_ui.py 프로젝트: navap/beets
 def _update(self, query=(), album=False, move=False, reset_mtime=True):
     self.io.addinput("y")
     if reset_mtime:
         self.i.mtime = 0
         self.lib.store(self.i)
     commands.update_items(self.lib, query, album, move, True, False)
예제 #4
0
파일: test_ui.py 프로젝트: navinpai/beets
 def _update(self, query=(), album=False, move=False):
     self.io.addinput('y')
     commands.update_items(self.lib, query, album, move, True)