https://github.com/mjiggidy/binlock
Create an Avid bin lock (.lck) file with custom text
https://github.com/mjiggidy/binlock
automation avb avid bin composer editing editorial interplay lck lock media nexis nle post production workflow
Last synced: about 2 months ago
JSON representation
Create an Avid bin lock (.lck) file with custom text
- Host: GitHub
- URL: https://github.com/mjiggidy/binlock
- Owner: mjiggidy
- License: gpl-3.0
- Created: 2022-08-19T02:50:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T19:14:54.000Z (over 2 years ago)
- Last Synced: 2023-08-05T18:10:44.316Z (almost 2 years ago)
- Topics: automation, avb, avid, bin, composer, editing, editorial, interplay, lck, lock, media, nexis, nle, post, production, workflow
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# binlock
`binlock` will create an Avid bin lock (`.lck`) file with custom text. This can be used to programatically create a bin lock for a given Avid user, or to "permanently" lock an Avid bin while displaying a custom message.
## Usage
### Basic Usage
`binlock` is intended to be run via the command line:
```bash
$ python3 binlock.py CustomText /output/path.lck
```
...where `CustomText` is the text you would like displayed, and `/output/path.lck` is the filename of the lock you would like to create.If `CustomText` is set to a username that exists in your Avid environment, the lock will simply belong to that user until they open and close the bin. But if `CustomText` is set to something *else* -- like a passive-aggressive message, for example -- the bin will be "permanently" locked until the `.lck` file is manually removed.
### Fancy Usage
`binlock` will always ensure the file extension is `.lck`, no matter what is specified in the output path. Because of this, a more intuitive way to use `binlock` is to provide the path to the Avid bin (`.avb`) itself -- by simply dragging it into the terminal window -- and an accompanying `.lck` file will be created with the same name as the bin. For example:
```bash
$ python3 binlock.py "Do Not Touch" /Volumes/AvidProject/Bins/ImportantBin.avb
```
...will create a lock file at `/Volumes/AvidProject/Bins/ImportantBin.lck` and the bin will be immediately seen as locked in Avid.By default, `binlock` will never overwrite an existing lock.
## Secrets
### What's *Really* Goin' On HereAvid's bin lock file isn't anything wild. It's simply a `UTF-16le (No BOM)`-encoded text file, padded out to 255 characters. But... you know... I mean... I don't know. Maybe the script is a little bit quicker than setting up your text editor for a less-common character encoding.
## You may also like
* [`binsmith`](https://github.com/mjiggidy/binsmith) - Create Avid bins with custom settings