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') }) 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)