Brett Spaulding
e58ab73f6e
|
6 months ago | |
---|---|---|
database | 11 months ago | |
drivers/geckodriver-0.33.0 | 6 months ago | |
lib | 6 months ago | |
navidrome | 9 months ago | |
share | 9 months ago | |
static | 11 months ago | |
templates | 9 months ago | |
utils | 6 months ago | |
.gitignore | 11 months ago | |
Dockerfile | 9 months ago | |
LICENSE | 11 months ago | |
README.md | 9 months ago | |
__init__.py | 11 months ago | |
app.py | 11 months ago | |
const.py | 11 months ago | |
database.py | 6 months ago | |
docker-compose.yml | 9 months ago | |
geckodriver-install.sh | 11 months ago | |
lib64 | 9 months ago | |
pyvenv.cfg | 6 months ago | |
requirements.txt | 6 months ago |
README.md
getDiscography
Flask based utility that will allow a user to download an entire Discography for the provided artist.
How to use:
Open the root directory of this project in a terminal.
Create a virtual environment with python.
python -m venv .
For more about virtual environments, look here: https://docs.python.org/3/library/venv.html
While in the virtual env (venv) install the requirements.txt file with:
pip install -r ./requirements.txt
After all dependencies have been installed successfully, start the service with:
python app.py
The service will then be accessible at http://localhost for as long as the terminal stays open. To shutdown the service simply close the terminal or ctl + c
Known issues
The latest versions of Ubuntu (22.04+ I believe) have swicted over to symlinking Firefox to the snap packages. Which causes an issue with the selenium driver. I suppose you could probably point to the executable file directly in the snap (not the symlink). I just use docker with a distro that doesn't have this problem, personally.