[BUG] [Funimation/Crunchy] dlsubs "en" option missing causing Invalid Argument errors #181

Closed
opened 2021-12-07 19:11:15 +00:00 by XxUnkn0wnxX · 9 comments
XxUnkn0wnxX commented 2021-12-07 19:11:15 +00:00 (Migrated from github.com)

** Main info: **

Script version: Multi Downloader NX 2.0.7 Commit: 667f02fae2
Service: Funi & Crunchy (Argument Belongs to Crunchy, triggers on any service though due to config file)
Show ID: N/A
Episode ID: N/A
Command used: aniDL --service crunchy --dlsubs en

Console output:

Invalid values:
  Argument: dlsubs, Given: "en", Choices: "all", "none", "es-419", "es", "pt-BR", "fr", "de", "ar", "it", "ru", "tr", "ja", "zh"

** Additional Info: **
Screen Shot 2021-12-08 at 6 04 28 am
Screen Shot 2021-12-08 at 6 04 37 am

What happened to "en" English support for subs?

I started getting this error after some recent updates. this initially triggered because I always had this in my config
Screen Shot 2021-12-08 at 6 08 13 am

<!-- Please fill in the placeholders.--> ** Main info: ** Script version: Multi Downloader NX 2.0.7 Commit: 667f02fae25db3dd10454e3901562bfe8b62289e Service: Funi & Crunchy (Argument Belongs to Crunchy, triggers on any service though due to config file) Show ID: N/A Episode ID: N/A Command used: aniDL --service crunchy --dlsubs en <!-- Make sure you don't leak your token. This should only be a concern when you are using the --debug flag --> Console output: ```text Invalid values: Argument: dlsubs, Given: "en", Choices: "all", "none", "es-419", "es", "pt-BR", "fr", "de", "ar", "it", "ru", "tr", "ja", "zh" ``` ** Additional Info: ** ![Screen Shot 2021-12-08 at 6 04 28 am](https://user-images.githubusercontent.com/2242880/145090685-42dd4dcf-9784-44a7-abd4-2e096fc1f614.jpg) ![Screen Shot 2021-12-08 at 6 04 37 am](https://user-images.githubusercontent.com/2242880/145090697-5d5c53d2-7f21-4fba-a8fc-d569c07e7b91.jpg) What happened to "en" English support for subs? I started getting this error after some recent updates. this initially triggered because I always had this in my config ![Screen Shot 2021-12-08 at 6 08 13 am](https://user-images.githubusercontent.com/2242880/145090956-d3f382ab-b6fd-4f89-85aa-a219caadaa09.jpg)
XxUnkn0wnxX commented 2021-12-07 19:34:52 +00:00 (Migrated from github.com)

also, no streams are being detected for any shows on Funimation...

aniDL --service funi -s 2831743 -e 9
aniDL --service funi -s 1311428 -e 21

Show ID: 2831743, EP 9 (Deep Insanity: The Lost Child)
Show ID: 1311428, EP 21 (Mushoku Tensei: Jobless Reincarnation)
Screen Shot 2021-12-08 at 6 32 18 am

Screen Shot 2021-12-08 at 6 31 51 am

Says track not selected... & it's not showing any available streams.

Also running npm run tsc
Is giving me that strange error again

❯ npm run tsc

> multi-downloader-nx@2.0.7 tsc
> ts-node tsc.ts

