Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
9ef008a325
11
README.md
11
README.md
@ -7,9 +7,18 @@
|
|||||||
<a href="https://euronvault.com"><strong>www.euronvault.com</strong></a>
|
<a href="https://euronvault.com"><strong>www.euronvault.com</strong></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Table of contents
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
|
||||||
> * [podfetch](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/podfetch)
|
> * [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.
|
> * 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)
|
> * [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.
|
> * 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.
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<br />
|
@ -1,15 +1,20 @@
|
|||||||
|
|
||||||
|
<a name="readme-top"></a>
|
||||||
|
|
||||||
<h1 align="center">PodFetch Folder Monitor</h1>
|
<h1 align="center">PodFetch Folder Monitor</h1>
|
||||||
|
|
||||||
<p align="center">
|
### 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 will monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
|
|
||||||
<br />
|
|
||||||
This script uses Python and a library in Python called <strong><a href="https://pypi.org/project/watchdog/" target="_blank">watchdog</a></strong>
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<details open>
|
## Table of Contents
|
||||||
|
|
||||||
|
[01. PIP](#01-pip) <br>
|
||||||
|
[02. Folder Structure](#02-folder-structure) <br>
|
||||||
|
[03. Script](#03-script) <br>
|
||||||
|
[04. Run](#04-run) <br>
|
||||||
|
[05. Testing](#05-testing) <br>
|
||||||
|
[06. Automation](#06-automation) <br>
|
||||||
|
|
||||||
|
<details>
|
||||||
<summary>Table of Contents</summary>
|
<summary>Table of Contents</summary>
|
||||||
<ol>
|
<ol>
|
||||||
<li><a href="#01-pip">PIP</a></li>
|
<li><a href="#01-pip">PIP</a></li>
|
||||||
@ -45,13 +50,10 @@ 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)
|
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||||
|
|
||||||
## 03. Script
|
## 03. Script
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>podcast_folder_monitor.py</summary>
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
@ -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.
|
* Check the `Execute` box to allow executing the file as a program.
|
||||||
* Close out the window.
|
* Close out the window.
|
||||||
|
|
||||||
[🔼 Back to top](#top)
|
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||||
|
|
||||||
## 04. Run
|
## 04. Run
|
||||||
|
|
||||||
@ -129,7 +131,7 @@ You should now see the blinking curser in the terminal indicating that the scrip
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
[🔼 Back to top](#top)
|
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||||
|
|
||||||
## 05. Testing
|
## 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.
|
If everything worked out okay we can move to the next step.
|
||||||
|
|
||||||
[🔼 Back to top](#top)
|
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||||
|
|
||||||
## 06. Automation
|
## 06. Automation
|
||||||
|
|
||||||
@ -189,4 +191,6 @@ 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](#top)
|
<a class="top-link hide" href="#top">↑</a>
|
||||||
|
|
||||||
|
<p align="right">(<a href="#readme-top">back to top </a>)</p>
|
Loading…
x
Reference in New Issue
Block a user