binlock
What It Is
Binlock is a python script. It creates Avid bin lock files (.lck
) which can lock an Avid bin with a custom message.
For example, this command:
python3 binlock.py "Reel locked 7/01" /AvidProject/REEL 3.avb
...will lock the REEL 3 bin and display "Reel locked 7/01" in the Avid bin list:
A bin locked in this manner will remain locked until the lock file (.lck
) is deleted.
Usage
Running the command below will create an Avid bin lock file at the same location and name as the bin, but with a .lck
file extension:
On Windows, in CMD or Windows Terminal:python binlock.py "Custom Message" path\to\bin.avb
On macOS or Linux, in Terminal:python3 binlock.py "Custom Message" path/to/bin.avb
Once this command has been run, refresh your project in Avid by File > Save All to see the lock in action.
Clearing the Lock
To remove the lock on the bin, simply delete the .lck
file:
- In Avid, right-click on the bin in the sidebar, and choose "Reveal File"
- In the file browser window, locate and delete the
.lck
file- Take care to delete the
.lck
file; not the Avid bin (.avb
) itself!
- Take care to delete the
- Back in Avid, choose File > Save All to refresh the project
Requirements
- Windows, macOS, or Linux
- Python3
You can download the latest version from https://www.python.org/downloads/ - A multi-user Avid environment with bin sharing enabled
- Basic experience with the command line
External Links
This project is being developed and maintained on GitHub:
https://github.com/mjiggidy/binlock
With this download, you will receive a ZIP file containing the python script binlock.py