Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV- Daily] Renamer Script always fails (even preview) #1181

Closed
t0815 opened this issue Oct 5, 2024 · 1 comment
Closed

[DEV- Daily] Renamer Script always fails (even preview) #1181

t0815 opened this issue Oct 5, 2024 · 1 comment

Comments

@t0815
Copy link

t0815 commented Oct 5, 2024

VERSION INFORMATION

Server Version: 4.2.2.176 /a2c0340

Desktop Version: n/a

Web-UI Version: 2.1.0-dev.316

LOG FILE

n/a

DESCRIPTION

Renamer-Scripts always fail, even when generating preview. Did try the following script:

DO ADD '%sna'

Tested other scripts too, but same result. The option "Move Files" was not checked.

grafik

ShokoError- log does show nothing. In dev tools, the request returns 200, and the response is:

...
  {
    "FileID": 76031,
    "FileLocationID": 135474,
    "ConfigName": "Rename to Orig",
    "IsSuccess": false,
    "ErrorMessage": "Not relocating file as it is not in a drop source or drop destination."
  },
...

The request was:

grafik

/api/v3/Renamer/Config/Rename%20to%20Orig/Relocate?deleteEmptyDirectories=true&move=false&rename=true

STEPS TO REPRODUCE

  1. Add files to renamer
  2. use the sample script or any other default script
@revam revam added the By Design label Oct 5, 2024
@revam
Copy link
Member

revam commented Oct 5, 2024

The files you're trying to rename/move are in an import folder with the type set to 'none,' which excludes it and it's files from being used in the renaming/move system at all. Set the type to 'destination' or 'both' depending on if you want ro perform a one tune operation or have files automagically moved/renamed on import. If you had or have multiple import folders then you would mark all your sources of files to be moved as 'source' (or 'both' if they're also a destination import folder) and all import folders you would want as destinations as 'destination' (or 'both' if they're also a source import folder).

Edit: It is 2h faster to ask this in the discord server btw, instead of opening an issue on GH.

@revam revam closed this as completed Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants