I have tried a few times to have a custom tmux session running.
I wanted to remove panes/features that I don't use. Basically, I do not want these anymore:
"nzb-import has been disabled/terminated by Import "
"updateTVandTheaters has been disabled/terminated by Update TV/Theater"
"postprocessing_non_amazon has been disabled/terminated by No Movies/TV/Anime to process"
"postprocessing_amazon has been disabled/terminated by Postprocess Amazon"
I've created my own start_local.php file, and I have tried various edits. I've commented out the IRCScraper, and that worked fine. So I repeated that process for things like nzb-import, postprocessing_amazon, etc. However, I always end up with unexpected results, a bunch of "pane is missing" alerts, and other various PHP errors.
Here is my simplified start_local.php file snippet:
$tmuxconfig = $DIR . "update/nix/tmux/tmux.conf";
exec("cd ${DIR}/update/nix/tmux; tmux -f $tmuxconfig new-session -d -s $tmux_session -n Monitor 'printf \"\033]2;\"Monitor\"\033\"'");
exec("tmux selectp -t $tmux_session:0.0; tmux splitw -t $tmux_session:0 -h -p 67 'printf \"\033]2;update_releases\033\"'");
exec("tmux new-window -t $tmux_session -n utils 'printf \"\033]2;fixReleaseNames\033\"'");
exec("tmux splitw -t $tmux_session:1 -v -p 50 'printf \"\033]2;postprocessing_additional\033\"'");
exec("tmux selectp -t $tmux_session:1.0; tmux splitw -t $tmux_session:1 -h -p 50 'printf \"\033]2;removeCrapReleases\033\"'");
exec("tmux selectp -t $tmux_session:1.2; tmux splitw -t $tmux_session:1 -h -p 50 'printf \"\033]2;decryptHashes\033\"'");
start_apps($tmux_session);
attach($DIR, $tmux_session);
Here are the errors:
update_releases has been disabled/terminated by Import
PHP Notice: Undefined offset: 2 in /srv/www/nZEDb/nzedb/controllers/TmuxRun.php o│
n line 537 │
PHP Notice: Undefined offset: 2 in /srv/www/nZEDb/nzedb/controllers/TmuxRun.php o│
n line 224 │
window not found: nZEDb:2 │
PHP Notice: Undefined offset: 1 in /srv/nZEDb/nzedb/controllers/TmuxRun.php o│
n line 285 │
window not found: nZEDb:2 │
postprocessing_additional has been disabled/terminated by Update TV/Theater
Any suggestions?