{ "id": "122144", "key": "TIMOB-15675", "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": "15817", "description": "2014 Sprint 01", "name": "2014 Sprint 01", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "id": "15820", "description": "2014 Sprint 01 API", "name": "2014 Sprint 01 API", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "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-01-17T00:27:56.000+0000", "created": "2013-11-06T15:46:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_media", "qe-testadded" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "33099", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "117176", "key": "TIMOB-14552", "fields": { "summary": "iOS: Setting the position of the audio playBack in audioPlayer", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-04-22T23:06:16.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h4. Description\r\n\r\nAbility to set the position of the media playback to start the media from the middle instead of from start.", "attachment": [], "flagged": false, "summary": "Android: Setting the position of the audio playBack in audioPlayer", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "280176", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Looks like Android version already has a method 'setTime' to set the position but this is not documented.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-19T16:42:35.000+0000", "updated": "2013-11-19T16:42:35.000+0000" }, { "id": "284348", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "\r\nExposed 'time' property like in sound.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5121", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-14T17:37:11.000+0000", "updated": "2013-12-14T17:37:11.000+0000" }, { "id": "287397", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Test case\n\n var win = Ti.UI.createWindow({\n\t\t\tlayout: 'vertical',\n\t\t\tbackgroundColor : \"#FFF\"\n\t\t});\n\t\tvar audioPlayer = Titanium.Media.createAudioPlayer({\n\t\t\tallowBackground : true\n\t\t});\n\t\tvar button = Ti.UI.createButton({\n\t\t\ttitle : 'Stop',\n\t\t\twidth : 200\n\t\t});\n\t\tbutton.addEventListener('click', function() {\n\t\t\taudioPlayer.stop();\n\t\t\taudioPlayer.release();\n\t\t});\n\t\twin.add(button);\n\t\tvar button2 = Ti.UI.createButton({\n\t\t\ttitle : 'Play',\n\t\t\twidth : 200\n\t\t});\n\t\tbutton2.addEventListener('click', function() {\n\t\t\taudioPlayer.start();\n\t\t});\n\t\twin.add(button2);\n\t\tvar button3 = Ti.UI.createButton({\n\t\t\ttitle : 'Pause',\n\t\t\twidth : 200\n\t\t});\n\t\tbutton3.addEventListener('click', function() {\n\t\t\taudioPlayer.pause();\n\t\t});\n\t\twin.add(button3);\n\t\t\n\t\tvar button4 = Ti.UI.createButton({\n\t\t\ttitle : 'getTime',\n\t\t\twidth : 200\n\t\t});\n\t\tbutton4.addEventListener('click', function() {\n\t\t\tTi.API.info(\"Time = \" +audioPlayer.getTime());\n\t\t});\n\t\twin.add(button4);\n\t\t\n\t\tvar button5 = Ti.UI.createButton({\n\t\t\ttitle : 'setTime',\n\t\t\twidth : 200\n\t\t});\n\t\tbutton5.addEventListener('click', function() {\n\t\t\taudioPlayer.setTime(audioPlayer.getTime()+18000);\n\t\t});\n\t\twin.add(button5);\n\t\t\n\t\taudioPlayer.setUrl('Kalimba.mp3');\n\t\taudioPlayer.start();\n\t\twin.open();", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-09T14:47:23.000+0000", "updated": "2014-01-09T14:47:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }