{"action":"created","issue":{"url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1507","repository_url":"https://api.github.com/repos/Sonarr/Sonarr","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1507/labels{/name}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1507/comments","events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1507/events","html_url":"https://github.com/Sonarr/Sonarr/issues/1507","id":182891530,"number":1507,"title":"Issue when adding a new series via Api","user":{"login":"tidusjar","id":6642220,"avatar_url":"https://avatars.githubusercontent.com/u/6642220?v=3","gravatar_id":"","url":"https://api.github.com/users/tidusjar","html_url":"https://github.com/tidusjar","followers_url":"https://api.github.com/users/tidusjar/followers","following_url":"https://api.github.com/users/tidusjar/following{/other_user}","gists_url":"https://api.github.com/users/tidusjar/gists{/gist_id}","starred_url":"https://api.github.com/users/tidusjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidusjar/subscriptions","organizations_url":"https://api.github.com/users/tidusjar/orgs","repos_url":"https://api.github.com/users/tidusjar/repos","events_url":"https://api.github.com/users/tidusjar/events{/privacy}","received_events_url":"https://api.github.com/users/tidusjar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-13T20:25:24Z","updated_at":"2016-10-25T03:05:44Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to add a new series using the following endpoint:\r\n\r\n`/series` with a POST request, the JSON body is below\r\n\r\n```\r\n{\r\n\t\" addOptions \" : {\r\n\t\t\" ignoreEpisodesWithFiles \" : true,\r\n\t\t\" ignoreEpisodesWithoutFiles \" : true,\r\n\t\t\" searchForMissingEpisodes \" : false\r\n\t},\r\n\t\" title \" : \" Narcos \",\r\n\t\" seasons \" : [],\r\n\t\" rootFolderPath \" : \" D :  \\ Media \\ TV Shows \",\r\n\t\" qualityProfileId \" : 1,\r\n\t\" seasonFolder \" : true,\r\n\t\" monitored \" : true,\r\n\t\" tvdbId \" : 282670,\r\n\t\" tvRageId \" : 0,\r\n\t\" cleanTitle \" : null,\r\n\t\" imdbId \" : null,\r\n\t\" titleSlug \" : \" Narcos \",\r\n\t\" id \" : 0,\r\n\t\" images \" : []\r\n}\r\n```\r\n\r\nNow I cannot understand why it is setting the latest season in the series as monitored and non of the episodes:\r\n![image](https://cloud.githubusercontent.com/assets/6642220/19365586/597bcf7e-918b-11e6-9d31-43c6fad257f3.png)\r\n\r\n\r\nI would have expected no seasons to be monitored as I set both `ignore` option in the `addOptions` to true\r\n\r\nAny idea what might be going on here?\r\n\r\nRelated Plex Request issue https://github.com/tidusjar/PlexRequests.Net/issues/587"},"comment":{"url":"https://api.github.com/repos/Sonarr/Sonarr/issues/comments/255923910","html_url":"https://github.com/Sonarr/Sonarr/issues/1507#issuecomment-255923910","issue_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1507","id":255923910,"user":{"login":"markus101","id":413544,"avatar_url":"https://avatars.githubusercontent.com/u/413544?v=3","gravatar_id":"","url":"https://api.github.com/users/markus101","html_url":"https://github.com/markus101","followers_url":"https://api.github.com/users/markus101/followers","following_url":"https://api.github.com/users/markus101/following{/other_user}","gists_url":"https://api.github.com/users/markus101/gists{/gist_id}","starred_url":"https://api.github.com/users/markus101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus101/subscriptions","organizations_url":"https://api.github.com/users/markus101/orgs","repos_url":"https://api.github.com/users/markus101/repos","events_url":"https://api.github.com/users/markus101/events{/privacy}","received_events_url":"https://api.github.com/users/markus101/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T03:05:44Z","updated_at":"2016-10-25T03:05:44Z","body":"The latest season is always left monitored, this is because more episodes may be added to the season and newly added episodes take inherit the monitored status of the season.\r\n\r\nI'm a little unclear what the issue is here, telling Sonarr to ignore episodes with files and ignore episodes without files tells Sonarr to unmonitor any aired episode with or without a file, but the linked issue seems to be about it _only_ monitoring future episodes (which is what you're achieving here)."}}
{"actor":{"display_login":"markus101"}}