docs: update installation instructions to use bash syntax and clarify virtual environment setup
This commit is contained in:
@@ -14,15 +14,15 @@ For songs, release-group expansion is enabled by default. When a rated Navidrome
|
|||||||
|
|
||||||
Install dependencies:
|
Install dependencies:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
python -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Using a virtual environment is recommended:
|
Using a Linux virtual environment is recommended:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
python -m venv .venv
|
python3 -m venv .venv
|
||||||
.\.venv\Scripts\Activate.ps1
|
source .venv/bin/activate
|
||||||
python -m pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -41,19 +41,19 @@ MB_PASSWORD=your-musicbrainz-password
|
|||||||
|
|
||||||
Preview what would be submitted:
|
Preview what would be submitted:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
python musicbrainz-ratings-helper.py --dry-run
|
python musicbrainz-ratings-helper.py --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
Run for one Navidrome artist:
|
Run for one Navidrome artist:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
python musicbrainz-ratings-helper.py --dry-run --artist-id 5YPCM8WgUTYDxJPS8QUuOO
|
python musicbrainz-ratings-helper.py --dry-run --artist-id 5YPCM8WgUTYDxJPS8QUuOO
|
||||||
```
|
```
|
||||||
|
|
||||||
Submit ratings for real:
|
Submit ratings for real:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
python musicbrainz-ratings-helper.py
|
python musicbrainz-ratings-helper.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user