Update README.md
This commit is contained in:
@@ -1,30 +1,39 @@
|
|||||||
# PlaylistSaver
|
# PlaylistSaver
|
||||||
|
|
||||||
A tool to save your youtube playlist. **VERY UNSTABLE**
|
A tool to save your YouTube playlist.
|
||||||
|
|
||||||
## Development
|
## Run from source
|
||||||
|
|
||||||
Create a virtual environment and install the project with its build tools:
|
Sync project and install dependencies.
|
||||||
|
```bash
|
||||||
```powershell
|
uv sync
|
||||||
python -m venv .venv
|
|
||||||
.\.venv\Scripts\python.exe -m pip install -e ".[build]"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Run from source:
|
Run from source:
|
||||||
|
|
||||||
```powershell
|
```bash
|
||||||
.\.venv\Scripts\playlist-saver.exe
|
python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
Build the application with PyInstaller:
|
> [!IMPORTANT]
|
||||||
|
> This project does not support Nuitka for building. Some packages used in this project, such as mpv and yt-dlp,
|
||||||
|
> may not be able to function or may cause crashes in the building process.
|
||||||
|
|
||||||
|
Install build tools:
|
||||||
|
```bash
|
||||||
|
uv pip install -e ".[build]"
|
||||||
|
```
|
||||||
|
|
||||||
|
Build this project with PyInstaller:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
.\build.ps1 -Clean
|
.\build.ps1 -Clean
|
||||||
```
|
```
|
||||||
|
|
||||||
The application is written to `dist\PlaylistSaver`. The build includes only the
|
The build is written to `dist\PlaylistSaver`. This includes only the
|
||||||
bundled mpv files matching the operating system and CPU architecture on which the
|
bundled mpv files matching the operating system and CPU architecture on which the
|
||||||
build is performed. Build each target platform on that platform.
|
build is performed. Build each target platform on that platform.
|
||||||
|
|
||||||
|
## How to use
|
||||||
Reference in New Issue
Block a user