anidl / multi-downloader-nx

Downloader for Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork with CLI and GUI
MIT License
292 stars 47 forks source link

--fileName not working in linux #128

Closed Anit0 closed 3 years ago

Anit0 commented 3 years ago

i am trying to auto rename the file with given command. but it's not working on linux. But it's working on windows version Ripper. But not working in linux one.

Command: ./funi -s 2794128 -q 7 -e 3 --mks --allSubs --allDubs --fileName "[Anime] ${showTitle} - ${episode} [${height}p][Multiple Subtitle]"

this issue showing...

[INFO] Selected layer: 7 (1280x720) @ vmfst-api.prd.funimationsvc.com [INFO] Stream URL: https://vmfst-api.prd.funimationsvc.com/FunimationStoreFront/V2605271/a1ebfce3-2f7d-4058-9501-85229df38a88strnv-hl152_streaming_video_1280_720_4500000_index.m3u8?Key-Pair-Id=APKAIHNXECY27H4O6NIA&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMzNldDc3ZXZkOWJnZy5jbG91ZGZyb250Lm5ldC9GdW5pbWF0aW9uU3RvcmVGcm9udC9WMjYwNTI3MS8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjM1MDkxOTkwfX19XX0_&Signature=jqw~X8rCFAQy3Y5BQ7kps7-JIt3LUHOnEjhwLqLyMZKrQGyYjBJ79uTkohPjsONu1w5g3m1Xn5IlRq0hsX~DyV5fsQOacbf2BxC~YUXm~13dShQQSgqfXkyC2H4nWY2Bo~lX0AIBoiLQVIut9wnLFcOUoo9Fed4hSIsLZpVIzz1RZkCa-sxU2i5Cqs57aHQqqbKf0ed~AM9McAfeLAirJW8tM7uGKzthn6FBFySlyH8XrcXb4ThHH0to~0m~g3pKA6oa2IGKffbXfdB4ee8hF3lAiGxdRFqxKgl4AFv7hr-UvTdySTcsNPYMhyJYWBBbg3Jc~hOAqKxpW94aarqPjw__&rt=1425007 (node:54562) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of null at parseFileName (/snapshot/funimation-downloader-nx/funi.js) at downloadStreams (/snapshot/funimation-downloader-nx/funi.js) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async getEpisode (/snapshot/funimation-downloader-nx/funi.js) at async getShow (/snapshot/funimation-downloader-nx/funi.js) (Use funi --trace-warnings ... to show where the warning was created) (node:54562) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:54562) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

izu-co commented 3 years ago

Can you try single quotes? And if that doesn't work, please use the command with funi.js --trace-warnings

izu-co commented 3 years ago

Closed due to inactivity.