# Exporting QTs from flame - would like to have links automatically assigned to the new version in shotgun

**URL:** <https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857>\
**Category:** Pipeline Integrations\
**Created:** [November 19, 2019, 7:43pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857 "2019-11-19T19:43:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![amilkis](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@amilkis](https://community.shotgridsoftware.com/u/amilkis)\
**Post date:** [November 19, 2019, 7:43pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/1 "2019-11-19T19:43:12Z")

</div>

Hi there,

When I export Quicktimes from Flame, I get a window with the option to publish the quicktimes to shotgun. There is a window for “description” but no place to add in a link to a shot. I’d like to see if this could be added to the flame publish window, or if it could be automated. The QTs have the shot name in the file name: 101\_004\_050\_v022.mov, for example. I would love to have a link to a shot of the same name automatically applied when this is logged into the Shotgun media tab.

Any suggestions?

Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![jonas.lindfors](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jonas.lindfors/32/1046_2.png) [@jonas.lindfors](https://community.shotgridsoftware.com/u/jonas.lindfors)\
**Post date:** [November 20, 2019, 10:42am UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/2 "2019-11-20T10:42:07Z")

</div>

Hi Andy,

I have done some similar things like this with the tk-flame-export app. In general I try to avoid taking full control over apps, but in this case that’s what I did since we had some specific things that we wanted to change.

To point you in the right direction, check out this part:

> <https://github.com/shotgunsoftware/tk-flame-export/blob/d9b28eb24ce2e5e81286369dd7426d99261948d3/app.py#L771>

This is where the context for the batch publish is setup, if it does not give you what you need by default, you can do changes here.

Cheers,  
Jonas

---

<div class="post-metadata">

**Author:** ![tannaz](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/tannaz/32/32_2.png) [@tannaz](https://community.shotgridsoftware.com/u/tannaz)\
**Post date:** [November 22, 2019, 1:39am UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/3 "2019-11-22T01:39:33Z")

</div>

Hey Andy! Sorry for the delay on this one! We’re running your question by our resident Flame experts to get you the info you need. I’ll report back when I have more.

---

<div class="post-metadata">

**Author:** ![amilkis](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@amilkis](https://community.shotgridsoftware.com/u/amilkis)\
**Post date:** [November 22, 2019, 1:59am UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/5 "2019-11-22T01:59:45Z")

</div>

Thanks!!  
Andy Milkis  
Director of Visual Effects  
Director of Technology  
[![Logo](https://global.discourse-cdn.com/shotgunsoftware/original/2X/1/135294eb73729eb01a5cad7fe8af4fea1095f0bc.jpeg)](http://lvly.tv/)  
LVLY  
575 Lexington Ave  
New York, NY 10022  
t: 212-317-0077  
e: [andy@lvly.tv](mailto:andy@lvly.tv)  
[lvly.tv](http://lvly.tv)  
[![LinkedIn icon](https://global.discourse-cdn.com/shotgunsoftware/original/2X/1/1b976f8a544361f694ff0dfb3d5771582d62befb.png)](http://linkedin.lvly.tv/)[![Instagram icon](https://global.discourse-cdn.com/shotgunsoftware/original/2X/6/63b380c6e6b936df8e4bb5ac7e21bf8257a82c33.png)](http://instagram.lvly.tv/)

---

<div class="post-metadata">

**Author:** ![sachint](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sachint](https://community.shotgridsoftware.com/u/sachint)\
**Post date:** [December 12, 2019, 8:46pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/6 "2019-12-12T20:46:10Z")

</div>

Hello Andy,

Really sorry for the delay in getting back to you, the automatic application of the shot name would definitely require some customization but for you to be able to link an exported quicktime from Flame as a version to a shot or a Task you can take over the config and modify the collector.py hook to set the

“item.context\_change\_allowed = True”

on lines 298 and 349. It is set to False by default.

Once you do that you should be able to something similar to the screenshot below :-

 ![26%20PM](https://global.discourse-cdn.com/shotgunsoftware/original/2X/c/caa8999eceb66232bd985a9e4ea76c360341b169.jpeg)

Let me know if that helps, if you need any assistance in taking over the configuration to modify it please let me know .

-Regards

Sachin

---

<div class="post-metadata">

**Author:** ![amilkis](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@amilkis](https://community.shotgridsoftware.com/u/amilkis)\
**Post date:** [December 17, 2019, 5:16pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/7 "2019-12-17T17:16:38Z")

</div>

Hi Sachin,

Can you send me the path to this file?

Thx,

A

---

<div class="post-metadata">

**Author:** ![amilkis](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@amilkis](https://community.shotgridsoftware.com/u/amilkis)\
**Post date:** [December 17, 2019, 5:23pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/8 "2019-12-17T17:23:19Z")

</div>

Actually, I found it and made the change. I logged out and then  
back in (of linux) launched flame and I didn’t get the new  
behavior. Do I have to make a change somewhere else?

---

<div class="post-metadata">

**Author:** ![sachint](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sachint](https://community.shotgridsoftware.com/u/sachint)\
**Post date:** [December 17, 2019, 5:32pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/9 "2019-12-17T17:32:47Z")

</div>

Hello Andy,

I suspect the collector.py file that you modified may not be the one that is getting loaded, it gets a bit confusing with Flame because there are 2 paths where things could get loaded from the ~/.shotgun/bundle\_cache/app\_store/tk-flame or the /opt/Autodesk/presets/2020.2/shotgun/bundle\_cache/app\_store/tk-flame.

If you check the ~/.shotgun/logs/tk-flame.log and search for tk-multi-publish2 , it will show you where it is getting loaded from.

Let me know if you continue to have problems getting it to work.

-Regards

Sachin

---

<div class="post-metadata">

**Author:** ![dustin](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dustin](https://community.shotgridsoftware.com/u/dustin)\
**Post date:** [August 26, 2021, 10:21pm UTC](https://community.shotgridsoftware.com/t/exporting-qts-from-flame-would-like-to-have-links-automatically-assigned-to-the-new-version-in-shotgun/3857/10 "2021-08-26T22:21:28Z")

</div>

@amilkis I was curious if you ever got this working? I am in the same boat trying to link exports from Flame to a task in SG.
