Refactor
This commit is contained in:
parent
30bd30e038
commit
71c8ea7bbd
41 changed files with 375 additions and 284 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
[submodule "minecraft/publishing/pre-neo/mmc-export"]
|
|
||||||
path = minecraft/publishing/pre-neo/mmc-export
|
|
||||||
url = https://github.com/RozeFound/mmc-export
|
|
||||||
61
OBS/PlexAmp/main.css
Normal file
61
OBS/PlexAmp/main.css
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
font-family: "Montserrat";
|
||||||
|
--teal: #00e7a9;
|
||||||
|
--height: 64px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
width: 384px;
|
||||||
|
height: var(--height);
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
color: white;
|
||||||
|
/* background-color: #252525; */
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
outline: 4px solid var(--teal);
|
||||||
|
outline-offset: -8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main img {
|
||||||
|
width: auto;
|
||||||
|
height: var(--height);
|
||||||
|
margin-right: 1rem;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .text {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .text b {
|
||||||
|
font-size: 1.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#artist,
|
||||||
|
#album {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-text {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-text div {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
25
OBS/PlexAmp/main.html
Normal file
25
OBS/PlexAmp/main.html
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title> </title>
|
||||||
|
<script src="./main.js"></script>
|
||||||
|
<link rel="stylesheet" href="./main.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="main">
|
||||||
|
<img id="art" />
|
||||||
|
<div class="text">
|
||||||
|
<b id="name"></b>
|
||||||
|
<div id="second-row">
|
||||||
|
<div class="row-text" id="artist-album">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
123
OBS/PlexAmp/main.js
Normal file
123
OBS/PlexAmp/main.js
Normal file
|
|
@ -0,0 +1,123 @@
|
||||||
|
let intvl = null;
|
||||||
|
let lastSongData = null;
|
||||||
|
|
||||||
|
const PLEX_TOKEN = "hisKts9QfWyfLsAhkwDu";
|
||||||
|
const sessionUrl = `http://172.16.1.3:32400/status/sessions?X-Plex-Token=${PLEX_TOKEN}`;
|
||||||
|
|
||||||
|
const marqueeify = (text, elementType, amt) => {
|
||||||
|
if (text.length > amt) {
|
||||||
|
return `<marquee><${elementType}>${text}</${elementType}></marquee>`;
|
||||||
|
} else {
|
||||||
|
return `<${elementType}>${text}</${elementType}>`;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const parseXml = (xml, arrayTags) => {
|
||||||
|
let dom = null;
|
||||||
|
if (window.DOMParser) dom = new DOMParser().parseFromString(xml, "text/xml");
|
||||||
|
else if (window.ActiveXObject) {
|
||||||
|
dom = new ActiveXObject("Microsoft.XMLDOM");
|
||||||
|
dom.async = false;
|
||||||
|
if (!dom.loadXML(xml))
|
||||||
|
throw dom.parseError.reason + " " + dom.parseError.srcText;
|
||||||
|
} else throw new Error("cannot parse xml string!");
|
||||||
|
|
||||||
|
const parseNode = (xmlNode, result) => {
|
||||||
|
if (xmlNode.nodeName == "#text") {
|
||||||
|
let v = xmlNode.nodeValue;
|
||||||
|
if (v.trim()) result["#text"] = v;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
let jsonNode = {},
|
||||||
|
existing = result[xmlNode.nodeName];
|
||||||
|
if (existing) {
|
||||||
|
if (!Array.isArray(existing))
|
||||||
|
result[xmlNode.nodeName] = [existing, jsonNode];
|
||||||
|
else result[xmlNode.nodeName].push(jsonNode);
|
||||||
|
} else {
|
||||||
|
if (arrayTags && arrayTags.indexOf(xmlNode.nodeName) != -1)
|
||||||
|
result[xmlNode.nodeName] = [jsonNode];
|
||||||
|
else result[xmlNode.nodeName] = jsonNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (xmlNode.attributes)
|
||||||
|
for (let attribute of xmlNode.attributes)
|
||||||
|
jsonNode[attribute.nodeName] = attribute.nodeValue;
|
||||||
|
|
||||||
|
for (let node of xmlNode.childNodes) parseNode(node, jsonNode);
|
||||||
|
};
|
||||||
|
|
||||||
|
let result = {};
|
||||||
|
for (let node of dom.childNodes) {
|
||||||
|
parseNode(node, result);
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
|
||||||
|
const getTrackData = async () => {
|
||||||
|
const resp = await fetch(sessionUrl);
|
||||||
|
if (!resp.ok) return;
|
||||||
|
|
||||||
|
const xml = await resp.text();
|
||||||
|
const data = parseXml(xml);
|
||||||
|
|
||||||
|
// Tracks need to be normalized into an array for the sake of my own sanity
|
||||||
|
const tracks = Array.isArray(data.MediaContainer.Track)
|
||||||
|
? data.MediaContainer.Track
|
||||||
|
: [data.MediaContainer.Track];
|
||||||
|
|
||||||
|
if (tracks.length === 0) return null;
|
||||||
|
if (tracks.length === 1) return tracks[0];
|
||||||
|
|
||||||
|
const [bestMatch] = data.MediaContainer.Track.filter((track) => {
|
||||||
|
return (
|
||||||
|
track.User.title === "oitsjustjose" &&
|
||||||
|
track.Player.product === "Chromatix"
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
return bestMatch;
|
||||||
|
};
|
||||||
|
|
||||||
|
const getData = async () => {
|
||||||
|
const track = await getTrackData();
|
||||||
|
if (!track) return;
|
||||||
|
|
||||||
|
const songData = {
|
||||||
|
song: track.title,
|
||||||
|
artist: track.grandparentTitle,
|
||||||
|
album: track.parentTitle,
|
||||||
|
art: `http://172.16.1.3:32400${track.thumb}?X-Plex-Token=${PLEX_TOKEN}`,
|
||||||
|
state: track.Player.state,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Same as last time, nothing to do here
|
||||||
|
if (JSON.stringify(songData) === lastSongData) return;
|
||||||
|
|
||||||
|
const art = document.getElementById("art");
|
||||||
|
art.setAttribute("src", songData.art);
|
||||||
|
art.style.filter = songData.state === "playing" ? "none" : "saturate(0)";
|
||||||
|
|
||||||
|
document.getElementById("name").innerHTML = marqueeify(
|
||||||
|
songData.song,
|
||||||
|
"b",
|
||||||
|
45
|
||||||
|
);
|
||||||
|
document.getElementById("artist-album").innerHTML = marqueeify(
|
||||||
|
`${songData.album} by ${songData.artist}`,
|
||||||
|
"p",
|
||||||
|
45
|
||||||
|
);
|
||||||
|
|
||||||
|
lastSongData = JSON.stringify(songData);
|
||||||
|
};
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", async () => {
|
||||||
|
intvl = setInterval(async () => await getData(), 250);
|
||||||
|
});
|
||||||
|
|
||||||
|
document.addEventListener("beforeunload", () => {
|
||||||
|
clearInterval(intvl);
|
||||||
|
});
|
||||||
1
OBS/ResolutionUtils/Normal.xml
Normal file
1
OBS/ResolutionUtils/Normal.xml
Normal file
File diff suppressed because one or more lines are too long
16
OBS/ResolutionUtils/Py/OBS.py
Normal file
16
OBS/ResolutionUtils/Py/OBS.py
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
from subprocess import Popen
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
cwd = Path(__file__).parent.parent.resolve()
|
||||||
|
print(f"cwd={cwd}")
|
||||||
|
|
||||||
|
def on_event(event):
|
||||||
|
if event == obspython.OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN:
|
||||||
|
proc = Popen(["MonitorSwitcher.exe", "-load:Normal.xml"], cwd=cwd, shell=True)
|
||||||
|
_ = proc.communicate()
|
||||||
|
|
||||||
|
|
||||||
|
def script_load(settings):
|
||||||
|
obspython.obs_frontend_add_event_callback(on_event)
|
||||||
|
proc = Popen(["MonitorSwitcher.exe", "-load:Recording.xml"], cwd=cwd, shell=True)
|
||||||
|
_ = proc.communicate()
|
||||||
BIN
OBS/ResolutionUtils/Py/__pycache__/OBS.cpython-310.pyc
Normal file
BIN
OBS/ResolutionUtils/Py/__pycache__/OBS.cpython-310.pyc
Normal file
Binary file not shown.
1
OBS/ResolutionUtils/Recording.xml
Normal file
1
OBS/ResolutionUtils/Recording.xml
Normal file
File diff suppressed because one or more lines are too long
19
Shell Scripts/python/convert_heic.py
Normal file
19
Shell Scripts/python/convert_heic.py
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
from PIL import Image
|
||||||
|
from pillow_heif import register_heif_opener
|
||||||
|
from pathlib import Path
|
||||||
|
from sys import argv
|
||||||
|
|
||||||
|
def main() -> None:
|
||||||
|
if len(argv) < 2:
|
||||||
|
return
|
||||||
|
|
||||||
|
path = Path(argv[1]).resolve()
|
||||||
|
if path.suffix.lower() != ".heic":
|
||||||
|
return
|
||||||
|
|
||||||
|
register_heif_opener()
|
||||||
|
im = Image.open(path)
|
||||||
|
im.save(path.with_suffix(".jpeg"), quality=100)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
2
Shell Scripts/python/requirements.txt
Normal file
2
Shell Scripts/python/requirements.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
pillow==11.3.0
|
||||||
|
pillow_heif==1.1.1
|
||||||
0
linux/setup/setup_jarscan.sh → Shell Scripts/setup/setup_jarscan.sh
Executable file → Normal file
0
linux/setup/setup_jarscan.sh → Shell Scripts/setup/setup_jarscan.sh
Executable file → Normal file
0
linux/setup/setup_makerand.sh → Shell Scripts/setup/setup_makerand.sh
Executable file → Normal file
0
linux/setup/setup_makerand.sh → Shell Scripts/setup/setup_makerand.sh
Executable file → Normal file
0
linux/setup/setup_uuid.sh → Shell Scripts/setup/setup_uuid.sh
Executable file → Normal file
0
linux/setup/setup_uuid.sh → Shell Scripts/setup/setup_uuid.sh
Executable file → Normal file
0
linux/setup/setup_wifiqr.sh → Shell Scripts/setup/setup_wifiqr.sh
Executable file → Normal file
0
linux/setup/setup_wifiqr.sh → Shell Scripts/setup/setup_wifiqr.sh
Executable file → Normal file
|
|
@ -1,156 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# RC-file discovery #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
# Try to use zshrc, but if no zsh use bash
|
|
||||||
RC_FILE=$(realpath ~/.zshrc)
|
|
||||||
IS_ZSH=true
|
|
||||||
|
|
||||||
if [ ! -f $RC_FILE ] ;
|
|
||||||
then
|
|
||||||
RC_FILE=$(realpath ~/.bashrc)
|
|
||||||
IS_ZSH=false
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Using ${RC_FILE} as rcfile"
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# bat -- a syntax-aware, themable cat replacement #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
|
|
||||||
BAT_VERSION="0.18.1"
|
|
||||||
BAT_THEME="Nord"
|
|
||||||
|
|
||||||
echo "Installing Bat Version ${BAT_VERSION}"
|
|
||||||
wget -q "https://github.com/sharkdp/bat/releases/download/v${BAT_VERSION}/bat-musl_${BAT_VERSION}_amd64.deb" 2>&1>/dev/null
|
|
||||||
sudo dpkg -i "bat-musl_${BAT_VERSION}_amd64.deb" 2>&1>/dev/null
|
|
||||||
rm "bat-musl_${BAT_VERSION}_amd64.deb"
|
|
||||||
|
|
||||||
# Add the nord theme variable
|
|
||||||
if /bin/cat "$RC_FILE" | grep -i "export BAT_THEME=" > /dev/null;
|
|
||||||
then
|
|
||||||
echo "Theme is already installed -- NOT overriden"
|
|
||||||
else
|
|
||||||
echo "export BAT_THEME=${BAT_THEME}" >> ~/.zshrc
|
|
||||||
echo "Set bat theme to ${BAT_THEME}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# delta -- a replacement for `git diff` #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
DELTA_VERSION="0.8.0"
|
|
||||||
|
|
||||||
echo "Installing Delta Version ${DELTA_VERSION}"
|
|
||||||
wget -q "https://github.com/dandavison/delta/releases/download/${DELTA_VERSION}/git-delta-musl_${DELTA_VERSION}_amd64.deb"
|
|
||||||
sudo dpkg -i "git-delta-musl_${DELTA_VERSION}_amd64.deb" 2>&1>/dev/null
|
|
||||||
rm "git-delta-musl_${DELTA_VERSION}_amd64.deb"
|
|
||||||
|
|
||||||
# Alias diff to delta
|
|
||||||
if /bin/cat "$RC_FILE" | grep -e "alias diff=delta" > /dev/null;
|
|
||||||
then
|
|
||||||
echo "Diff is already aliased to delta. Skipping.."
|
|
||||||
else
|
|
||||||
echo "Aliasing diff to delta"
|
|
||||||
echo "alias diff=delta" >> $RC_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# dust - a more visual, yet slower, du #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
|
|
||||||
DUST_VERSION="0.5.4"
|
|
||||||
|
|
||||||
echo "Installing Dust Version ${DUST_VERSION}"
|
|
||||||
|
|
||||||
wget -q "https://github.com/bootandy/dust/releases/download/v${DUST_VERSION}/dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
|
||||||
tar -xzf "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
|
||||||
rm "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz"
|
|
||||||
sudo mv dust-v0.5.4-x86_64-unknown-linux-musl/dust /usr/local/bin
|
|
||||||
rm -r "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl"
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# duf - a more visual df alternative #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
DUF_VERSION="0.6.2"
|
|
||||||
|
|
||||||
echo "Installing Duf Version ${DUF_VERSION}"
|
|
||||||
|
|
||||||
wget -q "https://github.com/muesli/duf/releases/download/v${DUF_VERSION}/duf_${DUF_VERSION}_linux_amd64.deb"
|
|
||||||
sudo dpkg -i "duf_${DUF_VERSION}_linux_amd64.deb"
|
|
||||||
rm "duf_${DUF_VERSION}_linux_amd64.deb"
|
|
||||||
|
|
||||||
# Alias df to duf
|
|
||||||
if /bin/cat "$RC_FILE" | grep -e "alias df=duf" > /dev/null;
|
|
||||||
then
|
|
||||||
echo "Df is already aliased to duf. Skipping.."
|
|
||||||
else
|
|
||||||
echo "Aliasing df to duf"
|
|
||||||
echo "alias df=duf" >> $RC_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# McFly - a faster alt to ctrl+r rev search #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
MCF_VERSION="0.5.6"
|
|
||||||
|
|
||||||
echo "Installing mcfly Version ${MCF_VERSION}"
|
|
||||||
|
|
||||||
wget -q "https://github.com/cantino/mcfly/releases/download/v${MCF_VERSION}/mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
|
|
||||||
tar -xzf "mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
|
|
||||||
rm "mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
|
|
||||||
sudo mv mcfly /usr/local/bin
|
|
||||||
|
|
||||||
rm mcfly.bash mcfly.fish mcfly.zsh 2>&1 > /dev/null
|
|
||||||
|
|
||||||
if /bin/cat "$RC_FILE" | grep -i 'mcfly init' > /dev/null;
|
|
||||||
then
|
|
||||||
echo "Looks like mcfly init script is already in ${RC_FILE}!"
|
|
||||||
else
|
|
||||||
if [ "$IS_ZSH" = true ];
|
|
||||||
then
|
|
||||||
echo 'eval "$(mcfly init zsh)"' >> "$RC_FILE"
|
|
||||||
else
|
|
||||||
echo 'eval "$(mcfly init bash)"' >> "$RC_FILE"
|
|
||||||
fi
|
|
||||||
echo "Added McFly init to ${RC_FILE}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
# GTOP - a nicer TOP GUI, requires Node... #
|
|
||||||
# --------------------------------------------------------- #
|
|
||||||
|
|
||||||
if command -v npm &> /dev/null && ! which npm | grep /mnt/c/ &> /dev/null ;
|
|
||||||
then
|
|
||||||
echo "Installing GTOP via NPM"
|
|
||||||
npm i -g gtop
|
|
||||||
else
|
|
||||||
if command -v docker &> /dev/null ;
|
|
||||||
then
|
|
||||||
echo "Installing GTOP via Docker"
|
|
||||||
if /bin/cat "$RC_FILE" | grep -i 'alias gtop=' > /dev/null;
|
|
||||||
then
|
|
||||||
echo "Looks like gtop is already aliased!"
|
|
||||||
else
|
|
||||||
echo $'alias gtop=\'docker run --rm -it --name gtop --net=host --pid=host aksakalli/gtop\'' >> "$RC_FILE"
|
|
||||||
echo $'eval "$(alias gtop=\'docker run --rm -it --name gtop --net=host --pid=host aksakalli/gtop\')"' >> "$RC_FILE"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "Neither NPM nor Docker could not be found, skipping GTOP installation"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Done installing tools! Restarting shell"
|
|
||||||
exec "$SHELL"
|
|
||||||
|
|
@ -6,7 +6,6 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from zipfile import ZipFile
|
from zipfile import ZipFile
|
||||||
|
|
||||||
import toml
|
import toml
|
||||||
|
|
||||||
THIS_DIR = Path(__file__).parent.resolve()
|
THIS_DIR = Path(__file__).parent.resolve()
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 37a3761d4d3b4d9ceb306ef5f9af1d8cc7010e3f
|
|
||||||
39
minecraft/publishing/pre-neo/requirements.txt
Normal file
39
minecraft/publishing/pre-neo/requirements.txt
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
aiofiles==24.1.0
|
||||||
|
aiohappyeyeballs==2.6.1
|
||||||
|
aiohttp-client-cache==0.7.3
|
||||||
|
aiohttp-client-cache[filesystem]==0.7.3
|
||||||
|
aiohttp>=3.8.3
|
||||||
|
aiohttp==3.12.15
|
||||||
|
aiosignal==1.4.0
|
||||||
|
aiosqlite==0.21.0
|
||||||
|
async-timeout==5.0.1
|
||||||
|
attrs==25.3.0
|
||||||
|
certifi>=2025.8.3
|
||||||
|
cffi==2.0.0
|
||||||
|
cryptography>=41.0.3,<45.0.0
|
||||||
|
frozenlist==1.7.0
|
||||||
|
gql-query-builder==0.1.8.dev2+g15ccddc7e
|
||||||
|
idna==3.10
|
||||||
|
importlib_metadata==8.7.0
|
||||||
|
itsdangerous==2.2.0
|
||||||
|
jaraco.classes==3.4.0
|
||||||
|
keyring==23.13.1
|
||||||
|
MarkupSafe==3.0.2
|
||||||
|
more-itertools==10.8.0
|
||||||
|
multidict==6.6.4
|
||||||
|
murmurhash2==0.2.10
|
||||||
|
propcache==0.3.2
|
||||||
|
pycparser==2.23
|
||||||
|
python-forge==18.6.0
|
||||||
|
pywin32-ctypes==0.2.3
|
||||||
|
six==1.17.0
|
||||||
|
tenacity==8.5.0
|
||||||
|
toml==0.10.2
|
||||||
|
tomli_w==1.2.0
|
||||||
|
tomli==2.2.1
|
||||||
|
typing_extensions==4.15.0
|
||||||
|
url-normalize==1.4.3
|
||||||
|
Werkzeug==2.3.8
|
||||||
|
xxhash==3.5.0
|
||||||
|
yarl==1.20.1
|
||||||
|
zipp==3.23.0
|
||||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit a11e48a1721d3b8bbb2d54376193ed6b524be115
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit a11e48a1721d3b8bbb2d54376193ed6b524be115
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
cd "TODO:\Parsec Utils\"
|
|
||||||
.\MonitorSwitcher.exe -load:.\Profiles\Desktop.xml
|
|
||||||
.\SetDpi.exe 100 1
|
|
||||||
.\SetDpi.exe 100 2
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><displaySettings><pathInfoArray><DisplayConfigPathInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><sourceInfo><adapterId><LowPart>102332</LowPart><HighPart>0</HighPart></adapterId><id>1</id><modeInfoIdx>1</modeInfoIdx><statusFlags>InUse</statusFlags></sourceInfo><targetInfo><adapterId><LowPart>102332</LowPart><HighPart>0</HighPart></adapterId><id>49413</id><modeInfoIdx>0</modeInfoIdx><outputTechnology>DisplayportExternal</outputTechnology><rotation>Identity</rotation><scaling>Aspectratiocenteredmax</scaling><refreshRate><numerator>120</numerator><denominator>1</denominator></refreshRate><scanLineOrdering>Progressive</scanLineOrdering><targetAvailable>true</targetAvailable><statusFlags>InUse</statusFlags></targetInfo><flags>1</flags></DisplayConfigPathInfo></pathInfoArray><modeInfoArray><modeInfo><id>49413</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>102332</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Target</DisplayConfigModeInfoType><DisplayConfigTargetMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><targetVideoSignalInfo><pixelRate>483400000</pixelRate><hSyncFreq><numerator>483400000</numerator><denominator>2720</denominator></hSyncFreq><vSyncFreq><numerator>120</numerator><denominator>1</denominator></vSyncFreq><activeSize><cx>2560</cx><cy>1440</cy></activeSize><totalSize><cx>2720</cx><cy>1481</cy></totalSize><videoStandard>Other</videoStandard><ScanLineOrdering>Progressive</ScanLineOrdering></targetVideoSignalInfo></DisplayConfigTargetMode></modeInfo><modeInfo><id>1</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>102332</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Source</DisplayConfigModeInfoType><DisplayConfigSourceMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><width>3840</width><height>1080</height><pixelFormat>Pixelformat32Bpp</pixelFormat><position><x>0</x><y>0</y></position></DisplayConfigSourceMode></modeInfo></modeInfoArray><additionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>26884</manufactureId><productCodeId>10220</productCodeId><valid>true</valid><monitorDevicePath>XAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=</monitorDevicePath><monitorFriendlyDevice>UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==</monitorFriendlyDevice></MonitorAdditionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>0</manufactureId><productCodeId>0</productCodeId><valid>false</valid><monitorDevicePath /><monitorFriendlyDevice /></MonitorAdditionalInfo></additionalInfo></displaySettings>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><displaySettings><pathInfoArray><DisplayConfigPathInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><sourceInfo><adapterId><LowPart>105001</LowPart><HighPart>0</HighPart></adapterId><id>1</id><modeInfoIdx>1</modeInfoIdx><statusFlags>InUse</statusFlags></sourceInfo><targetInfo><adapterId><LowPart>105001</LowPart><HighPart>0</HighPart></adapterId><id>49413</id><modeInfoIdx>0</modeInfoIdx><outputTechnology>DisplayportExternal</outputTechnology><rotation>Identity</rotation><scaling>Identity</scaling><refreshRate><numerator>165</numerator><denominator>1</denominator></refreshRate><scanLineOrdering>Progressive</scanLineOrdering><targetAvailable>true</targetAvailable><statusFlags>InUse</statusFlags></targetInfo><flags>1</flags></DisplayConfigPathInfo></pathInfoArray><modeInfoArray><modeInfo><id>49413</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>105001</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Target</DisplayConfigModeInfoType><DisplayConfigTargetMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><targetVideoSignalInfo><pixelRate>635540000</pixelRate><hSyncFreq><numerator>635540000</numerator><denominator>2640</denominator></hSyncFreq><vSyncFreq><numerator>165</numerator><denominator>1</denominator></vSyncFreq><activeSize><cx>2560</cx><cy>1440</cy></activeSize><totalSize><cx>2640</cx><cy>1459</cy></totalSize><videoStandard>Other</videoStandard><ScanLineOrdering>Progressive</ScanLineOrdering></targetVideoSignalInfo></DisplayConfigTargetMode></modeInfo><modeInfo><id>1</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>105001</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Source</DisplayConfigModeInfoType><DisplayConfigSourceMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><width>1680</width><height>1050</height><pixelFormat>Pixelformat32Bpp</pixelFormat><position><x>0</x><y>0</y></position></DisplayConfigSourceMode></modeInfo></modeInfoArray><additionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>26884</manufactureId><productCodeId>10220</productCodeId><valid>true</valid><monitorDevicePath>XAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=</monitorDevicePath><monitorFriendlyDevice>UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==</monitorFriendlyDevice></MonitorAdditionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>0</manufactureId><productCodeId>0</productCodeId><valid>false</valid><monitorDevicePath /><monitorFriendlyDevice /></MonitorAdditionalInfo></additionalInfo></displaySettings>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><displaySettings><pathInfoArray><DisplayConfigPathInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><sourceInfo><adapterId><LowPart>98691</LowPart><HighPart>0</HighPart></adapterId><id>1</id><modeInfoIdx>1</modeInfoIdx><statusFlags>InUse</statusFlags></sourceInfo><targetInfo><adapterId><LowPart>98691</LowPart><HighPart>0</HighPart></adapterId><id>49413</id><modeInfoIdx>0</modeInfoIdx><outputTechnology>DisplayportExternal</outputTechnology><rotation>Identity</rotation><scaling>Identity</scaling><refreshRate><numerator>143998</numerator><denominator>1000</denominator></refreshRate><scanLineOrdering>Progressive</scanLineOrdering><targetAvailable>true</targetAvailable><statusFlags>InUse</statusFlags></targetInfo><flags>1</flags></DisplayConfigPathInfo></pathInfoArray><modeInfoArray><modeInfo><id>49413</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>98691</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Target</DisplayConfigModeInfoType><DisplayConfigTargetMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><targetVideoSignalInfo><pixelRate>586580000</pixelRate><hSyncFreq><numerator>586580000</numerator><denominator>2640</denominator></hSyncFreq><vSyncFreq><numerator>143998</numerator><denominator>1000</denominator></vSyncFreq><activeSize><cx>2560</cx><cy>1440</cy></activeSize><totalSize><cx>2640</cx><cy>1543</cy></totalSize><videoStandard>Other</videoStandard><ScanLineOrdering>Progressive</ScanLineOrdering></targetVideoSignalInfo></DisplayConfigTargetMode></modeInfo><modeInfo><id>1</id><LUID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><LowPart>98691</LowPart><HighPart>0</HighPart></LUID><DisplayConfigModeInfoType>Source</DisplayConfigModeInfoType><DisplayConfigSourceMode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><width>2560</width><height>1440</height><pixelFormat>Pixelformat32Bpp</pixelFormat><position><x>0</x><y>0</y></position></DisplayConfigSourceMode></modeInfo></modeInfoArray><additionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>26884</manufactureId><productCodeId>10220</productCodeId><valid>true</valid><monitorDevicePath>XAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=</monitorDevicePath><monitorFriendlyDevice>UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==</monitorFriendlyDevice></MonitorAdditionalInfo><MonitorAdditionalInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><manufactureId>0</manufactureId><productCodeId>0</productCodeId><valid>false</valid><monitorDevicePath /><monitorFriendlyDevice /></MonitorAdditionalInfo></additionalInfo></displaySettings>
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,21 +0,0 @@
|
||||||
from subprocess import Popen
|
|
||||||
|
|
||||||
|
|
||||||
def on_event(event):
|
|
||||||
if event == obspython.OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN:
|
|
||||||
proc = Popen(
|
|
||||||
r".\Desktop.bat",
|
|
||||||
cwd=r"TODO:\obs\ResolutionUtils",
|
|
||||||
shell=True,
|
|
||||||
)
|
|
||||||
_ = proc.communicate()
|
|
||||||
|
|
||||||
|
|
||||||
def script_load(settings):
|
|
||||||
obspython.obs_frontend_add_event_callback(on_event)
|
|
||||||
proc = Popen(
|
|
||||||
r".\Recording.bat",
|
|
||||||
cwd=r"TODO:\obs\ResolutionUtils",
|
|
||||||
shell=True,
|
|
||||||
)
|
|
||||||
_ = proc.communicate()
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
cd "TODO:\\Parsec Utils"
|
|
||||||
.\MonitorSwitcher.exe -load:.\Profiles\Recording.xml
|
|
||||||
.\SetDpi.exe 100 2
|
|
||||||
Binary file not shown.
Loading…
Reference in a new issue