{"id":386,"date":"2020-05-01T15:01:00","date_gmt":"2020-05-01T19:01:00","guid":{"rendered":"http:\/\/www.tks-designs.com\/blog\/?p=386"},"modified":"2021-01-23T15:02:11","modified_gmt":"2021-01-23T20:02:11","slug":"elements-ingest-tool","status":"publish","type":"post","link":"https:\/\/www.tks-designs.com\/blog\/?p=386","title":{"rendered":"Elements Ingest Tool"},"content":{"rendered":"\n<h6 class=\"wp-block-heading\">handling ingest of bulk data with style!<\/h6>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"149\" src=\"http:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/splash-2-1024x149.jpg\" alt=\"\" class=\"wp-image-392\" srcset=\"https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/splash-2-1024x149.jpg 1024w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/splash-2-300x44.jpg 300w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/splash-2-768x112.jpg 768w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/splash-2.jpg 1463w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>When I was first asked to begin thinking about a tool to handle and sort files coming into a busy VFX house, I was pretty hesitant. How could you possibly correctly sort BG plates from stock footage, editorial QTs from plates, set data from delivery manifests??<\/p>\n\n\n\n<p>It wasn&#8217;t until we came up with the idea to utilize the Shotgun Toolkit&#8217;s publisher (<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/shotgunsoftware\/tk-multi-publish2\" data-type=\"URL\" data-id=\"https:\/\/github.com\/shotgunsoftware\/tk-multi-publish2\" target=\"_blank\">tk-multi-publish2<\/a>) that it started to seem doable. While my experience with the publisher hadn&#8217;t been all stellar up to that point, this was really a place for it to shine. Specifically &#8211; the publisher excels at handling large quantities of different file types all at once, determining info about them and offering a nicely designed GUI to the end user.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"252\" src=\"http:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/select.jpg\" alt=\"\" class=\"wp-image-389\" srcset=\"https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/select.jpg 403w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/select-300x188.jpg 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><figcaption>The gui allows the user to assign delivery-specific info before beginning the ingest process.<\/figcaption><\/figure>\n\n\n\n<p>In the end, we ended up with two plugins for our ingest tool. One (&#8220;Sort Files&#8221;) determines the best location of the file based on some simple path matching; if it can&#8217;t determine where to put the files, it prompts the user to fill out manually.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"671\" src=\"http:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/overall-1024x671.jpg\" alt=\"\" class=\"wp-image-388\" srcset=\"https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/overall-1024x671.jpg 1024w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/overall-300x197.jpg 300w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/overall-768x503.jpg 768w, https:\/\/www.tks-designs.com\/blog\/wp-content\/uploads\/2021\/01\/overall.jpg 1071w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>I had to do some special adjustments to the publisher2 code to allow for the proper communication between plugins. By default, they are pretty siloed, however in our case, I wanted the location of he Sort to affect the type of Element that was created in Shotgun.<\/figcaption><\/figure>\n\n\n\n<p>The second plugin (&#8220;Publish Element&#8221;) creates an Entity in Shotgun linked to the files and the Shot\/Asset\/Project that the Element is being ingested for. This even includes notifications to Artists and Production staff that the Element is in &#8211; for example, that plates have been delivered.<\/p>\n\n\n\n<p>Ultimately, it&#8217;s been in heavy use for nearly 3 years now and has been working better than I ever expected. It&#8217;s something I&#8217;m very proud of!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>handling ingest of bulk data with style! When I was first asked to begin thinking about a tool to handle and sort files coming into a busy VFX house, I was pretty hesitant. How could you possibly correctly sort BG plates from stock footage, editorial QTs from plates, set data from delivery manifests?? It wasn&#8217;t <span class=\"ellipsis\">&hellip;<\/span> <span class=\"more-link-wrap\"><a href=\"https:\/\/www.tks-designs.com\/blog\/?p=386\" class=\"more-link\"><span>Continue Reading &rarr;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"kia_subtitle":"","footnotes":""},"categories":[4,19,21,20,12,1],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-python","category-qt","category-sgtk","category-shotgun","category-technical-direction","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=386"}],"version-history":[{"count":2,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}