{"action":"created","issue":{"url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/4739","labels_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/4739/labels{/name}","comments_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/4739/comments","events_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/4739/events","html_url":"https://github.com/RuudBurger/CouchPotatoServer/issues/4739","id":60588583,"number":4739,"title":"Renamer - Folder name spacing not being set correctly","user":{"login":"Cheezykins","id":11211889,"avatar_url":"https://avatars.githubusercontent.com/u/11211889?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheezykins","html_url":"https://github.com/Cheezykins","followers_url":"https://api.github.com/users/Cheezykins/followers","following_url":"https://api.github.com/users/Cheezykins/following{/other_user}","gists_url":"https://api.github.com/users/Cheezykins/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheezykins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheezykins/subscriptions","organizations_url":"https://api.github.com/users/Cheezykins/orgs","repos_url":"https://api.github.com/users/Cheezykins/repos","events_url":"https://api.github.com/users/Cheezykins/events{/privacy}","received_events_url":"https://api.github.com/users/Cheezykins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T23:47:42Z","updated_at":"2015-03-11T01:30:22Z","closed_at":null,"body":"When setting the directory name for the renamer to <year> - <thename> the actual result is (as an example - 2014- Some FilmName. Note the lack of space between the year and the hyphen.\r\n\r\nI have confirmed that the settings.conf matches what the UI shows:\r\n\r\n    folder_name = <year> - <thename>\r\n\r\nBut it insists on stripping that space.\r\n\r\n### Steps to reproduce:\r\n1. Add a movie, wait for it to download\r\n2. Have the folder name in the renamer set to <year> - <thename>\r\n3. Movie folder is created as <year>- <thename>\r\n\r\n### Information:\r\nMovie(s) I have this with: All\r\nQuality of the movie being searched: HD\r\nProviders I use: Newznab\r\nVersion of CouchPotato: desktop: 2.6.3\r\nRunning on:  Windows 7\r\n\r\n### Logs:\r\n```\r\n03-10 23:58:09  INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/ismovie/tt0100802/?adding=1, data: [] \r\n03-10 23:58:09  INFO [hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?type=movie&i=tt0100802, data: [] \r\n03-10 23:58:09  INFO [hpotato.core.plugins.base] Opening url: get http://api.themoviedb.org/3/movie/tt0100802?api_key=xxx&append_to_response=alternative_titles, data: [] \r\n03-10 23:58:09  INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/info/tt0100802/, data: [] \r\n03-10 23:58:10  INFO [ie.providers.info.omdbapi] Found: Total Recall (1990) \r\n03-10 23:58:10  INFO [tato.core.plugins.renamer] Moving \"D:\\temp\\Total Recall (1990).cp(tt0100802)\\Total Recall (1990).mkv\" to \"D:\\Media\\Movies\\1990- Total Recall\\Total Recall (1990).mkv\" \r\n```"},"comment":{"url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/comments/78184024","html_url":"https://github.com/RuudBurger/CouchPotatoServer/issues/4739#issuecomment-78184024","issue_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/4739","id":78184024,"user":{"login":"Cheezykins","id":11211889,"avatar_url":"https://avatars.githubusercontent.com/u/11211889?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheezykins","html_url":"https://github.com/Cheezykins","followers_url":"https://api.github.com/users/Cheezykins/followers","following_url":"https://api.github.com/users/Cheezykins/following{/other_user}","gists_url":"https://api.github.com/users/Cheezykins/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheezykins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheezykins/subscriptions","organizations_url":"https://api.github.com/users/Cheezykins/orgs","repos_url":"https://api.github.com/users/Cheezykins/repos","events_url":"https://api.github.com/users/Cheezykins/events{/privacy}","received_events_url":"https://api.github.com/users/Cheezykins/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T01:30:22Z","updated_at":"2015-03-11T01:30:22Z","body":"Looks like line 903 (in master) of renamer.py explicitly has a replacement in the replaceDoubles method to replace (\\s-) with simply \"-\" which would explain this."}}