{"action":"created","issue":{"url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/55","repository_url":"https://api.github.com/repos/lukasf/FFmpegInterop","labels_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/55/comments","events_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/55/events","html_url":"https://github.com/lukasf/FFmpegInterop/issues/55","id":331140291,"node_id":"MDU6SXNzdWUzMzExNDAyOTE=","number":55,"title":"MediaPlaybackList adapter","user":{"login":"mcosmin222","id":9284164,"node_id":"MDQ6VXNlcjkyODQxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9284164?v=4","gravatar_id":"","url":"https://api.github.com/users/mcosmin222","html_url":"https://github.com/mcosmin222","followers_url":"https://api.github.com/users/mcosmin222/followers","following_url":"https://api.github.com/users/mcosmin222/following{/other_user}","gists_url":"https://api.github.com/users/mcosmin222/gists{/gist_id}","starred_url":"https://api.github.com/users/mcosmin222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcosmin222/subscriptions","organizations_url":"https://api.github.com/users/mcosmin222/orgs","repos_url":"https://api.github.com/users/mcosmin222/repos","events_url":"https://api.github.com/users/mcosmin222/events{/privacy}","received_events_url":"https://api.github.com/users/mcosmin222/received_events","type":"User","site_admin":false},"labels":[{"id":715660036,"node_id":"MDU6TGFiZWw3MTU2NjAwMzY=","url":"https://api.github.com/repos/lukasf/FFmpegInterop/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-06-11T10:56:43Z","updated_at":"2018-06-16T14:29:52Z","closed_at":null,"author_association":"COLLABORATOR","body":"Hello,\r\n\r\nI've been wondering, since this has come up a few times here.\r\nShould we include an adapter for MediaPlaybackList to work with this library?\r\n\r\nFor example, the adapter would have a list of \"stream sources\" (uris, IRandomAccessStreams, Files etc) and would automatically create a MediaPlaybackList of 3 items (the currently played item in the middle, and previous and next items) to achieve gapless playback.\r\n\r\nI have a rough idea on how this should work, if it is to have it implemented I will do most of the work.\r\n\r\nWhat do you think @lukasf, @touseefbsb?"},"comment":{"url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/comments/397816061","html_url":"https://github.com/lukasf/FFmpegInterop/issues/55#issuecomment-397816061","issue_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/55","id":397816061,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgxNjA2MQ==","user":{"login":"mcosmin222","id":9284164,"node_id":"MDQ6VXNlcjkyODQxNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9284164?v=4","gravatar_id":"","url":"https://api.github.com/users/mcosmin222","html_url":"https://github.com/mcosmin222","followers_url":"https://api.github.com/users/mcosmin222/followers","following_url":"https://api.github.com/users/mcosmin222/following{/other_user}","gists_url":"https://api.github.com/users/mcosmin222/gists{/gist_id}","starred_url":"https://api.github.com/users/mcosmin222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcosmin222/subscriptions","organizations_url":"https://api.github.com/users/mcosmin222/orgs","repos_url":"https://api.github.com/users/mcosmin222/repos","events_url":"https://api.github.com/users/mcosmin222/events{/privacy}","received_events_url":"https://api.github.com/users/mcosmin222/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T14:29:52Z","updated_at":"2018-06-16T14:29:52Z","author_association":"COLLABORATOR","body":"@lukasf I uploaded the event based model. \r\n\r\n- I've implemented a crude deferal, although there could probably be easier approaches to avoid the wrath of an async void wait-up (for example, instead of asking for the completed MediaPlaybackItem in the request, we could request the IAsyncOperation which creates it, and then await it at the other end).\r\n- I've added some tests to see how this performs. Surprisingly, I could not get the list to behave like I would expect it to. Apparently, if you add a new item to the list, it seems it is ignored. Looks like the list will only be aware of the items there were in it when the MediaPlayer.Source property is assigned.\r\n- There is still a long way to go, you are right that this is very complicated.\r\n\r\nWhat do you think?\r\n\r\n"}}
{"actor":{"display_login":"mcosmin222"}}