Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Mellow tries to create a folder with invalid characters and fails #127

Open
fallendusk opened this issue May 25, 2020 · 1 comment
Open

Comments

@fallendusk
Copy link

fallendusk commented May 25, 2020

Recently ran into this issue running Mellow on windows where a movie title with a colon in it (ex. Jurassic World: Fallen Kingdom) errors out talking to Radarr

{ error: null, body: '{\r\n' + "message": "The given path's format is not supported.",\r\n + ' "description": "System.NotSupportedException: The given path\'s format is not supported.\\r\\n

Adding the movie directly in Radarr works and I have "Replace illegal characters" enabled in Radarr settings

@fallendusk
Copy link
Author

fallendusk commented May 25, 2020

Removing path from src/api/helpers/radarr.js and leaving only rootPathFolder seems to fix it and lets Radarr figure out what to name the folders. Also has the side effect of properly putting years on folders!

let newMovie = { title: movie.title, tmdbId: movie.tmdbId, qualityProfileId: parseInt(radarr.profile), rootFolderPath: radarr.rootfolder, titleSlug: movie.titleSlug, monitored: true, year: movie.year, images: movie.images, minimumAvailability: radarr.minimumavailability }

Radarr docs says this is supported, and works for me but not sure if it will cause issues elsewhere!
https://github.com/Radarr/Radarr/wiki/API:Movie

I also made the same change to sonarr.js, as they work the same
https://github.com/Sonarr/Sonarr/wiki/Series

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant