{ "id": "170632", "key": "AC-5456", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2017-12-17T22:15:28.000+0000", "created": "2017-12-15T09:29:13.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-19T09:55:00.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Is there a possibility to play .flac files with the AudioPlayer yet? \r\nOr exists any third party module, which will do this?\r\n\r\nAny help would be appreciated.", "attachment": [], "flagged": false, "summary": "iOS: Support FLAC files in audio player", "creator": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "432206", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The built-in audio-players in iOS do not support this. A simple solution would be to use [OrigamiEngine|https://github.com/ap4y/OrigamiEngine] in Hyperloop like this:\r\n\r\nPodfile:\r\n{code:ruby}\r\nplatform :ios, '9.0'\r\n\r\ntarget 'YOUR_APP_NAME' do\r\n\r\n pod 'OrigamiEngine', '~> 1.0.14'\r\nend\r\n{code}\r\n\r\nYour app:\r\n{code:js}\r\nvar ORGMEngine = require('ORGMEngine/ORGMEngine');\r\nvar player = new ORGMEngine();\r\nlet url = NSURL.URLWithString('file.flac'); // I think it's only the name of the file in the final product / bundle. Maybe try around a bit here\r\nplayer.playUrl(url);\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-15T10:10:25.000+0000", "updated": "2017-12-15T10:10:25.000+0000" }, { "id": "432208", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "And the AudioPlayer will never support it?", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-15T10:45:11.000+0000", "updated": "2017-12-15T10:45:11.000+0000" }, { "id": "432240", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, [~benutzername], This is not supported by the built-in iOS audio player. Besides, Hyperloop does provide a workaround for this. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-15T22:22:29.000+0000", "updated": "2017-12-15T22:22:29.000+0000" }, { "id": "432385", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Got it working. Thanks.\r\n\r\nBut one question still exists. How do I add an eventListener to the _didChangeState_ in https://github.com/ap4y/OrigamiEngine/blob/master/Example/iOS/ORGMEngine%20Example/ORGMPlayerViewController.m#L159", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-19T09:54:39.000+0000", "updated": "2017-12-19T09:55:00.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }