{"action":"created","issue":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/151","labels_url":"https://api.github.com/repos/xibosignage/xibo/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/xibosignage/xibo/issues/151/comments","events_url":"https://api.github.com/repos/xibosignage/xibo/issues/151/events","html_url":"https://github.com/xibosignage/xibo/issues/151","id":56507937,"number":151,"title":"Add layout duration to the Layouts list and Designer","user":{"login":"nagyrobi","id":1550668,"avatar_url":"https://avatars.githubusercontent.com/u/1550668?v=3","gravatar_id":"","url":"https://api.github.com/users/nagyrobi","html_url":"https://github.com/nagyrobi","followers_url":"https://api.github.com/users/nagyrobi/followers","following_url":"https://api.github.com/users/nagyrobi/following{/other_user}","gists_url":"https://api.github.com/users/nagyrobi/gists{/gist_id}","starred_url":"https://api.github.com/users/nagyrobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagyrobi/subscriptions","organizations_url":"https://api.github.com/users/nagyrobi/orgs","repos_url":"https://api.github.com/users/nagyrobi/repos","events_url":"https://api.github.com/users/nagyrobi/events{/privacy}","received_events_url":"https://api.github.com/users/nagyrobi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xibosignage/xibo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xibosignage/xibo/milestones/1","labels_url":"https://api.github.com/repos/xibosignage/xibo/milestones/1/labels","id":927121,"number":1,"title":"1.8.0-alpha","description":"Feature Release to contain one of:\r\n\r\n- Playlists\r\n- Interactive Signage\r\n- Cross Platform Player","creator":{"login":"dasgarner","id":10400067,"avatar_url":"https://avatars.githubusercontent.com/u/10400067?v=3","gravatar_id":"","url":"https://api.github.com/users/dasgarner","html_url":"https://github.com/dasgarner","followers_url":"https://api.github.com/users/dasgarner/followers","following_url":"https://api.github.com/users/dasgarner/following{/other_user}","gists_url":"https://api.github.com/users/dasgarner/gists{/gist_id}","starred_url":"https://api.github.com/users/dasgarner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasgarner/subscriptions","organizations_url":"https://api.github.com/users/dasgarner/orgs","repos_url":"https://api.github.com/users/dasgarner/repos","events_url":"https://api.github.com/users/dasgarner/events{/privacy}","received_events_url":"https://api.github.com/users/dasgarner/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":2,"state":"open","created_at":"2015-01-08T14:30:33Z","updated_at":"2015-02-12T10:58:10Z","due_on":"2015-03-30T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-02-04T10:17:41Z","updated_at":"2015-02-19T01:26:06Z","closed_at":null,"body":"Please add to the Layouts list a column with the computed total duration of each layout (taking in account all the regions duration), so the user can see them by looking at the table. Important to troubleshoot when layouts don't update because not expiring due to extra long durations set in certain regions.\r\n\r\nWould be nice to see it in the designer page too, during modifying the regions, what's the total duration of the design."},"comment":{"url":"https://api.github.com/repos/xibosignage/xibo/issues/comments/74984143","html_url":"https://github.com/xibosignage/xibo/issues/151#issuecomment-74984143","issue_url":"https://api.github.com/repos/xibosignage/xibo/issues/151","id":74984143,"user":{"login":"laercionit","id":325662,"avatar_url":"https://avatars.githubusercontent.com/u/325662?v=3","gravatar_id":"","url":"https://api.github.com/users/laercionit","html_url":"https://github.com/laercionit","followers_url":"https://api.github.com/users/laercionit/followers","following_url":"https://api.github.com/users/laercionit/following{/other_user}","gists_url":"https://api.github.com/users/laercionit/gists{/gist_id}","starred_url":"https://api.github.com/users/laercionit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laercionit/subscriptions","organizations_url":"https://api.github.com/users/laercionit/orgs","repos_url":"https://api.github.com/users/laercionit/repos","events_url":"https://api.github.com/users/laercionit/events{/privacy}","received_events_url":"https://api.github.com/users/laercionit/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T01:26:06Z","updated_at":"2015-02-19T01:26:06Z","body":"Usando o http://getid3.sourceforge.net/ acho que é possível obter a duração em minutos ou segundos do vídeo. \r\n\r\n$getID3 = new getID3;\r\n$file = $getID3->analyze($filename);\r\necho(\"Duration: \".$file['playtime_string'].\r\n        \" / Dimensions: \".$file['video']['resolution_x'].\" wide by \".$file['video']['resolution_y'].\" tall\".\r\n        \" / Filesize: \".$file['filesize'].\" bytes<br />\");\r\n\r\n"}}