Skip to content

Commit

Permalink
remove get_imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
hejops committed Mar 23, 2024
1 parent 808154f commit cfd8669
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions dita/file/mover.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,30 +713,6 @@ def truncate_filename(
return "/".join([root, artist, album, fname])


# def get_imgs(
# src_dir: str,
# ) -> None:
# # find covers
# imgs = []
# for img in glob(
# # "*.jpg",
# "*/folder.jpg",
# root_dir=src_dir,
# recursive=True,
# ):
# img = f"{src_dir}/{img}"
# img_dest = (
# src_to_dest[src_to_dest.src.str.startswith(os.path.dirname(img))]
# .iloc[0]
# .dest
# )
# img_dest = os.path.dirname(img_dest) + "/folder.jpg"
# imgs.append({"src": img, "dest": img_dest})
# src_to_dest = pd.concat(
# [src_to_dest, pd.DataFrame(imgs)],
# )


def multi_move(dirs: list[str]):
"""Given a list of dirs already in library, edit artist or genre tag, then
move."""
Expand Down

0 comments on commit cfd8669

Please sign in to comment.