{"id":31,"date":"2010-09-01T10:43:04","date_gmt":"2010-09-01T15:43:04","guid":{"rendered":"http:\/\/blog.aocate.com\/?p=31"},"modified":"2010-09-02T12:38:27","modified_gmt":"2010-09-02T17:38:27","slug":"osplay-whats-next","status":"publish","type":"post","link":"http:\/\/blog.aocate.com\/?p=31","title":{"rendered":"Osplay: What&#8217;s Next"},"content":{"rendered":"<p>I have been listening to feedback from the first users of Osplay.  This is my current todo list.<\/p>\n<p>Fix bug with very large files and related problem with deleted files<br \/>\nCatch Intent for opening audio<br \/>\nGet forums running<br \/>\nPause on headphone disconnect<br \/>\nBluetooth headset controls<br \/>\nRearrange buttons in landscape mode<br \/>\nTrial version<br \/>\nShow album art<br \/>\nID3 tagged browsing<br \/>\nSubscribing to Podcasts<\/p>\n<h2>Further Details<\/h2>\n<h3>Fix Bug With Very Large Files and Related Force Close Problem with Deleted Files<\/h3>\n<p>I received a bug report this morning that a 7-hour file reached the 3:30 mark while sped up 1.5x, then the display said more time had elapsed than there was in the file.  The book also stopped.  Removing the file resulted in force close on open.<\/p>\n<p>If you reach this bug:  The force close is most likely due to Osplay trying to restore a track that isn&#8217;t there any more.  <del datetime=\"2010-09-01T16:48:08+00:00\">Using home screen-&gt;Settings-&gt;Applications-&gt;Osplay-&gt;Clear Data button will cause the program to be able to open again, but will lose any saved bookmarks or history.  I am looking into adding a &#8220;Reset Loaded Track&#8221; button on the Applications screen that will just lose the currently loaded track, which would help in this case.<\/del><\/p>\n<p><strong>Update:<\/strong><br \/>\nAs of 2010-08-01 13:43 CDT, I&#8217;ve released Osplay v1.0.2 that should resolve this bug (which actually had to do with sample rates).  However, should you get force close problems on open, I have added a Manage Space option that lets you reset the open track.  To use it:<br \/>\nGo the Android home screen.<br \/>\nPress Menu->Settings->Applications->Manage Applications->Osplay<br \/>\nPress Manage Space<br \/>\nPress Clear Last Loaded Track Set<\/p>\n<h3>Catch Intent for Opening Audio<\/h3>\n<p>Osplay is currently a self-contained application.  It should be added to the &#8220;Complete action using&#8221; for audio files.  This should cause Beyondpod to be able to be used to manage podcasts and Osplay to be able to play them.  This is proving way more difficult than I feared, specifically with regard to SecurityException caused by opening an MP3 from Gmail.  I also need to radically rework how the database is going, so I&#8217;m getting a few other things done first just because they&#8217;re faster.<\/p>\n<h3>Get Forums Running<\/h3>\n<p><del datetime=\"2010-09-01T20:33:41+00:00\">Aocate needs an official place for support\/feedback and the like.  There are limited options at the moment:  This blog, Twitter, and Send Feedback link is Osplay.  phpBB is currently giving a Dreamhost-related error and Dreamhost&#8217;s support indicates they&#8217;re having other technical errors.<\/del><br \/>\nThe forums are up.  Here&#8217;s <a href=\"http:\/\/forum.aocate.com\/viewforum.php?f=6\">Osplay<\/a>, and <a href=\"http:\/\/forum.aocate.com\/viewforum.php?f=3\">Practice Makes Perfect<\/a>.<\/p>\n<h3>Pause on Headphone Disconnect<\/h3>\n<p>Pretty self-explanatory, though Preferences needs an option to turn this off.  I also think the G1, the device I&#8217;m using to test, doesn&#8217;t support this at all.<\/p>\n<h3>Bluetooth Headset Controls<\/h3>\n<p>I have not implemented anything that listens for controls from a Bluetooth headset.  This one is going to be tricky since I don&#8217;t have a Bluetooth headset.  It&#8217;s further made difficult by the fact that android.bluetooth wasn&#8217;t added until Android 2.0, which means I can&#8217;t support this and Android 1.5\/1.6 users.<\/p>\n<p>As of 2010-08-02 11:55 CDT, I&#8217;ve sent out a test version to one of the users who was asking for this feature.  It looks like android.bluetooth isn&#8217;t needed after all.<\/p>\n<h3>Rearrange Buttons in Landscape Mode<\/h3>\n<p>The buttons in landscape mode are too small.  Some of them will need to be cut out entirely since there isn&#8217;t a lot of space there.<\/p>\n<h3>Trial Version<\/h3>\n<p>Pretty self-explanatory, though I&#8217;m not sure what limitations to put on a demo version.  It&#8217;s a political, social, and technical problem.<\/p>\n<h3>Show Album Art<\/h3>\n<p>I personally don&#8217;t believe this is super-useful, but @amp68 on Twitter asked for it so I&#8217;ll at least give it some thought.<\/p>\n<h3>ID3 Tagged Browsing<\/h3>\n<p><del datetime=\"2010-09-02T14:58:35+00:00\">Another from @amp68, but it might not be particularly feasible: Practically speaking I&#8217;m limited to what Android MediaStore exposes, which is a subset of the ID3 tags.  I&#8217;ll need a lot more details on what this means:  You can already filter by album, artist and title, but clearly that isn&#8217;t meeting his needs.<\/del><br \/>\nTo my understanding, the objective here is to be able to play an entire album that contains a single audiobook easily.  This means being able to browse albums.  Artists may also be useful:  It could be kind of cool to play an entire author&#8217;s collection in one go.  As a stopgap measure, what can be done is go into the Music app, either Album or Artist, long-click that album or artist, and select Add to Playlist.  Create a new playlist, then play that in Osplay.  It&#8217;s more steps than it should be, but it can be done.<\/p>\n<h3>Subscribing to Podcasts<\/h3>\n<p>This is at the bottom because there are already podcast subscribers for Android.  I&#8217;m going to see if catching the Intent for opening audio is sufficient, and if so drop this entirely.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been listening to feedback from the first users of Osplay. This is my current todo list. Fix bug with very large files and related problem with deleted files Catch Intent for opening audio Get forums running Pause on headphone disconnect Bluetooth headset controls Rearrange buttons in landscape mode Trial version Show album art [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-osplay"],"_links":{"self":[{"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":13,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":45,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions\/45"}],"wp:attachment":[{"href":"http:\/\/blog.aocate.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.aocate.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}