{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/Windows-universal-samples/issues/476","repository_url":"https://api.github.com/repos/Microsoft/Windows-universal-samples","labels_url":"https://api.github.com/repos/Microsoft/Windows-universal-samples/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Windows-universal-samples/issues/476/comments","events_url":"https://api.github.com/repos/Microsoft/Windows-universal-samples/issues/476/events","html_url":"https://github.com/Microsoft/Windows-universal-samples/issues/476","id":174852446,"number":476,"title":"SystemMediaTransportControls - Play/Pause controls grayed out when CommandManager.IsEnabled == false","user":{"login":"planetarian","id":1724041,"avatar_url":"https://avatars.githubusercontent.com/u/1724041?v=3","gravatar_id":"","url":"https://api.github.com/users/planetarian","html_url":"https://github.com/planetarian","followers_url":"https://api.github.com/users/planetarian/followers","following_url":"https://api.github.com/users/planetarian/following{/other_user}","gists_url":"https://api.github.com/users/planetarian/gists{/gist_id}","starred_url":"https://api.github.com/users/planetarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/planetarian/subscriptions","organizations_url":"https://api.github.com/users/planetarian/orgs","repos_url":"https://api.github.com/users/planetarian/repos","events_url":"https://api.github.com/users/planetarian/events{/privacy}","received_events_url":"https://api.github.com/users/planetarian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/Windows-universal-samples/labels/media","name":"media","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T21:37:01Z","updated_at":"2016-10-03T21:44:29Z","closed_at":"2016-10-03T21:44:29Z","body":"I'm kind of new to all this, so please forgive any poor etiquette on my part, but here we go.\r\nI discovered this problem within my own project where I'm trying to design a player for a streaming radio service that can detect when song changes occur and update the transport controls automatically.\r\nI ended up looking at this sample as a reference for manually controlling the seek bar, and found this issue when trying the method myself in my own project. Wondering if maybe I wasn't doing anything wrong, and if perhaps the sample exhibited the same problem, I tried running it and sure enough, it has the same issue. This perhaps suggests it's a framework issue, and not necessarily a problem with the sample itself, but I'm not sure where else to inquire about this.\r\n\r\nTested on two PCs running 14393.82, and my Lumia 950XL running 14905 Insider. Going to install the cumulative update on the non-insider desktop and see if the behavior changes (I'm guessing not).\r\n\r\n**Procedure:**\r\n1) clone https://github.com/Microsoft/Windows-universal-samples\r\n2) open SystemMediaTransportControls.sln\r\n3) change target to x64 and start debugging\r\n4) click 'select files' and open an mp3\r\n**Expected Result:**\r\nMedia controls operate normally.\r\n**Actual Result:**\r\nMedia begins playing, Play/Pause in the application window are grayed out and cannot be interacted with. Play/Pause in the volume OSD and lock screen work fine, as do keyboard media controls. It is only the transport controls on the MediaPlayerElement that are grayed out.\r\n\r\nother related issue: https://github.com/Microsoft/Windows-universal-samples/issues/477\r\n\r\nrelated forum post:\r\nhttps://social.msdn.microsoft.com/Forums/windowsapps/en-US/fa6a9b91-a154-4467-ae80-73293454a218/uwp143938214905-mediaelement-playpause-controls-grayed-out-when-commandmanagerisenabled-?forum=wpdevelop\r\n\r\nedit: said MediaElement, meant MediaPlayerElement."}}
{"actor":{"display_login":"aarononeal"}}