{ "id": "97744", "key": "TIMOB-10212", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15940", "description": "2014 Sprint 07 SDK", "name": "2014 Sprint 07 SDK", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-03T20:02:12.000+0000", "created": "2012-07-20T23:30:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "community", "module_media", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "36348", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "128570", "key": "TIDOC-1608", "fields": { "summary": "AudioPlayer new property - duration", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-01T03:56:56.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "AudioPlayer lacks duration function.", "attachment": [ { "id": "30102", "filename": "4fa7ea4a3a111f50b8c4a84e19d5ca26.png", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T19:17:06.000+0000", "size": 162513, "mimeType": "image/png" } ], "flagged": false, "summary": "AudioPlayer lacks duration function", "creator": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.2.GA", "comment": { "comments": [ { "id": "209967", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi,\r\n\r\nWhat is the functionality that you are trying to implement? Can you not have a counter in the Javascript code itself to get the duration of the audio player?\r\n\r\nThanks,\r\nVarun", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-26T16:29:08.000+0000", "updated": "2012-07-26T16:29:08.000+0000" }, { "id": "210009", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A customized radio player which implements online stream playing and could display the the total time length, also known as duration, and the progress.", "updateAuthor": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T19:17:06.000+0000", "updated": "2012-07-26T19:17:06.000+0000" }, { "id": "210010", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I need to get the duration just in the beginning rather than the end of playing with a counter in js.", "updateAuthor": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T19:20:39.000+0000", "updated": "2012-07-26T19:20:39.000+0000" }, { "id": "259114", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "Affects: Release 3.1.1GA iOS\r\n+1 For this. Getting the full duration at the start of a track is a critical feature in any streaming application. A pull-request was put in a while ago for this with a bunch of other additional features for the audioplayer; I've manually merged and tested these which work fine so its definitely feasible to implement this with little additional work. As a developer its frustrating having to manually fork and then update/re-fork just because what should be minor features are missing from the sdk.", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-22T02:42:27.000+0000", "updated": "2013-06-22T02:43:21.000+0000" }, { "id": "259585", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~scleaver] Do you have a link to that PR? I seem to be unable to find the one you are referring to.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T20:02:07.000+0000", "updated": "2013-06-26T20:02:07.000+0000" }, { "id": "259588", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "Sure, it was https://github.com/appcelerator/titanium_mobile/pull/86\r\nIt's quite a mess which I guess is why it was never pulled in; took a couple of hours to do the manual merge (going through the diffs and picking out the right/relevant changes). If it would expedite this feature I can re-fork off the latest master and apply the changes and submit a clean pull request?", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-26T20:16:35.000+0000", "updated": "2013-06-26T20:16:35.000+0000" }, { "id": "259592", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~scleaver] Yes, that would be most appreciated. I think one issue is that gerry3 doesn't appear to have signed the CLA, so I don't believe we can legally accept his code without it, even if you clean it up. Let me see if I can get him to do so. You'll need to sign the CLA as well: https://appcelerator.echosign.com/public/hostedForm?formid=25LBTXJ55452R", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-26T20:27:16.000+0000", "updated": "2013-06-26T20:28:37.000+0000" }, { "id": "259604", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "I've just submitted my signed CLA, if you could post back when/if gerry3 gives a response that'd be great.", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-26T21:00:27.000+0000", "updated": "2013-06-26T21:00:27.000+0000" }, { "id": "259885", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~scleaver] gerry3 signed the CLA, so we should be all set.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-27T20:49:37.000+0000", "updated": "2013-06-27T20:49:37.000+0000" }, { "id": "259898", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "Great to hear, I'll look to fork off master branch over the weekend and perform the integration again. I don't expect there to be any issues but will report back on progress (and certainly when I put in a PR).", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-27T21:26:02.000+0000", "updated": "2013-06-27T21:26:02.000+0000" }, { "id": "260346", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "[~ingo] Have created a PR for the change: https://github.com/appcelerator/titanium_mobile/pull/4427 have also created parity PR for Android at https://github.com/appcelerator/titanium_mobile/pull/4428. Both only required minor changes so should be relatively low risk. \r\n\r\nWith these additions, seeking a track is also now possible which, in my opinion, is also a core feature of an audio player application. gerry3 implemented this in his previous mammoth PR and I've separately implemented this feature on Android before, should I open a separate JIRA for this with a view to submitting a PR for this?", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-29T14:54:27.000+0000", "updated": "2013-06-29T14:54:53.000+0000" }, { "id": "260413", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~scleaver] That's great. Thanks! Would you mind adding a small test case so we know how to test the functionality works? See [Creating a test case|http://docs.appcelerator.com/titanium/latest/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase]. As to the second functionality, yes, a separate JIRA is preferred.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-01T15:02:50.000+0000", "updated": "2013-07-01T15:04:07.000+0000" }, { "id": "260753", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "[~ingo] Sorry for the delay, will try and get the test cases done by the end of this week (for iOS and Android respectively).", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-07-03T16:01:50.000+0000", "updated": "2013-07-03T16:01:50.000+0000" }, { "id": "270737", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~scleaver] any progress on the test cases? ", "updateAuthor": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-11T11:24:05.000+0000", "updated": "2013-09-11T11:24:05.000+0000" }, { "id": "270753", "author": { "name": "laddi", "key": "laddi", "displayName": "Þórhallur Helgason", "active": true, "timeZone": "Etc/GMT" }, "body": "I'm also anxiously waiting for this one to be resolved, would save me a lot of trouble and hassle trying to find an alternative method... :)", "updateAuthor": { "name": "laddi", "key": "laddi", "displayName": "Þórhallur Helgason", "active": true, "timeZone": "Etc/GMT" }, "created": "2013-09-11T15:11:11.000+0000", "updated": "2013-09-11T15:11:11.000+0000" }, { "id": "272740", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "[~btran] Apologies for the delay, combination of travelling/new job. I've been trying to get this done for the past few days but came up against numerous Titanium Studio issues which resulted in me having to fully reinstall everything (I suspect something went wrong with Nodejs somewhere). Even now I'm being plagued by a mysterious \"Waiting for SD card to become available...\" when trying to run Android which means waiting 60 seconds for it to timeout (after which it runs fine) so obviously thats slowing things also. ", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-24T22:14:57.000+0000", "updated": "2013-09-24T22:14:57.000+0000" }, { "id": "272935", "author": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sam Cleaver I am really looking for these features to be added to Titanium - I am willing to help out where I can. Thanks for the great work!", "updateAuthor": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-26T03:00:13.000+0000", "updated": "2013-09-26T03:00:13.000+0000" }, { "id": "273042", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "body": "[~btran] [~ingo] I've added an additional commit to my iOS pull request to tidy things up (fix some deprecation, parity issues). Seems you can't add attachments in comments so I've created a gist for the test case at: https://gist.github.com/samcleaver/6720370\r\nThe same test case should work with iOS and Android but obviously you'll need to merge the commits in either off the Android or iOS branches I created in the respective pull requests. I've tested on both iOS 6 and Android 4.3.", "updateAuthor": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-26T20:57:18.000+0000", "updated": "2013-09-26T20:57:18.000+0000" }, { "id": "274328", "author": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ingo Muschenetz - Now that it is marked as fixed in Release 3.3.0 - How would we go about adding this to our Titanium SDK? Should we wait for the official 3.3.0 release (When is this planned?) Should we use the nightly builds? Or is there a better way? Thanks for all the amazing work!", "updateAuthor": { "name": "dieskim", "key": "dieskim", "displayName": "David van de Meer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T03:49:37.000+0000", "updated": "2013-10-09T03:49:37.000+0000" }, { "id": "274411", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dieskim] Just a note--it's not fixed yet. It's scheduled _to be fixed_ in 3.3.0.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T17:49:23.000+0000", "updated": "2013-10-09T17:49:23.000+0000" }, { "id": "279416", "author": { "name": "bsouth", "key": "bsouth", "displayName": "Brandon West", "active": true, "timeZone": "America/Chicago" }, "body": "Please get this fixed; we are desperately needing these critical features. Thanks for the hard work!", "updateAuthor": { "name": "bsouth", "key": "bsouth", "displayName": "Brandon West", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-13T22:34:11.000+0000", "updated": "2013-11-13T22:34:11.000+0000" }, { "id": "302850", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The audioPlayer duration is shown.\r\nVerified on:\r\nAppc Studio: 3.3.0.201404211130 \r\nSDK build: 3.3.0.v20140422163054 \r\nalloy: 1.4.0-dev \r\nCLI: titanium-3.3.0-dev \r\ntitanium-code-processor:1.1.1-beta1 \r\nXcode: 5.1.1 \r\nOsx: 10.9.2 \r\nDevice: Nexus 5 (4.4.2), iPhone4 (7.1)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-29T08:56:57.000+0000", "updated": "2014-04-29T08:56:57.000+0000" }, { "id": "311753", "author": { "name": "keylo e.", "key": "keylo e.", "displayName": "Keylo E.", "active": true, "timeZone": "America/New_York" }, "body": "I don't see this in the release candidate. Please tell us it is.", "updateAuthor": { "name": "keylo e.", "key": "keylo e.", "displayName": "Keylo E.", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-01T03:56:56.000+0000", "updated": "2014-07-01T03:56:56.000+0000" } ], "maxResults": 25, "total": 25, "startAt": 0 } } }