{"action":"created","issue":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/352","labels_url":"https://api.github.com/repos/blueman-project/blueman/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/blueman-project/blueman/issues/352/comments","events_url":"https://api.github.com/repos/blueman-project/blueman/issues/352/events","html_url":"https://github.com/blueman-project/blueman/issues/352","id":103225967,"number":352,"title":"Merge menu entries of basic services","user":{"login":"cschramm","id":464848,"avatar_url":"https://avatars.githubusercontent.com/u/464848?v=3","gravatar_id":"","url":"https://api.github.com/users/cschramm","html_url":"https://github.com/cschramm","followers_url":"https://api.github.com/users/cschramm/followers","following_url":"https://api.github.com/users/cschramm/following{/other_user}","gists_url":"https://api.github.com/users/cschramm/gists{/gist_id}","starred_url":"https://api.github.com/users/cschramm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschramm/subscriptions","organizations_url":"https://api.github.com/users/cschramm/orgs","repos_url":"https://api.github.com/users/cschramm/repos","events_url":"https://api.github.com/users/cschramm/events{/privacy}","received_events_url":"https://api.github.com/users/cschramm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blueman-project/blueman/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/blueman-project/blueman/milestones/2","html_url":"https://github.com/blueman-project/blueman/milestones/2.1","labels_url":"https://api.github.com/repos/blueman-project/blueman/milestones/2/labels","id":477716,"number":2,"title":"2.1","description":null,"creator":{"login":"cschramm","id":464848,"avatar_url":"https://avatars.githubusercontent.com/u/464848?v=3","gravatar_id":"","url":"https://api.github.com/users/cschramm","html_url":"https://github.com/cschramm","followers_url":"https://api.github.com/users/cschramm/followers","following_url":"https://api.github.com/users/cschramm/following{/other_user}","gists_url":"https://api.github.com/users/cschramm/gists{/gist_id}","starred_url":"https://api.github.com/users/cschramm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschramm/subscriptions","organizations_url":"https://api.github.com/users/cschramm/orgs","repos_url":"https://api.github.com/users/cschramm/repos","events_url":"https://api.github.com/users/cschramm/events{/privacy}","received_events_url":"https://api.github.com/users/cschramm/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":7,"state":"open","created_at":"2013-11-07T16:23:23Z","updated_at":"2015-08-26T09:48:46Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-26T09:48:46Z","updated_at":"2015-10-29T14:41:33Z","closed_at":null,"body":"See https://github.com/blueman-project/blueman/issues/351#issuecomment-134919867\r\n\r\nWith BlueZ 5 audio and input service items actually do the same and do not necessarily report the state of the specific service, so they should probably be merged into a single menu item, displaying the service name and providing to connect / disconnect depending on the device state."},"comment":{"url":"https://api.github.com/repos/blueman-project/blueman/issues/comments/152201016","html_url":"https://github.com/blueman-project/blueman/issues/352#issuecomment-152201016","issue_url":"https://api.github.com/repos/blueman-project/blueman/issues/352","id":152201016,"user":{"login":"cschramm","id":464848,"avatar_url":"https://avatars.githubusercontent.com/u/464848?v=3","gravatar_id":"","url":"https://api.github.com/users/cschramm","html_url":"https://github.com/cschramm","followers_url":"https://api.github.com/users/cschramm/followers","following_url":"https://api.github.com/users/cschramm/following{/other_user}","gists_url":"https://api.github.com/users/cschramm/gists{/gist_id}","starred_url":"https://api.github.com/users/cschramm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschramm/subscriptions","organizations_url":"https://api.github.com/users/cschramm/orgs","repos_url":"https://api.github.com/users/cschramm/repos","events_url":"https://api.github.com/users/cschramm/events{/privacy}","received_events_url":"https://api.github.com/users/cschramm/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T14:41:33Z","updated_at":"2015-10-29T14:41:33Z","body":"Nearly. The network services' connect method is in blueman.services.meta.NetworkService. There's also a special method in blueman.services.meta.SerialService. All other services use the generic connect method in blueman.Service. They currently all have their own menu entry as they were connected and disconnected individually with BlueZ 4, but now it's not possible to get the services' state anymore and it would fit the BlueZ 5 way better to use just a single item for them."}}