This file contains 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
GNU nano 7.2 /usr/local/bin/tmux.sh | |
#!/bin/bash | |
# command | |
c="/usr/bin/tmux" | |
# type | |
t="start" | |
if [ -n "$1" ]; then | |
t=$1 |
This file contains 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
# apt-get install libchromaprint-tools | |
# pip install requests mutagen | |
# api key: https://acoustid.org/new-application | |
import json | |
import requests | |
import subprocess | |
from mutagen.easyid3 import EasyID3 | |
ACOUSTID_API_KEY = "API_KEY" |
This file contains 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
{ | |
"server_host": "0.0.0.0", | |
"server_port": 1234, | |
"icecast": | |
[ | |
{ | |
"host": "localhost", | |
"port": 8000, | |
"password": "passwd", | |
"type": "mp3", |
This file contains 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
settings.server.telnet.set(true) | |
settings.server.telnet.port.set(1234) | |
settings.server.telnet.bind_addr.set("0.0.0.0") | |
host = "localhost" | |
port = 8000 | |
passwd = "passwd" | |
mount = "/stream.mp3" | |
p = playlist("radio.m3u", reload_mode="manual") |
This file contains 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
su | |
apt-get install dssi-dev frei0r-plugins-dev ladspa-sdk libao-dev libavdevice-dev libfaad-dev libgd-dev libjack-dev libjemalloc-dev liblilv-dev liblo-dev libshine-dev libsoundtouch-dev libspeex-dev libsqlite3-dev libsrt-openssl-dev portaudio19-dev | |
exit | |
opam install alsa angstrom ao asetmap asn1-combinators astring backoff base base-bigarray base-bytes base-threads base-unix base64 bigarray-compat bigstringaf bjack bos ca-certs camlp-streams camlp4 camomile checkseum cmdliner cohttp cohttp-lwt cohttp-lwt-unix conduit conduit-lwt conduit-lwt-unix conf-alsa conf-ao conf-bash conf-dssi conf-faad conf-fdkaac conf-ffmpeg conf-frei0r conf-gd conf-gmp conf-gmp-powm-sec conf-jack conf-ladspa conf-lame conf-libcurl conf-libffi conf-libflac conf-liblo conf-libogg conf-libopus conf-libspeex conf-libssl conf-libtheora conf-libvorbis conf-libX11 conf-lilv conf-mad conf-pkg-config conf-portaudio conf-pulseaudio conf-samplerate conf-sdl2 conf-sdl2-image conf-sdl2-ttf conf-shine conf-soundtouch conf-sqlite3 conf-srt conf-sr |
This file contains 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
#!/usr/bin/env liquidsoap | |
host="localhost" | |
passwd="passwd" | |
mount="/stream.mp3" | |
p="a.m3u" | |
settings.log.file.set(false) | |
radio = playlist(mode="reload", p) |
This file contains 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
ffconcat version 1.0 | |
file 'A' | |
file 'B.txt' |
This file contains 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
<?php | |
$kin = | |
[ | |
"title" => "Kajerak irrati nobela", | |
"img" => "https://i.imgur.com/2WxeMZS.png", | |
"season" => | |
[ | |
[ | |
"title" => "01: 2020ko martxoan super merkatuko Maribi eta Amaia kajera bikotea, funtsezko langile bihurtu zen beraien ardura ez en pandemia baten ondorioz. Haien profesionaltasunari eta lan onari esker, berehala irabazi zuten planetako kajera onenen titulua. Zorionekoa zu kutxan tokatzen bazaizkizu. Lagunak dira Maribi eta Amaia, bai, eta langile profesionalak ere bai. Baina abuztua da, eta luze doa pandemiaren krisia... laneko estresa ez dute berdin kudeatzen, ez alajaina!", | |
"chapters" => |
This file contains 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
# mondays and wednesdays at 00:01 | |
1 0 * * 1,3 /home/pi/scripts/bash/ff.sh >> /dev/null 2>> /home/pi/scripts/bash/ff.log |
This file contains 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
displayDialogs = DialogModes.NO | |
var logoFile = File("C:/work/project/example/logo.png"); // Change to your logo path | |
var quality = 10 | |
function processFolder(folder) | |
{ | |
var files = folder.getFiles(); // Get all files and subfolders | |
for (var i = 0; i < files.length; i++) | |
{ |
NewerOlder