implement some feautres in transcript search

This commit is contained in:
2024-12-26 13:37:33 -06:00
parent f705cca038
commit 0dcb7634ae
8 changed files with 101 additions and 30 deletions

View File

@@ -29,9 +29,9 @@ module.exports = {
async function podcastData (data) {
var file_stem
if (data.season === 1) {
if (data.season == 1) {
file_stem = `ep${data.episode}`
} if (data.season === 2) {
} else if (data.season == 2) {
file_stem = `${seasonEpisodeFormat(null, {...data, episodePrefix: "ep"}).toLowerCase()}`
} else {
file_stem = `${seasonEpisodeFormat(null, data).toLowerCase()}`