juicenet-cli icon indicating copy to clipboard operation
juicenet-cli copied to clipboard

Accept all filetypes

Open saltrocks opened this issue 1 year ago • 6 comments

I want to upload all files in a directory recursively without explicitly stating the filetypes.

saltrocks avatar Dec 22 '24 14:12 saltrocks

You can use the --glob argument, e.g., --glob "**/*.*".

See:

  • https://juicenet.ravencentric.cc/cli-reference/
  • https://docs.python.org/3/library/pathlib.html#pathlib-pattern-language

Ravencentric avatar Dec 22 '24 15:12 Ravencentric

Running it with this prints No related files found for filename.mp4 for each file.

saltrocks avatar Dec 22 '24 16:12 saltrocks

Paste the entire command and the logs

Ravencentric avatar Dec 22 '24 16:12 Ravencentric

juicenet --glob "**/*.*" --config ~/juicenet.yaml
xxxxxxxxxxxxxxxxxxx | INFO     | Config: /home/user/juicenet.yaml
xxxxxxxxxxxxxxxxxxx | INFO     | Nyuu: /usr/bin/nyuu
xxxxxxxxxxxxxxxxxxx | INFO     | ParPar: /usr/bin/parpar
xxxxxxxxxxxxxxxxxxx | INFO     | Nyuu Config: /home/user/nyuu.json
xxxxxxxxxxxxxxxxxxx | INFO     | NZB Output: /home/user/nzb_out
xxxxxxxxxxxxxxxxxxx | INFO     | Raw Articles: /tmp/failed-nyuu-posts
xxxxxxxxxxxxxxxxxxx | INFO     | Appdata Directory: /home/user/.juicenet
xxxxxxxxxxxxxxxxxxx | INFO     | Working Directory: /tmp/.JUICENET_c1slkeb2
xxxxxxxxxxxxxxxxxxx | INFO     | Glob Pattern: ['**/*.*']
xxxxxxxxxxxxxxxxxxx | INFO     | Related Extensions: ['ass', 'srt']
xxxxxxxxxxxxxxxxxxx | INFO     | No related files found for video1.mp4
xxxxxxxxxxxxxxxxxxx | ERROR    | video1.mp4
xxxxxxxxxxxxxxxxxxx | INFO     | No related files found for video2.mp4

saltrocks avatar Dec 22 '24 18:12 saltrocks

Well it is working. It found your files (videoN.mp4). Related files are an entirely different concept. You can read about them here.

Ravencentric avatar Dec 22 '24 18:12 Ravencentric

I am also having the same problem. The truth is that I'm about to give up this docker, very frustrated. In my case it happens the same as the mate and finally does not generate any .nzb So it is not working.

I also don't know what causes it to look for extensions when I set the path with [] without any extensions. It's like a nightmare.

Oleekae avatar Dec 22 '24 19:12 Oleekae