diff --git a/split_tracks b/split_tracks index c4ae682..7019769 100755 --- a/split_tracks +++ b/split_tracks @@ -80,14 +80,6 @@ type -P 'demucs' &>/dev/null || ( find "$src_library" -type f -name '*.flac' | while read file; do if find "$work_dir" -type f &>/dev/null; then rm -rf "${work_dir}"/*; fi echo "file: $file" - if [[ ! -f "$file" ]]; then - file="${file//ome\/luket/\/home\/luket}" - echo "new file: $file" - if [[ ! -f "$file" ]]; then - echo 'shits broke' >&2 - exit 1 - fi - fi # file is full original path + filename src_dir="$(dirname "$file")" file_name="$(basename "$file")"