{"action":"created","issue":{"url":"https://api.github.com/repos/trizen/youtube-viewer/issues/107","labels_url":"https://api.github.com/repos/trizen/youtube-viewer/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/trizen/youtube-viewer/issues/107/comments","events_url":"https://api.github.com/repos/trizen/youtube-viewer/issues/107/events","html_url":"https://github.com/trizen/youtube-viewer/issues/107","id":111648527,"number":107,"title":"no sound from mpv","user":{"login":"myf","id":694376,"avatar_url":"https://avatars.githubusercontent.com/u/694376?v=3","gravatar_id":"","url":"https://api.github.com/users/myf","html_url":"https://github.com/myf","followers_url":"https://api.github.com/users/myf/followers","following_url":"https://api.github.com/users/myf/following{/other_user}","gists_url":"https://api.github.com/users/myf/gists{/gist_id}","starred_url":"https://api.github.com/users/myf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myf/subscriptions","organizations_url":"https://api.github.com/users/myf/orgs","repos_url":"https://api.github.com/users/myf/repos","events_url":"https://api.github.com/users/myf/events{/privacy}","received_events_url":"https://api.github.com/users/myf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T15:56:09Z","updated_at":"2015-10-16T17:18:19Z","closed_at":null,"body":"since the new one doesn't seem to support mplayer anymore I switched it to mpv. Then I found that most of the times there's no sound coming out from mpv. I wonder if anyone has the same problem. I have an rc file for mplayer that sets ao=pulse but doesn't really have any specific setting for mpv. I can download the video with :d[number] and play it with mpv from there."},"comment":{"url":"https://api.github.com/repos/trizen/youtube-viewer/issues/comments/148776639","html_url":"https://github.com/trizen/youtube-viewer/issues/107#issuecomment-148776639","issue_url":"https://api.github.com/repos/trizen/youtube-viewer/issues/107","id":148776639,"user":{"login":"trizen","id":614513,"avatar_url":"https://avatars.githubusercontent.com/u/614513?v=3","gravatar_id":"","url":"https://api.github.com/users/trizen","html_url":"https://github.com/trizen","followers_url":"https://api.github.com/users/trizen/followers","following_url":"https://api.github.com/users/trizen/following{/other_user}","gists_url":"https://api.github.com/users/trizen/gists{/gist_id}","starred_url":"https://api.github.com/users/trizen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trizen/subscriptions","organizations_url":"https://api.github.com/users/trizen/orgs","repos_url":"https://api.github.com/users/trizen/repos","events_url":"https://api.github.com/users/trizen/events{/privacy}","received_events_url":"https://api.github.com/users/trizen/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T17:18:19Z","updated_at":"2015-10-16T17:18:19Z","body":"One guess: maybe `mpv` misses some codecs for playing webm audio.\r\n\r\nAlso, make sure that `youtube-dl` is installed and try to delete the configuration files (located in ~/.config/youtube-viewer)\r\n\r\nIf the problem persists, try to add the following entry to `video_players` inside `youtube-viewer.conf`:\r\n\r\n```perl\r\nmpv_native => {\r\n         arg => \"--really-quiet *URL*\",\r\n         cmd => \"mpv\",\r\n         fs => \"--fullscreen\",\r\n         novideo => \"--no-video\",\r\n         srt => \"--sub-file *SUB*\",\r\n},\r\n```\r\n\r\nand change the value of `video_player_selected` from `\"mpv\"` to `\"mpv_native\"`.\r\n\r\n"}}