From bdc2ed7b12123f7c2b67a89862dd566153d1df23 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:05:02 -0800 Subject: [PATCH] Removed Pipe --- NSLGameScanner.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 1e914b9..f8a0b9f 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -905,15 +905,6 @@ if amazon_games: -# Push down when more scanners are added -#PipingInfoToDeckyPlugin -PIPE_PATH = "/tmp/NSLGameScanner_pipe" - -# Check if the pipe does not exist -if not os.path.exists(PIPE_PATH): - # Create the named pipe - os.mkfifo(PIPE_PATH) - # Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed if new_shortcuts_added or shortcuts_updated: print(f"Saving new config and shortcuts files") @@ -1040,7 +1031,6 @@ if new_shortcuts_added or shortcuts_updated: # Print the shortcut information in JSON format message = json.dumps(shortcut_info) print(message, flush=True) # Print to stdout - pipe.write(message + '\n') # Write to the pipe print("All finished!")