{"id":167,"date":"2013-01-04T21:01:41","date_gmt":"2013-01-05T05:01:41","guid":{"rendered":"http:\/\/intr.overt.org\/blog\/?p=167"},"modified":"2013-01-04T21:01:41","modified_gmt":"2013-01-05T05:01:41","slug":"more-gvfs-mtp-backend-news","status":"publish","type":"post","link":"https:\/\/blog.intr.overt.org\/?p=167","title":{"rendered":"More gvfs MTP backend news"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>Happy New Year! And the new year brings new updates on the gvfs MTP front. I received a bunch of useful feedback from the gvfs maintainers last month, which I was finally able to get time to sit down and address over the last few days. Accordingly, I&#8217;ve made a series of updates that fix a variety of things, from small memory leaks all the way to, finally, implementing the right way to tell Nautilus to do directory downloads\/uploads in the right way (You&#8217;ve got to return a specific error code) &#8211; which fixes the one remaining functional gap in the code. Uploading a directory is still not fully working as I need to handle the way Nautilus ends up referring to uploaded directories by name when trying to upload their contents. Right now there&#8217;s no logic to remap the name to the MTP entity ID so the file uploads fail, but I know what has to be done.<\/p>\n<p>I think we&#8217;re nearing the finish line, with respect to getting this merged upstream. *phew*<\/p>\n<p>As always, the easiest way to try the code out is to install the packages from my <a href=\"https:\/\/launchpad.net\/~langdalepl\/+archive\/gvfs-mtp\">PPA<\/a>. I have also put a build of libmtp 1.1.5 in there so that unlock events and thumbnails work out of the box too.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, Happy New Year! And the new year brings new updates on the gvfs MTP front. I received a bunch of useful feedback from the gvfs maintainers last month, which I was finally able to get time to sit down and address over the last few days. Accordingly, I&#8217;ve made a series of updates [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-the-wonderful-world-of-gnome"],"_links":{"self":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts\/167"}],"collection":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":0,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}