Error: ENOTEMPTY: directory not empty, rmdir 'lib/node_modules'
    at Object.rmdirSync (node:fs:1167:10)
    at _rmdirSync (node:internal/fs/rimraf:260:21)
    at rimrafSync (node:internal/fs/rimraf:193:7)
    at node:internal/fs/rimraf:253:9
    at Array.forEach (<anonymous>)
    at _rmdirSync (node:internal/fs/rimraf:250:7)
    at rimrafSync (node:internal/fs/rimraf:193:7)
    at Object.rmSync (node:fs:1214:10)
    at removeSync (/Users/USER/Apps/Animie/anidl/multi-downloader-nx/node_modules/fs-extra/lib/remove/index.js:15:28)
    at /Users/USER/Apps/Animie/anidl/multi-downloader-nx/tsc.ts:22:13 {
  errno: -66,
  syscall: 'rmdir',
  code: 'ENOTEMPTY',
  path: 'lib/node_modules'
}
also, no streams are being detected for any shows on Funimation... `aniDL --service funi -s 2831743 -e 9` `aniDL --service funi -s 1311428 -e 21` Show ID: 2831743, EP 9 (Deep Insanity: The Lost Child) Show ID: 1311428, EP 21 (Mushoku Tensei: Jobless Reincarnation) ![Screen Shot 2021-12-08 at 6 32 18 am](https://user-images.githubusercontent.com/2242880/145094323-6118e6e3-8f8f-485a-b48a-612308d28f43.jpg) ![Screen Shot 2021-12-08 at 6 31 51 am](https://user-images.githubusercontent.com/2242880/145094340-f265775d-1f99-4f61-87dc-5c68b54bcd70.jpg) Says track not selected... & it's not showing any available streams. Also running `npm run tsc` Is giving me that strange error again ```text ❯ npm run tsc > multi-downloader-nx@2.0.7 tsc > ts-node tsc.ts Error: ENOTEMPTY: directory not empty, rmdir 'lib/node_modules' at Object.rmdirSync (node:fs:1167:10) at _rmdirSync (node:internal/fs/rimraf:260:21) at rimrafSync (node:internal/fs/rimraf:193:7) at node:internal/fs/rimraf:253:9 at Array.forEach (<anonymous>) at _rmdirSync (node:internal/fs/rimraf:250:7) at rimrafSync (node:internal/fs/rimraf:193:7) at Object.rmSync (node:fs:1214:10) at removeSync (/Users/USER/Apps/Animie/anidl/multi-downloader-nx/node_modules/fs-extra/lib/remove/index.js:15:28) at /Users/USER/Apps/Animie/anidl/multi-downloader-nx/tsc.ts:22:13 { errno: -66, syscall: 'rmdir', code: 'ENOTEMPTY', path: 'lib/node_modules' } ```
izu-co commented 2021-12-07 19:37:46 +00:00 (Migrated from github.com)

Alright so...
As you might have noticed, I have merged the command line arguments for subs and dubs for both funi and crunchy into one per category. Track not selected just means that you haven't selected the Japanese audio. Please refer to the help for the new options for subs and dubs.

As to where the en sub went - idfk I will take a look into it tomorrow

Alright so... As you might have noticed, I have merged the command line arguments for subs and dubs for both funi and crunchy into one per category. Track not selected just means that you haven't selected the Japanese audio. Please refer to the help for the new options for subs and dubs. As to where the en sub went - idfk I will take a look into it tomorrow
izu-co commented 2021-12-07 19:53:53 +00:00 (Migrated from github.com)

Should be tho...

Should be tho...
XxUnkn0wnxX commented 2021-12-07 19:55:14 +00:00 (Migrated from github.com)

ya i saw its in help page...

to DL subs only now such a long command though aniDL --service funi -s 2831743 -e 9 --dubLang jpn --novids --noaudio --dlsubs all "all" still works just cant specify "en" for English only :(

Suggestion:
when you get the time as you update & merge new arguments maybe keep the default cli-defaults.yml labelled like what option applies to what etc...
Screen Shot 2021-12-08 at 6 56 24 am

ya i saw its in help page... to DL subs only now such a long command though `aniDL --service funi -s 2831743 -e 9 --dubLang jpn --novids --noaudio --dlsubs all` "all" still works just cant specify "en" for English only :( Suggestion: when you get the time as you update & merge new arguments maybe keep the default `cli-defaults.yml` labelled like what option applies to what etc... ![Screen Shot 2021-12-08 at 6 56 24 am](https://user-images.githubusercontent.com/2242880/145097525-31c51135-1c3d-4ff7-b195-e14bfceac29f.jpg)
izu-co commented 2021-12-07 20:17:25 +00:00 (Migrated from github.com)

I plan to auto create the CLI defaults file when the programm is build

I plan to auto create the CLI defaults file when the programm is build
izu-co commented 2021-12-07 21:03:47 +00:00 (Migrated from github.com)

For now, the newest commit is fixing the English problem

For now, the newest commit is fixing the English problem
XxUnkn0wnxX commented 2022-01-06 15:55:04 +00:00 (Migrated from github.com)

@izu-co as of commit: c89cea218c this is broken again
I have dlSubs: en set in config, i tried to set "none" "jp" etc and within the config, it just doesn't recognise it, it keeps saying the default is all even though its not

Screen Shot 2022-01-07 at 2 54 16 am

also, the flag partsize is also gone, doesn't respect config or have a flag for it..

@izu-co as of commit: c89cea218c3fe00b64429b6ab17d85e57bf745f0 this is broken again I have `dlSubs: en` set in config, i tried to set "none" "jp" etc and within the config, it just doesn't recognise it, it keeps saying the default is all even though its not ![Screen Shot 2022-01-07 at 2 54 16 am](https://user-images.githubusercontent.com/2242880/148411089-5e5e5497-15ee-4125-9779-e883d78683bf.jpg) also, the flag `partsize` is also gone, doesn't respect config or have a flag for it..
izu-co commented 2022-01-06 16:22:44 +00:00 (Migrated from github.com)

Will look into it

Will look into it
izu-co commented 2022-01-06 16:47:03 +00:00 (Migrated from github.com)

I just looked into it @XxUnkn0wnxX, and I've changed dlSubs to dlsubs. Since the newest update, all config option are exactly the same as if you would pass it to args. So since it would be --dlsubs it is also now dlsubs: [number] in the config.

As for the missing partsize, this has been added with 05d65d3d54.

I just looked into it @XxUnkn0wnxX, and I've changed `dlSubs` to `dlsubs`. Since the newest update, all config option are `exactly` the same as if you would pass it to args. So since it would be `--dlsubs` it is also now `dlsubs: [number]` in the config. As for the missing partsize, this has been added with 05d65d3d540b6c439184676598f77c817e0bc62f.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/multi-downloader-nx#181
No description provided.