示例#1
0
    def __init__(self, path, album):
        make.FileSimpleDependency.__init__(self, path)

        self.path = pathutils.path2unicode(path)
        self.album = album
        self.filename = os.path.basename(self.path)
        self.name, self.extension = os.path.splitext(self.filename)
示例#2
0
 def is_album_root(self):
     return self.path == pathutils.path2unicode(self.album.source_dir)