Henrik Cednert Posted July 7, 2015 Report Share Posted July 7, 2015 Thanks Carl GUess that wasn't that clear to me in the tut. I still had osenviron.setdefaul() in ftrack.py. I had changed the values though to my values but not removed 'setdefault'. Now it seems to work! Will take it for a spin next time there's a batch of thumbs, manually uploaded 100 this morning. Heheheh. Thanks again There are two ways of setting the credentials. When following the tutorial you only set them for the current file you are running. If you instead edit 'ftrack.py' and update it to look something like:# :coding: utf-8# :copyright: Copyright (c) ftrackimport osimport sys# Set the default ftrack server and API key variables to use if no matching# environment variables are found.os.environ['FTRACK_SERVER'] = 'https://YOUR-FTRACK-SERVER'os.environ['FTRACK_APIKEY'] = 'YOUR-API-KEY'os.environ['LOGNAME'] = 'YOUR-USERNAME'# Add ftrack core egg to path.sys.path.append( os.path.join( os.path.dirname(os.path.abspath(__file__)), 'FTrackCore.egg' ))# Import core ftrack functionality from egg into top level namespace.from FTrackCore import *When modified and saved try to run the simple test case again:import ftrackprint ftrack.getProjects()If that works try to run the Action again:python batch_upload_thumbnails_action.pyLet me know how it goes. Cheers, Link to comment Share on other sites More sharing options...
Henrik Cednert Posted July 9, 2015 Report Share Posted July 9, 2015 Hi again. Worked like a charm now. Saves me tons of time. This should REALLY REALLY REALLY REALLY be a part of the regular import function in ftrack. =) Link to comment Share on other sites More sharing options...
Milan Kolar Posted July 9, 2015 Report Share Posted July 9, 2015 I have to agree with Henrik. It's nice that we can run actions when we want. But for most of the studio that don't have any developers, these things could simply be included as hooks in ftrack connect, so as soon as connect is installed, Actions get loaded as well, rather than having to run them as a separate python process. Link to comment Share on other sites More sharing options...
Carl Claesson Posted July 9, 2015 Report Share Posted July 9, 2015 Hi, Great that you got it working, Henrik! We're currently working on how to simply the use of Actions together with Connect making it easier to add new Actions to Connect without the need of having knowledge in Python scripts.I've started a new topic here to continue the discussion on this: http://forum.ftrack.com/index.php?/topic/356-actions-connect/ Cheers,Carl Link to comment Share on other sites More sharing options...
Henrik Cednert Posted July 9, 2015 Report Share Posted July 9, 2015 My thought was more that this shouldn't be an action. THis function of importing thumbs should be a base thing in a vanilla ftrack. =) Link to comment Share on other sites More sharing options...
Henrik Cednert Posted July 14, 2015 Report Share Posted July 14, 2015 If a shot is in a sequence it does not find it. You have to have them in the root of the project. How can one deal with this? We ran into this when doing a custom uploader and version updater as well. There must be some way to recursively search a project for a shot name so you can then manipulate it. Or? Link to comment Share on other sites More sharing options...
Anthony Kramer Posted September 10, 2015 Report Share Posted September 10, 2015 +1 on the original topic of this post. When versions start to get published, the thumbnail of that version should propigate up the tree until it hits something that already has a thumbnail. In addition to that default behavior, it would be nice to have an option in the settings that version thumbnails overwrite task and shot thumnails automatically even if a previous thumb exists. Link to comment Share on other sites More sharing options...
Gobi Studio Posted December 2, 2015 Report Share Posted December 2, 2015 We would also be greatly interrested in the implementation of this feature request. Please let us know if you have an idea of when it can be done. Mathieu. Link to comment Share on other sites More sharing options...
Fredrik Limsater Posted May 27, 2016 Report Share Posted May 27, 2016 Hello, as per Kat's original question This is now ready for internal testing and should be released shortly. Cheers, Fredrik Link to comment Share on other sites More sharing options...
fooopa Posted July 7, 2016 Report Share Posted July 7, 2016 Hey Fredrik, Just curious about the status of this feature. It would be super handy to have. Thanks! Link to comment Share on other sites More sharing options...
Fredrik Limsater Posted July 8, 2016 Report Share Posted July 8, 2016 Hello, this feature is available in 3.3.27. You'll find the release notes here: http://ftrack.rtd.ftrack.com/en/stable/release/release_notes.html#release-3.3.27. Let us know if you have any feedback. Cheers, Fredrik Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.