Skip to content

Commit

Permalink
fix support for vlcrc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjosack committed Dec 16, 2023
1 parent 49357ae commit 500293a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MossCast/My Project/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
// by using the '*' as shown below:
// <Assembly: AssemblyVersion("1.0.*")>

[assembly: AssemblyVersion("2.0.0.1")]
[assembly: AssemblyVersion("2.0.0.2")]
2 changes: 1 addition & 1 deletion MossCast/StreamerGroupBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public void genStream(string streamer, string quality, string windowTitle)
{

var (width, height, xPos, yPos) = GetWindowLocation();
string vlcOptions = @"--config %AppData%\MossCast\vlcrc --no-qt-video-autoresize --no-qt-privacy-ask --video-x " + xPos + " --video-y " + yPos + " --width " + width + " --height " + height;
string vlcOptions = @"--config " + My.MyProject.Forms.frmMain.appdataFolder + "/vlcrc --no-qt-video-autoresize --no-qt-privacy-ask --video-x " + xPos + " --video-y " + yPos + " --width " + width + " --height " + height;
string cmdOptions = @"-a "" " + vlcOptions + @" -"" --title " + windowTitle + " --hls-live-edge 1 twitch.tv/" + streamer + " " + quality;

var proc = new Process
Expand Down

0 comments on commit 500293a

Please sign in to comment.