Skip to content

Commit b9fc9e5

Browse files
committed
Add uploader name variable to save expressions
1 parent 5b66254 commit b9fc9e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Services/HostService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ public async Task<string> ConvertCustomPathExpressionToSavePath(TwitchClipModel
112112
.Replace("{ss", "{5:ss").Replace("{s", "{5:%s")
113113
.Replace("{tt", "{5:tt").Replace("{t", "{5:t")
114114
.Replace("{viewcount", "{6")
115+
.Replace("{uploader", "{7")
115116
;
116117

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

119120
if (await GetOSPlatform() == OSPlatform.Windows)
120121
{

TwitchClipper.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Authors>mortenmoulder</Authors>
1212
<PackageProjectUrl>https://github.com/mortenmoulder/TwitchClipper</PackageProjectUrl>
1313
<RepositoryUrl>https://github.com/mortenmoulder/TwitchClipper</RepositoryUrl>
14-
<Version>1.0.8</Version>
14+
<Version>1.0.9</Version>
1515
</PropertyGroup>
1616

1717
<ItemGroup>

0 commit comments

Comments
 (0)