def ipfs_added_albums(self, rlib, tmpname):
        """ Returns a new library with only albums/items added to ipfs
        """
        tmplib = library.Library(tmpname)
        for album in rlib.albums():
            try:
                if album.ipfs:
                    self.create_new_album(album, tmplib)
            except __HOLE__:
                pass
        return tmplib
dataset/ETHPy150Open beetbox/beets/beetsplug/ipfs.py/IPFSPlugin.ipfs_added_albums