{"action":"created","issue":{"url":"https://api.github.com/repos/clementine-player/Clementine/issues/5455","repository_url":"https://api.github.com/repos/clementine-player/Clementine","labels_url":"https://api.github.com/repos/clementine-player/Clementine/issues/5455/labels{/name}","comments_url":"https://api.github.com/repos/clementine-player/Clementine/issues/5455/comments","events_url":"https://api.github.com/repos/clementine-player/Clementine/issues/5455/events","html_url":"https://github.com/clementine-player/Clementine/issues/5455","id":168439313,"number":5455,"title":"Feature Request: Add dialog to display streams' audio details (testers needed)","user":{"login":"santigl","id":11447309,"avatar_url":"https://avatars.githubusercontent.com/u/11447309?v=3","gravatar_id":"","url":"https://api.github.com/users/santigl","html_url":"https://github.com/santigl","followers_url":"https://api.github.com/users/santigl/followers","following_url":"https://api.github.com/users/santigl/following{/other_user}","gists_url":"https://api.github.com/users/santigl/gists{/gist_id}","starred_url":"https://api.github.com/users/santigl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santigl/subscriptions","organizations_url":"https://api.github.com/users/santigl/orgs","repos_url":"https://api.github.com/users/santigl/repos","events_url":"https://api.github.com/users/santigl/events{/privacy}","received_events_url":"https://api.github.com/users/santigl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-30T00:46:54Z","updated_at":"2016-09-13T15:26:05Z","closed_at":null,"body":"This is a combination of a feature request with a request for testers/critics.\r\n\r\nI have implemented a class called `StreamDiscoverer` that acquires the audio details for a given stream url. Those details are: codec, bitrate, sample rate, number of channels and bit depth (this last one seems to not be too reliable in my setup, though).\r\n\r\nIt uses GStreamer's [gstdiscoverer](https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstdiscoverer.html).\r\n\r\nI also added a menu action that is displayed only when right-clicking a single stream in the playlist. That action launches an instance of the `StreamDiscoverer` class, which tries to do its work and, if successful, displays a dialog with the details.\r\n\r\nThe reason why I implemented the `StreamDiscoverer` class  is that I couldn't find a way of getting those specific details from the current engine functions. But it also has the advantage of allowing to get information for stream items that aren't playing.\r\n\r\nThis is how it currently looks (the strings in Spanish are the ones that already have translations):\r\n![streamdetails2](https://cloud.githubusercontent.com/assets/11447309/17266517/a0341c66-55cf-11e6-8192-a4548e8b048c.png)\r\n\r\nI'm need of help to test it on Windows and Mac, and also to make everything satisfy the project's coding standards.\r\n\r\nEDIT: I changed the code to work completely asynchronously. The changes are now here: https://github.com/santigl/Clementine/tree/stream-details-async"},"comment":{"url":"https://api.github.com/repos/clementine-player/Clementine/issues/comments/246719440","html_url":"https://github.com/clementine-player/Clementine/issues/5455#issuecomment-246719440","issue_url":"https://api.github.com/repos/clementine-player/Clementine/issues/5455","id":246719440,"user":{"login":"santigl","id":11447309,"avatar_url":"https://avatars.githubusercontent.com/u/11447309?v=3","gravatar_id":"","url":"https://api.github.com/users/santigl","html_url":"https://github.com/santigl","followers_url":"https://api.github.com/users/santigl/followers","following_url":"https://api.github.com/users/santigl/following{/other_user}","gists_url":"https://api.github.com/users/santigl/gists{/gist_id}","starred_url":"https://api.github.com/users/santigl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santigl/subscriptions","organizations_url":"https://api.github.com/users/santigl/orgs","repos_url":"https://api.github.com/users/santigl/repos","events_url":"https://api.github.com/users/santigl/events{/privacy}","received_events_url":"https://api.github.com/users/santigl/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T15:26:05Z","updated_at":"2016-09-13T15:26:05Z","body":"Hi, @gaga9999. Unfortunately, it is still pending testing on the different platforms before being added as a feature."}}
{"actor":{"display_login":"santigl"}}