# Append Mux to Every Output on a Clip Node

**URL:** <https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165>\
**Category:** Python\
**Tags:** batch\
**Created:** [February 24, 2024, 11:12pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165 "2024-02-24T23:12:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [February 24, 2024, 11:12pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/1 "2024-02-24T23:12:14Z")

</div>

Hi hi!

Another little script to share. @randy had asked about something like this on the discord.

Takes the selected Clip nodes in Batch and appends a Mux to every output on those nodes. Will account for outputs that have or do not have alpha channels. Different spacing depending on whether is the Clip node is collapsed or not as well.

There is a GIF showing what it does on the [GitHub repo](http://github.com/khanrahan/about-to-mux-shit-up). It was too big to upload here.

May be downloaded from the [GitHub repo](http://github.com/khanrahan/about-to-mux-shit-up) and hopefully added to Logik Portal soon.

Hope you enjoy!

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [February 25, 2024, 3:44am UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/2 "2024-02-25T03:44:00Z")

</div>

“Mux shit up”

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [February 25, 2024, 4:14pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/3 "2024-02-25T16:14:05Z")

</div>

I use to add mux nodes after clip sources and actions outputs. I love it!

---

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [February 26, 2024, 7:57pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/4 "2024-02-26T19:57:13Z")

</div>

Alrighty… its on the Logik Portal now.

---

<div class="post-metadata">

**Author:** ![PlaceYourBetts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/placeyourbetts/32/6852_2.png) [@PlaceYourBetts](https://forum.logik.tv/u/PlaceYourBetts)\
**Post date:** [February 26, 2024, 8:50pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/5 "2024-02-26T20:50:50Z")

</div>

Excellent. I have grabbed it and love it already.  
Works well on those massive .psd files

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [February 27, 2024, 9:23pm UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/6 "2024-02-27T21:23:47Z")

</div>

YO! THANK YOU! Any idea what this is about though?  
Python encountered SyntaxError(“invalid character ‘Â·’ (U+00B7)”, (‘/opt/Autodesk/shared/python/about\_to\_mux\_shit\_up.py’, 103, 65, ’ about-to-mux-shit-up/about\_to\_mux\_shit\_up.py at master Â· khanrahan/about-to-mux-shit-up Â· GitHub', 103, 65)) in unknown code  
[PYTHON HOOK] An error occurred. Ignoring python hooks from /opt/Autodesk/shared/python/about\_to\_mux\_shit\_up.py

---

<div class="post-metadata">

**Author:** ![KuleshovEffect](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/kuleshoveffect/32/4928_2.png) [@KuleshovEffect](https://forum.logik.tv/u/KuleshovEffect)\
**Post date:** [February 28, 2024, 1:40am UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/7 "2024-02-28T01:40:14Z")

</div>

Looks like you might have an odd non-ASCII character somewhere.  
Specifically that circumflex a (Â).  
Hunt for it, remove it, and give it another go.

-Ted

---

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [February 28, 2024, 2:54am UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/8 "2024-02-28T02:54:00Z")

</div>

Ummmm… hmm. Unsure… I searched the entire script for that character, i don’t see it present. Its odd to me that the message mentions my master branch on github. Are you installing by using Flame Fish \> Add Actions to Context Menus? The githib browser thing? To be honest… Ive never used that. Will try to replicate tomorrow.

Maybe just delete it and install using Logik Portal? Or if you cant use the Portal, go to the github repo, click the python file, click Raw up on the top right, then File \> Save back to /opt/Autodesk/shared

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [February 28, 2024, 3:30am UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/9 "2024-02-28T03:30:55Z")

</div>

Ah weird. Same. Originally I downloaded straight from GitHub. Just installed it from the Logik Portal and all good.

This is fecking dope. Best name ever. Cover me. I’m gonna go Mux Shit Up.

Thank you!

---

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [February 29, 2024, 2:11am UTC](https://forum.logik.tv/t/append-mux-to-every-output-on-a-clip-node/10165/10 "2024-02-29T02:11:00Z")

</div>

Teeny tiny update pushed to Logik Portal & Github repo. You will now see version 1.0.1

The result Mux nodes were ever so slightly not centered compared to the output sockets… they were riding low… and now everything is pixel perfect!

see before & after below…

 ![Screenshot 2024-02-28 at 9.03.03 PM](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/6/64803689be0a889159fb0c02f453b3cb53870b40.jpeg)
