-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Immich CLI add to album broken on windows #10617
Comments
looking at code it does not seem like a regression. Is it possible it was always broken? |
@waqasali101 |
Never mind the above question. I'll make a PR ASAP. |
That's the one way. To ensure compatibility in case this function is called with both |
The bug
NOTE: I am awaring a recent fix went in to fix recursive behavior on windows, this test is including that fix
Add to album is broken when using CLI on windows.
Reason for this is that filePath in assests.ts is probably being unifixied somewhere and following line in method getAlbumName resolves to undefined
const folderName = os$1.platform() === "win32" ? filepath.split("\").at(-2) : filepath.split("/").at(-2);
filePath
The OS that Immich Server is running on
Windows 11
Version of Immich Server
N/A
Version of Immich Mobile App
N/A
Platform with the issue
Your docker-compose.yml content
N/A
Your .env content
Reproduction steps
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: