[BUG] [ERROR] Key for part NaN download error/[ERROR] Track not selected #19
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#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
** Main info: **
Script version: 4.6.0
Show ID: 36842
Episode ID: 1
** Additional Info: **
Using
node funi.js -s 36842 -e 1 -q 0 --mksI also get
[ERROR] Track not selectedwhen using on another animenode funi.js -s 1108396 -e 2I have the same issue...
COMMAND:
node funi -s 54210 -e 1-11
OUTPUT:
[ERROR] Key for part NaN download error:
Cannot read property 'p' of undefined
[ERROR] Key for part NaN download error:
Cannot read property 'p' of undefined
[ERROR] 2 parts not downloaded
[ERROR] DL Stats: {"first":0,"total":170,"completed":10}
I get the same error too with the command and output above.
same
same issue here @anidl
it seems it cannot continue, it downloads the 1st 10 parts then fails, then if you retry it resumes and DL's the next 10 parts then fails..
my best guess would be the script is unable to keep track of the next set of parts it needs to download.
the work around is to use the m3u8 url it gives you & use it in a command like this:
OR
till this gets fixed..
not sure why the downloader cannot have a function to use ffmpeg or youtube-dl to fetch the video/audio files instead as they never have issues.
have funimation-downloader-nx for auth to fetch & pass the necessary URL's into ffmpeg/youtube-dl & then DL subs & remux at the end.
ok it seems the issue is with the server it selects

funiprod.akamaized.netbut doing EGnode funi -s 825013 -e 35 -x 2(Fruits Basket S2E10 Dub) no issues-xis the server selectionjust do
-x 2or-x 3while by default it does
-x 1which is thefuniprod.akamaized.netserver.or in
cli-defaults.ymlconfig setnServer: 1tonServer: 2if your lazy to manually input the server command every time.One way to handle this (if it is possible) is have it retry using the next server on the list rather than hard aborting and moving to the next episode (if any).
EDIT: That might not work. It does seem to grab 10 segments then die. It can resume and get 10 more then die again. ffmpeg as no issue with the m3u8 files at all. What I'm doing at this point is using the script to grab m3u8 urls, then using ffmpeg to grab the .ts files and name them as the script expects, then finally running the script again with the same options so that it can merge and process the output accordingly. The script did find the .ts that ffmpeg just fine and used it to create a mkv.
Not sure what the
-bsf:a aac_adtstoascis for since it just ended up with warnings nor what would happen if the related type of audio was left unprocessed.Just a note... the second run is so it can grab subs to embed on subtitled episodes.
Opened https://github.com/seiya-npm/hls-download/issues/9 since it looks like there's a problem with that module's ability to find the next batch of parts to download