From 5aecf93bd2fe0aa69b28fb1eb41f7327f08daf51 Mon Sep 17 00:00:00 2001 From: desktop Date: Thu, 18 Jan 2024 00:26:43 +0300 Subject: [PATCH] Name : Rename series to show. --- .config/bash/module/Name.sh | 6 +++--- .doc/Bash.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/bash/module/Name.sh b/.config/bash/module/Name.sh index 505abdf..b33676c 100644 --- a/.config/bash/module/Name.sh +++ b/.config/bash/module/Name.sh @@ -139,10 +139,10 @@ function name_hash_check() { _iterate_targets process ${targets[@]} } -# Rename files for Jellyfin series, i.e. `Episode S01E01.mkv` +# Rename files for Jellyfin shows, i.e. `Episode S01E01.mkv` # All files by default. -# Usage: name_series [FILES] -function name_series() { +# Usage: name_show [FILES] +function name_show() { local IFS=$'\n' local season="$(realpath .)"; season="${season##*\ }" local episode=0 diff --git a/.doc/Bash.md b/.doc/Bash.md index f2853b8..77b0c61 100644 --- a/.doc/Bash.md +++ b/.doc/Bash.md @@ -242,8 +242,9 @@ Command|Description `name_parse [FILES]`|Rename files with provided parser, i.e. `parse_simple`. All files by default. `name_hash [FILES]`|Rename all files to their hashes while keeping extensions. All files by default. `name_hash_check [FILES]`|Check hashes for previously renamed files. All files by default. -`name_series [FILES]`|Rename files for Jellyfin series, i.e. `Episode S01E01.mkv` All files by default. +`name_show [FILES]`|Rename files for Jellyfin shows, i.e. `Episode S01E01.mkv` All files by default. `name_manga [FILES]`|Rename files for Kavita manga format. All files by default. +`name_music [FILES]`|Rename files for ffmpeg_music_meta format. All files by default. `name_ext [FILES]`|Rename files with new extension. All files by default. `name_prefix [FILES]`|Change file name prefix. All matching files by default. `name_postfix [FILES]`|Change file name postfix. All matching files by default.