From 89dec2864584208abc90bbeb19cff26da8deebf4 Mon Sep 17 00:00:00 2001 From: Eugene Amos Date: Tue, 8 Aug 2023 22:11:23 -0700 Subject: [PATCH] Update 'podfetch/README.md' updating podfetch README --- podfetch/README.md | 54 +++++++++++++++------------------------------- 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/podfetch/README.md b/podfetch/README.md index b40ba59..fa89378 100644 --- a/podfetch/README.md +++ b/podfetch/README.md @@ -1,17 +1,3 @@ - - -

PodFetch Folder Monitor

@@ -23,16 +9,7 @@ details > summary {

-## Table of Contents - -[01. PIP](#01-pip)
-[02. Folder Structure](#02-folder-structure)
-[03. Script](#03-script)
-[04. Run](#04-run)
-[05. Testing](#05-testing)
-[06. Automation](#06-automation)
- -
+
Table of Contents
  1. PIP
  2. @@ -51,7 +28,7 @@ You will need pip installed on your linux mint system. **(back to top)

    +[🔼 Back to top](#top) ## 03. Script +
    + podcast_folder_monitor.py + ```python #!/usr/bin/python3 @@ -115,7 +95,9 @@ if __name__ == "__main__": observer.join() ``` -Make sure to replace `/some/folder/to/monitor` with the actual path of the folder you want to monitor. +
    + +Make sure to replace `/some/folder/to/monitor` with the actual path of the folder you want to monitor. > **Note:** leave the quotation marks @@ -127,15 +109,15 @@ Save this script as `podcast_folder_monitor.py` in the scripts folder. Next we n * Check the `Execute` box to allow executing the file as a program. * Close out the window. -

    (back to top)

    +[🔼 Back to top](#top) ## 04. Run Now we need to test and run the script. -Make sure you terminal is open to the location of the `podcast_folder_monitor.py` file. Should be `~/scripts` +Make sure you terminal is open to the location of the `podcast_folder_monitor.py` file. Should be `~/scripts` -Normally to run a Python script will would use +Normally to run a Python script will would use `python3 podcast_folder_monitor.py` > **Note:** Will still work. @@ -147,7 +129,7 @@ You should now see the blinking curser in the terminal indicating that the scrip ![testing](img/running_podcast.png) -

    (back to top)

    +[🔼 Back to top](#top) ## 05. Testing @@ -157,7 +139,7 @@ To test the script copy and paste one of your podcast folder that includes the p If everything worked out okay we can move to the next step. -

    (back to top)

    +[🔼 Back to top](#top) ## 06. Automation @@ -166,7 +148,7 @@ We can make the script auto run in the background. Just like Sonarr, Radarr, etc To get started we need to crate a new file in the systemd location. * Go to `/etc/systemd/system` -* Right click in a empty space and select `Open as Root`. Root access is needed to create or edit in this directory. +* Right click in a empty space and select `Open as Root`. Root access is needed to create or edit in this directory. * Create a new file called `podfetch.service` * Use this code inside the `podfetch.service` file. @@ -205,8 +187,6 @@ sudo systemctl start podfetch sudo systemctl status podfetch ``` -### Congratulation your service is auto-running and listing for new podcast folders. +### Congratulation your service is auto-running and listing for new podcast folders -↑ - -

    (back to top )

    \ No newline at end of file +[🔼 Back to top](#top) \ No newline at end of file