updating podfetch README
This commit is contained in:
parent
733a1e4915
commit
ab36c8fdcf
@ -8,13 +8,6 @@
|
|||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
[//]: # (the top)
|
|
||||||
|
|
||||||
# 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 **<a href="https://pypi.org/project/watchdog/" target="_blank">watchdog</a>**
|
|
||||||
|
|
||||||
<details open>
|
<details open>
|
||||||
<summary>Table of Contents</summary>
|
<summary>Table of Contents</summary>
|
||||||
<ol>
|
<ol>
|
||||||
@ -51,8 +44,6 @@ 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`
|
When done it should look like this: `/home/[username]/scripts`
|
||||||
|
|
||||||
[??? Back to top](#top)
|
|
||||||
|
|
||||||
## 03. Script
|
## 03. Script
|
||||||
|
|
||||||
<details open>
|
<details open>
|
||||||
@ -115,8 +106,6 @@ 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.
|
* Check the `Execute` box to allow executing the file as a program.
|
||||||
* Close out the window.
|
* Close out the window.
|
||||||
|
|
||||||
[??? Back to top](#top)
|
|
||||||
|
|
||||||
## 04. Run
|
## 04. Run
|
||||||
|
|
||||||
Now we need to test and run the script.
|
Now we need to test and run the script.
|
||||||
@ -135,8 +124,6 @@ You should now see the blinking curser in the terminal indicating that the scrip
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
[??? Back to top](#top)
|
|
||||||
|
|
||||||
## 05. Testing
|
## 05. Testing
|
||||||
|
|
||||||
To test the script copy and paste one of your podcast folder that includes the podcast.mp3 file back into the folder. The script should notice the change and rename the **.mp3** to the name of the parent folder.
|
To test the script copy and paste one of your podcast folder that includes the podcast.mp3 file back into the folder. The script should notice the change and rename the **.mp3** to the name of the parent folder.
|
||||||
@ -145,8 +132,6 @@ 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.
|
If everything worked out okay we can move to the next step.
|
||||||
|
|
||||||
[??? Back to top](#top)
|
|
||||||
|
|
||||||
## 06. Automation
|
## 06. Automation
|
||||||
|
|
||||||
We can make the script auto run in the background. Just like Sonarr, Radarr, etc...
|
We can make the script auto run in the background. Just like Sonarr, Radarr, etc...
|
||||||
@ -199,5 +184,3 @@ 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](#the-top)
|
|
Loading…
x
Reference in New Issue
Block a user