{"action":"opened","issue":{"url":"https://api.github.com/repos/catalinii/minisatip/issues/230","labels_url":"https://api.github.com/repos/catalinii/minisatip/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/catalinii/minisatip/issues/230/comments","events_url":"https://api.github.com/repos/catalinii/minisatip/issues/230/events","html_url":"https://github.com/catalinii/minisatip/issues/230","id":127381674,"number":230,"title":"BUG: Netceiver driver incompatible with parameter \"-e\"","user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars.githubusercontent.com/u/9989964?v=3","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T07:17:19Z","updated_at":"2016-01-19T07:17:19Z","closed_at":null,"body":"Hi @REELcoder ,\r\n\r\nI found a bug in your code: When you find for \"free\" (!=unused) tuners, your code ins't compatible with the parameter \"-e\".\r\n\r\nImagine this environment: one internal tuner and one external Netceiver. And you like to use ONLY the external tuner. In this case you'll start minisatip with parameter \"-e 1\", as this DISABLES the tuner 0 (the internal tuner).\r\n\r\nBut in this case your code at:\r\nhttp://github.com/catalinii/minisatip/blob/master/netceiver.c#L314\r\nreturns \"na=0\" and you try to register the external tuner as tuner 0. But the problem is that minisatip has assigned this value to the internal tuner, and then it is disabled. As a result, both tuners are disabled.\r\n\r\nPerhaps you like to fix this, right? ;)\r\nRegards!\r\n"}}