fix: prepends episode/season number to filename if doesn't exist. should fix monitors repeatedly downloading episodes

This commit is contained in:
2025-06-21 23:26:55 -05:00
parent be7b610111
commit 7b3d57b94a
5 changed files with 30 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ export default class extends Controller {
filename: String,
mediaType: String,
imdbId: String,
episodeId: String
}
download() {
@@ -27,6 +28,7 @@ export default class extends Controller {
filename: this.filenameValue,
mediaType: this.mediaTypeValue,
imdbId: this.imdbIdValue,
episodeId: this.episodeIdValue
})
})
.then(res => res.json())