[Feature] Multi dub w/ season constraints #603
No reviewers
Labels
No labels
Wrong-Place
bug
cli
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
ice
invalid
question
request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/multi-downloader-nx#603
Loading…
Reference in a new issue
No description provided.
Delete branch "Feature]-Multi-Dub-w/-season-constraints"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I created this because there are times where i want to get multiple dubs within a series but i cant do that with
-sand--srzuses indexes rather than episode numbers for ordering. With this change the following output will be generated when using both-sand--srz:With this, it sorts by season_id and episode (using season numbers is convoluted with cr's api)
if you exclude
-sit falls back to the original format of using indexes (so it'll be number 1-23...etc) so overall this will retain the same functionality, but with the added effect that using-swill constrain it to the season and allow-eto use the episode number of that season.While the code looks good and appears to work, I do have a couple questions.
--allfor multi-dub on a specific season in a--srz)-s) I was expecting to get episode 11 of season 2 but it gave me episode 11 of season 1 because it ignored the-sparam.@AnimeDL I've made the changes
Alright, did some more testing and this does seem to break the GUI in it's current state due to ./gui/server/services/crunchyroll.ts L22, since data isn't passed
data.sdoesn't exist and throws an exception. Once that's fixed, this is probably good to goAlright, I changed it.
On a side node if you're still looking to have the specials be located at the end of the episode listing (in the TODO comment) doing something like:
After they get prepended with
EandSwould work, then have then have the console.info for loop and the return object usesortedEpisodesIs there a reason to use
data: CrunchyMultiDownload | undefined = undefinedhere instead ofdata?: CrunchyMultiDownload?changed, my vscode auto-suggests things so i don't usually argue with what it suggests.
LGTM, Merging