PodFetch | README

> Formated readme
> added css file
This commit is contained in:
Eugene Amos 2023-08-08 20:06:00 -07:00
parent 07bfca0629
commit fdb9eaf003
2 changed files with 50 additions and 6 deletions

27
assets/escripts.css Normal file
View File

@ -0,0 +1,27 @@
/* Enable smooth scrolling */
@media screen and (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
}
}
/* Style the button */
.top-link {
transition: all .25s ease-in-out;
position: fixed;
bottom: 0;
right: 0;
display: inline-flex;
color: #000000;
cursor: pointer;
align-items: center;
justify-content: center;
margin: 0 2em 2em 0;
border-radius: 50%;
padding: .25em;
width: 1em;
height: 1em;
background-color: #F8F8F8;
}

View File

@ -1,10 +1,25 @@
# PodFetch Folder Monitor <link href="file:///assets/escripts.css" rel="stylesheet">
--- <a name="top"></a>
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. <h1 align="center">PodFetch Folder Monitor</h1>
This script uses Python and a library in Python called **<a href="https://pypi.org/project/watchdog/" target="_blank">watchdog</a>** <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.
<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>
## 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)
## 01. PIP ## 01. PIP
@ -30,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` When done it should look like this: `/home/[username]/scripts`
## 03. podcast_folder_monitor ## 03. Script
```python ```python
#!/usr/bin/python3 #!/usr/bin/python3
@ -159,4 +174,6 @@ sudo systemctl start podfetch
sudo systemctl status 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.
<a class="top-link hide" href="#top"></a>