From 298032b23a310b38ff50855dd943e8451222732c Mon Sep 17 00:00:00 2001 From: orangeMikeB <173977996+orangeMikeB@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:51:02 +0200 Subject: [PATCH 1/2] Added episodeID to naming parameter examples in Naming.vue --- components/Settings/Naming.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Settings/Naming.vue b/components/Settings/Naming.vue index 4aafc09..2c64d20 100644 --- a/components/Settings/Naming.vue +++ b/components/Settings/Naming.vue @@ -15,7 +15,7 @@
Variables:
-
{seriesName}, {episodeName}, {seasonNumber}, {seasonNumberDD}, {episodeNumber}, {episodeNumberDD}, {quality}
+
{seriesName}, {episodeName}, {seasonNumber}, {seasonNumberDD}, {episodeNumber}, {episodeNumberDD}, {episodeID}, {quality}
Season Folder Naming
@@ -47,6 +47,7 @@ const seasonNumber = ref(1) const quality = ref(1080) const seriesName = ref('Frieren') const episodeName = ref("The Journey's End") +const episodeID = ref("G0DUNDOK2") const episodeNamingTemplate = ref() const seasonNamingTemplate = ref() const isSeasonActive = ref() @@ -60,6 +61,7 @@ const episodeNaming = computed(() => { .replace('{seasonNumberDD}', seasonNumber.value.toString().padStart(2, '0')) .replace('{episodeNumber}', episodeNumber.value.toString()) .replace('{episodeNumberDD}', episodeNumber.value.toString().padStart(2, '0')) + .replace('{episodeID}', episodeID.value) .replace('{quality}', quality.value.toString() + 'p') }) From b6eb6553ab80dd7d85d343c36625b6e16bb16a3c Mon Sep 17 00:00:00 2001 From: orangeMikeB <173977996+orangeMikeB@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:57:38 +0200 Subject: [PATCH 2/2] Added episodeID as naming parameter in service.service.ts --- src/api/routes/service/service.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/routes/service/service.service.ts b/src/api/routes/service/service.service.ts index 5c3aa39..2e299eb 100644 --- a/src/api/routes/service/service.service.ts +++ b/src/api/routes/service/service.service.ts @@ -1210,6 +1210,7 @@ export async function downloadCrunchyrollPlaylist( .replace('{seasonNumberDD}', season.toString().padStart(2, '0')) .replace('{episodeNumber}', episode ? episode.toString() : episode_string) .replace('{episodeNumberDD}', episode ? episode.toString().padStart(2, '0') : episode_string) + .replace('{episodeID}', episodeID) .replace('{quality}', quality.toString() + 'p') await mergeVideoFile(file as string, chapter, audios, subss, downloadDir, episodeNaming, format, downloadID)