Skip to content

Commit

Permalink
Add uploader name variable to save expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenmoulder committed Oct 17, 2022
1 parent 5b66254 commit b9fc9e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Services/HostService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ public async Task<string> ConvertCustomPathExpressionToSavePath(TwitchClipModel
.Replace("{ss", "{5:ss").Replace("{s", "{5:%s")
.Replace("{tt", "{5:tt").Replace("{t", "{5:t")
.Replace("{viewcount", "{6")
.Replace("{uploader", "{7")
;

path = string.Format(culture, replace, model.Id, model.BroadcasterName, model.BroadcasterId, model.GameId, model.Title, model.CreatedAt, model.ViewCount);
path = string.Format(culture, replace, model.Id, model.BroadcasterName, model.BroadcasterId, model.GameId, model.Title, model.CreatedAt, model.ViewCount, model.CreatorName);

if (await GetOSPlatform() == OSPlatform.Windows)
{
Expand Down
2 changes: 1 addition & 1 deletion TwitchClipper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Authors>mortenmoulder</Authors>
<PackageProjectUrl>https://github.com/mortenmoulder/TwitchClipper</PackageProjectUrl>
<RepositoryUrl>https://github.com/mortenmoulder/TwitchClipper</RepositoryUrl>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit b9fc9e5

Please sign in to comment.