Mellow
Mellow copied to clipboard
Mellow tries to create a folder with invalid characters and fails
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
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