{"action":"created","issue":{"url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/10","labels_url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/10/comments","events_url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/10/events","html_url":"https://github.com/VDSoft/TheTVDBApi/issues/10","id":97479446,"number":10,"title":"wrong values for all episode and season numbers","user":{"login":"DanCooper","id":1631117,"avatar_url":"https://avatars.githubusercontent.com/u/1631117?v=3","gravatar_id":"","url":"https://api.github.com/users/DanCooper","html_url":"https://github.com/DanCooper","followers_url":"https://api.github.com/users/DanCooper/followers","following_url":"https://api.github.com/users/DanCooper/following{/other_user}","gists_url":"https://api.github.com/users/DanCooper/gists{/gist_id}","starred_url":"https://api.github.com/users/DanCooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanCooper/subscriptions","organizations_url":"https://api.github.com/users/DanCooper/orgs","repos_url":"https://api.github.com/users/DanCooper/repos","events_url":"https://api.github.com/users/DanCooper/events{/privacy}","received_events_url":"https://api.github.com/users/DanCooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-27T14:42:17Z","updated_at":"2015-07-28T09:44:48Z","closed_at":null,"body":"The API returns always \"0\" for all episode and season numbers, even the value are not set in XML.\r\n\r\nExample:\r\n<absolute_number></absolute_number>   -> the API returns 0\r\n<airsbefore_episode></airsbefore_episode>    -> the API returns 0\r\n\r\nThe API returns also \"0\" if the node is missing in XML.\r\n\r\nIt should be -1 or nothing."},"comment":{"url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/comments/125524737","html_url":"https://github.com/VDSoft/TheTVDBApi/issues/10#issuecomment-125524737","issue_url":"https://api.github.com/repos/VDSoft/TheTVDBApi/issues/10","id":125524737,"user":{"login":"ChristophvdF","id":4199774,"avatar_url":"https://avatars.githubusercontent.com/u/4199774?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristophvdF","html_url":"https://github.com/ChristophvdF","followers_url":"https://api.github.com/users/ChristophvdF/followers","following_url":"https://api.github.com/users/ChristophvdF/following{/other_user}","gists_url":"https://api.github.com/users/ChristophvdF/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristophvdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristophvdF/subscriptions","organizations_url":"https://api.github.com/users/ChristophvdF/orgs","repos_url":"https://api.github.com/users/ChristophvdF/repos","events_url":"https://api.github.com/users/ChristophvdF/events{/privacy}","received_events_url":"https://api.github.com/users/ChristophvdF/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T09:44:48Z","updated_at":"2015-07-28T09:44:48Z","body":"Your changes have been pushed.\r\nSee commits:\r\nhttps://github.com/VDSoft/TheTVDBApi/commit/e4c6be9fa1c42e717f0410588b1af17f9336d5be\r\nhttps://github.com/VDSoft/TheTVDBApi/commit/cf1b43465cc8b07bc7079838868fc2861fdf90c9\r\n\r\nPlease verify them and close the issue if everything is working.\r\nBtw. I would really love to know for what project you are using the API. When you don't mind just contact me at office@vdsoft.at"}}