Skip to content

Commit

Permalink
🦃 Bump version to v1.10 and update screenshots and README
Browse files Browse the repository at this point in the history
  • Loading branch information
database64128 committed Nov 25, 2021
1 parent 8b6059a commit 197a8d5
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
## Differences

1. Download and embed subtitles: `youtube-dl` requires both `--write-sub` and `--embed-subs`, while `yt-dlp` only requires `--embed-subs`. Using `--write-sub` with `yt-dlp` results in the downloaded subtitle file being kept after embedding.
2. Default output template: `youtube-dl` uses `%(title)s-%(id)s.%(ext)s`. `yt-dlp` uses `%(title)s [%(id)s].%(ext)s`. `youtube-dl-wpf` respects each backend's default, while allowing you to specify a custom output template.
3. Metadata embedding: `youtube-dl` has `--add-metadata`. `yt-dlp` introduced `--embed-metadata` and still accepts `--add-metadata` as an alias. `youtube-dl-wpf` selects the best option based on which backend you are using.
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ A simple GUI wrapper for [`youtube-dl`](https://github.com/ytdl-org/youtube-dl)
- Specify custom download path.
- Specify custom `ffmpeg` path.
- Specify custom proxy.
- Specify custom command-line arguments.

## Usage

Expand Down Expand Up @@ -63,18 +64,28 @@ Prerequisites: .NET 6 SDK

Note for packagers: The application by default uses executable directory as config directory. To use user's config directory, define the constant `PACKAGED` when building.

### Build with Release configuration

```bash
dotnet build -c Release
```

### Publish as framework-dependent

```bash
# Build with Release configuration
$ dotnet build -c Release
dotnet publish YoutubeDl.Wpf -c Release
```

# Publish as framework-dependent
$ dotnet publish YoutubeDl.Wpf -c Release
### Publish as self-contained for Windows x64

# Publish as self-contained for Windows x64
$ dotnet publish YoutubeDl.Wpf -c Release -r win-x64 --self-contained
```bash
dotnet publish YoutubeDl.Wpf -c Release -r win-x64 --self-contained
```

# Publish as self-contained for packaging on Windows x64
$ dotnet publish YoutubeDl.Wpf -c Release -p:DefineConstants=PACKAGED -r win-x64 --self-contained
### Publish as self-contained for packaging on Windows x64

```bash
dotnet publish YoutubeDl.Wpf -c Release -p:DefineConstants=PACKAGED -r win-x64 --self-contained
```

## License
Expand Down
7 changes: 6 additions & 1 deletion YoutubeDl.Wpf/YoutubeDl.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<Product>Cube YouTube Downloader</Product>
<Authors>database64128</Authors>
<Version>1.9.0</Version>
<Version>1.10.0</Version>
<ApplicationIcon>CubeYouTubeDownloader.ico</ApplicationIcon>
<Description>A simple GUI wrapper for https://github.com/ytdl-org/youtube-dl.</Description>
<Copyright>© 2021 database64128</Copyright>
Expand All @@ -20,6 +20,7 @@
<AssemblyName>youtube-dl-wpf</AssemblyName>
<PackageId>YoutubeDl.Wpf</PackageId>
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -56,6 +57,10 @@
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
Expand Down
Binary file modified home.webp
Binary file not shown.
Binary file modified settings.webp
Binary file not shown.

0 comments on commit 197a8d5

Please sign in to comment.