https://gitlab.com/DarkElvenAngel/argononed (branch 0.5.x for V3/Raspberry Pi 5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp | |
index 2db37b58..b4f90c72 100644 | |
--- a/UI/obs-app.cpp | |
+++ b/UI/obs-app.cpp | |
@@ -1981,6 +1981,8 @@ int main(int argc, char *argv[]) | |
move_to_xdg(); | |
#endif | |
+ obs_set_cmdline_args(argc, argv); | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "Usage: $(basename "$0") input.wav [input.wav] [...]" | |
exit 0 | |
fi | |
red () { | |
echo "\x1B[91m$1\x1B[0m" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install -y build-essential git automake | |
mkdir -p "$HOME/liquidsoap-build" | |
cd "$HOME/liquidsoap-build" | |
wget https://github.com/savonet/liquidsoap/releases/download/1.3.0/liquidsoap-1.3.0-full.tar.gz | |
tar xvzf liquidsoap-1.3.0-full.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
"exec" "`dirname $0`/bin/python" "$0" "$@" | |
import sys | |
import argparse | |
import soco | |
class NowPlayingInfo(object): |
Build scripts moved to https://github.com/dtcooper/obs-studio/tree/build-scripts!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Emulate an IF EXISTS for ALTER TABLE ... DROP COLUMN */ | |
SELECT COUNT(*) INTO @exists FROM `information_schema`.`COLUMNS` | |
WHERE `TABLE_SCHEMA` = DATABASE() | |
AND `COLUMN_NAME` = 'link_type' | |
AND `TABLE_NAME` = 'Social_Identity'; | |
SET @query = IF( | |
@exists = 1, | |
'ALTER TABLE `Social_Identity` DROP COLUMN `link_type`', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import subprocess | |
from django.conf import settings | |
from django import test | |
class PEP8Tests(test.TestCase): | |
def _generate_pep8_tests(class_namespace): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from functools import wraps | |
from django.utils.safestring import mark_safe | |
def raw_html(func_or_str): | |
''' | |
Call me a string or decorator a function with me to output HTML in your template. | |
''' | |
if callable(func_or_str): |