{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2391","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2391/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2391/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2391/events","html_url":"https://github.com/mpv-player/mpv/issues/2391","id":110790958,"number":2391,"title":"Could you please provide a simple example of how to control a mpv instance?","user":{"login":"Harinlen","id":1301018,"avatar_url":"https://avatars.githubusercontent.com/u/1301018?v=3","gravatar_id":"","url":"https://api.github.com/users/Harinlen","html_url":"https://github.com/Harinlen","followers_url":"https://api.github.com/users/Harinlen/followers","following_url":"https://api.github.com/users/Harinlen/following{/other_user}","gists_url":"https://api.github.com/users/Harinlen/gists{/gist_id}","starred_url":"https://api.github.com/users/Harinlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harinlen/subscriptions","organizations_url":"https://api.github.com/users/Harinlen/orgs","repos_url":"https://api.github.com/users/Harinlen/repos","events_url":"https://api.github.com/users/Harinlen/events{/privacy}","received_events_url":"https://api.github.com/users/Harinlen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T12:00:28Z","updated_at":"2015-10-10T12:09:18Z","closed_at":null,"body":"I'm trying to use mpv as a backend of my music player. But unlike Phonon or bass, we have to use command to control the mpv instance. But there's nothing about the this.\r\nCould you please provides a simple c codes or Qt codes of controlling mpv instance? Provides some simple control like play&pause, stop, change volume, reset playing data.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/147082441","html_url":"https://github.com/mpv-player/mpv/issues/2391#issuecomment-147082441","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2391","id":147082441,"user":{"login":"Harinlen","id":1301018,"avatar_url":"https://avatars.githubusercontent.com/u/1301018?v=3","gravatar_id":"","url":"https://api.github.com/users/Harinlen","html_url":"https://github.com/Harinlen","followers_url":"https://api.github.com/users/Harinlen/followers","following_url":"https://api.github.com/users/Harinlen/following{/other_user}","gists_url":"https://api.github.com/users/Harinlen/gists{/gist_id}","starred_url":"https://api.github.com/users/Harinlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Harinlen/subscriptions","organizations_url":"https://api.github.com/users/Harinlen/orgs","repos_url":"https://api.github.com/users/Harinlen/repos","events_url":"https://api.github.com/users/Harinlen/events{/privacy}","received_events_url":"https://api.github.com/users/Harinlen/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T12:09:17Z","updated_at":"2015-10-10T12:09:17Z","body":"Or, it there any slave mode like mplayer for mpv? It the mpv work the same as mplayer?"}}