From 89dec2864584208abc90bbeb19cff26da8deebf4 Mon Sep 17 00:00:00 2001
From: Eugene Amos
Date: Tue, 8 Aug 2023 22:11:23 -0700
Subject: [PATCH 1/5] 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
- PIP
@@ -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

-(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
From 2048dc24aa0ec83cd106a783c6b77830377c16fb Mon Sep 17 00:00:00 2001
From: Eugene Amos
Date: Tue, 8 Aug 2023 22:15:02 -0700
Subject: [PATCH 2/5] Update 'podfetch/README.md'
updating podfetch README
---
podfetch/README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/podfetch/README.md b/podfetch/README.md
index fa89378..15f5b93 100644
--- a/podfetch/README.md
+++ b/podfetch/README.md
@@ -45,7 +45,7 @@ Create a new folder called **scripts** in your home folder. This is where all yo
When done it should look like this: `/home/[username]/scripts`
-[🔼 Back to top](#top)
+[🔼 Back to top](#01-pip)
## 03. Script
@@ -109,7 +109,7 @@ 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](#top)
+[🔼 Back to top](#01-pip)
## 04. Run
@@ -129,7 +129,7 @@ You should now see the blinking curser in the terminal indicating that the scrip

-[🔼 Back to top](#top)
+[🔼 Back to top](#01-pip)
## 05. Testing
@@ -139,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](#top)
+[🔼 Back to top](#01-pip)
## 06. Automation
@@ -189,4 +189,4 @@ sudo systemctl status podfetch
### Congratulation your service is auto-running and listing for new podcast folders
-[🔼 Back to top](#top)
\ No newline at end of file
+[🔼 Back to top](#01-pip)
\ No newline at end of file
From 0cbf977d256824fc755c36cfc8c48aab1bd838c5 Mon Sep 17 00:00:00 2001
From: Eugene Amos
Date: Tue, 8 Aug 2023 22:27:54 -0700
Subject: [PATCH 3/5] Update 'podfetch/README.md'
updating podfetch README
---
podfetch/README.md | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/podfetch/README.md b/podfetch/README.md
index 15f5b93..11b8e0e 100644
--- a/podfetch/README.md
+++ b/podfetch/README.md
@@ -1,13 +1,15 @@
-PodFetch Folder Monitor
+
+
-
- This will monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
-
- This script uses Python and a library in Python called watchdog
-
-
-
+# PodFetch Folder Monitor
+
+### This will monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
+
+### This script uses Python and a library in Python called **watchdog**
+
+
+
Table of Contents
@@ -45,11 +47,11 @@ Create a new folder called **scripts** in your home folder. This is where all yo
When done it should look like this: `/home/[username]/scripts`
-[🔼 Back to top](#01-pip)
+[🔼 Back to top](#podfetch-folder-monitor)
## 03. Script
-
+
podcast_folder_monitor.py
```python
@@ -109,7 +111,7 @@ 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](#01-pip)
+[🔼 Back to top](#podfetch-folder-monitor)
## 04. Run
@@ -129,7 +131,7 @@ You should now see the blinking curser in the terminal indicating that the scrip

-[🔼 Back to top](#01-pip)
+[🔼 Back to top](#podfetch-folder-monitor)
## 05. Testing
@@ -139,7 +141,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](#01-pip)
+[🔼 Back to top](#podfetch-folder-monitor)
## 06. Automation
@@ -189,4 +191,4 @@ sudo systemctl status podfetch
### Congratulation your service is auto-running and listing for new podcast folders
-[🔼 Back to top](#01-pip)
\ No newline at end of file
+[🔼 Back to top](#podfetch-folder-monitor)
\ No newline at end of file
From 4f2b3dad1d19b1465f94cd2117033f1bf5da9100 Mon Sep 17 00:00:00 2001
From: Eugene Amos
Date: Tue, 8 Aug 2023 22:36:27 -0700
Subject: [PATCH 4/5] Update README
---
README.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/README.md b/README.md
index 9506b78..e02614c 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,6 @@
www.euronvault.com
-## Table of contents
> * [podfetch](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/podfetch)
> * Monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
From 82a6c3b43333b3f9a7fe5aee345f158816810d16 Mon Sep 17 00:00:00 2001
From: Eugene Amos
Date: Tue, 8 Aug 2023 22:39:46 -0700
Subject: [PATCH 5/5] update README
---
README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.md b/README.md
index e02614c..53e1449 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,18 @@
www.euronvault.com
+
+
+
+
> * [podfetch](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/podfetch)
> * Monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
> * [qbittorrentvpn](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/qbittorrentvpn)
> * Set the category of the added file to a special category based on if the file is 1080p or 2160p AND if the file is a Show.
+
+
+
+
+
+
\ No newline at end of file