{"action":"created","issue":{"url":"https://api.github.com/repos/basilfx/SubDaap/issues/7","labels_url":"https://api.github.com/repos/basilfx/SubDaap/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/basilfx/SubDaap/issues/7/comments","events_url":"https://api.github.com/repos/basilfx/SubDaap/issues/7/events","html_url":"https://github.com/basilfx/SubDaap/pull/7","id":105104467,"number":7,"title":"Return the correct file size for a transcoded file","user":{"login":"ties","id":199058,"avatar_url":"https://avatars.githubusercontent.com/u/199058?v=3","gravatar_id":"","url":"https://api.github.com/users/ties","html_url":"https://github.com/ties","followers_url":"https://api.github.com/users/ties/followers","following_url":"https://api.github.com/users/ties/following{/other_user}","gists_url":"https://api.github.com/users/ties/gists{/gist_id}","starred_url":"https://api.github.com/users/ties/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ties/subscriptions","organizations_url":"https://api.github.com/users/ties/orgs","repos_url":"https://api.github.com/users/ties/repos","events_url":"https://api.github.com/users/ties/events{/privacy}","received_events_url":"https://api.github.com/users/ties/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-06T17:08:00Z","updated_at":"2015-09-06T18:26:33Z","closed_at":"2015-09-06T18:26:33Z","pull_request":{"url":"https://api.github.com/repos/basilfx/SubDaap/pulls/7","html_url":"https://github.com/basilfx/SubDaap/pull/7","diff_url":"https://github.com/basilfx/SubDaap/pull/7.diff","patch_url":"https://github.com/basilfx/SubDaap/pull/7.patch"},"body":"Before this patch, the size of a transcoded file was returned as the\r\nsize of the raw file. In the case of at least one file format (FLAC) the\r\nraw file is much  larger than the transcoded response.\r\n\r\nWith this path, subdaap requests the estimated content size from\r\nsubsonic. This size is then used in the response that is returned to the\r\nclient while streaming.\r\n\r\n#### Result\r\nThe duration for a transcoded, streaming file is shown correctly in iTunes. Since the length is correct, it is now possible to skip in these files (after caching is complete)."},"comment":{"url":"https://api.github.com/repos/basilfx/SubDaap/issues/comments/138108185","html_url":"https://github.com/basilfx/SubDaap/pull/7#issuecomment-138108185","issue_url":"https://api.github.com/repos/basilfx/SubDaap/issues/7","id":138108185,"user":{"login":"basilfx","id":815976,"avatar_url":"https://avatars.githubusercontent.com/u/815976?v=3","gravatar_id":"","url":"https://api.github.com/users/basilfx","html_url":"https://github.com/basilfx","followers_url":"https://api.github.com/users/basilfx/followers","following_url":"https://api.github.com/users/basilfx/following{/other_user}","gists_url":"https://api.github.com/users/basilfx/gists{/gist_id}","starred_url":"https://api.github.com/users/basilfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basilfx/subscriptions","organizations_url":"https://api.github.com/users/basilfx/orgs","repos_url":"https://api.github.com/users/basilfx/repos","events_url":"https://api.github.com/users/basilfx/events{/privacy}","received_events_url":"https://api.github.com/users/basilfx/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T18:26:33Z","updated_at":"2015-09-06T18:26:33Z","body":"I have cherry-picked this one. Thanks!"}}