[import_images] Renamed fully function

This commit is contained in:
ayakael 2018-05-18 20:17:42 -07:00
parent 305e2a3631
commit 6105898ebc
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -1,22 +1,22 @@
#!/bin/bash
# doc import_cueripper {
# doc import_images {
#
# DESCRIPTION
# import_cueripper - Imports files output from cueripper. Expects cueripper to output using
# import_images - Imports files output from cueripper. Expects cueripper to output using
# the following format: %artist% - %album%\if(%unique%,%unique%,0), so that every album
# is outputted in its own folder, first disc image is labeled 0.<ext>, and second disc image
# is labeled 1.<ext>, and the cover is named folder.jpg
#
# USAGE
# import_cueripper </path/to/album>
# import_images </path/to/album>
#
# DEPENDENCIES src/print_meta_mtag src/add_bom src/fix_apos src/gen_cover src/file_name src/cueparser
#
# }
import_cueripper() {
import_images() {
local FOLDER="${1}"
_msg EXEC "Processing ${FOLDER}"
local flacList=($(find "${FOLDER}" -name '*.flac' | sed 's|.flac||'))