예제 #1
0
 def SaveChange(self,*args):
     if self.timeChange <> 0:
         lrc = lrcMod.writeLrc(self.lrcLines,self.timeLines,self.timeChange)
         art = self.exaile.player.current.get_tag_display('artist')
         tit = self.exaile.player.current.get_tag_display('title')
         locname = self.exaile.player.current.local_file_name()
         lrcMod.saveLrc(lrc,self.options['LyricFolder'], self.ops[self.options['Filename']](art, tit, locname))
예제 #2
0
 def SaveChange(self, *args):
     if self.timeChange <> 0:
         lrc = lrcMod.writeLrc(self.lrcLines,self.timeLines,self.timeChange)
         art = self.exaile.player.current.get_tag_display('artist')
         tit = self.exaile.player.current.get_tag_display('title')
         locname = self.exaile.player.current.local_file_name()
         lrcMod.saveLrc(lrc,self.options['LyricFolder'], self.ops[self.options['Filename']](art, tit, locname))
예제 #3
0
 def SaveChange(self, *args):
     if self.timeChange <> 0:
         lrc = lrcMod.writeLrc(self.lrcLines,self.timeLines,self.timeChange)
         art = self.exaile.player.current.get_tag_display('artist')
         tit = self.exaile.player.current.get_tag_display('title')
         try:
             locname = os.path.basename(self.exaile.player.current.local_file_name())
         except AttributeError:
             locname = '-'.join([art, tit])
         lrcMod.saveLrc(lrc,self.options['LyricFolder'], self.ops[self.options['Filename']](art, tit, locname))
예제 #4
0
파일: Win.py 프로젝트: appotry/exaile-cn
 def SaveChange(self, *args):
     if self.timeChange <> 0:
         lrc = lrcMod.writeLrc(self.lrcLines, self.timeLines,
                               self.timeChange)
         art = self.exaile.player.current.get_tag_display('artist')
         tit = self.exaile.player.current.get_tag_display('title')
         try:
             locname = os.path.basename(
                 self.exaile.player.current.local_file_name())
         except AttributeError:
             locname = '-'.join([art, tit])
         lrcMod.saveLrc(
             lrc, self.options['LyricFolder'],
             self.ops[self.options['Filename']](art, tit, locname))