Skip to content

Commit

Permalink
Update streamlink.exe default path
Browse files Browse the repository at this point in the history
Remove ThirdParty directory to avoid confusion.
Update NuGet packages.
Update AssemblyInfo.
  • Loading branch information
joacand committed Mar 23, 2019
1 parent 88afa2c commit d5f8de7
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The software is designed to be used together with `streamlink` (recommended) or

* Get Twitch API client ID and client secret and add to `VattenMediaConfig.xml` (autogenerated at first boot)
* Install streamlink or livestreamer (https://github.com/streamlink/streamlink/releases / http://docs.livestreamer.io/install.html)
* Modify path to stream utility binary in `VattenMedia.exe.config` for value `StreamUtilityPath` (default is `ThirdParty\StreamUtility\Streamlink.exe`)
* Modify path to stream utility binary in `VattenMedia.exe.config` for value `StreamUtilityPath` (default is `C:\Program Files (x86)\Streamlink\bin\streamlink.exe`)
* Launch the program and press the `OAuth` button to perform OAuth authentication
* Press `Launch` on the stream you want to watch

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="RestSharp" Version="106.6.7" />
<PackageReference Include="RestSharp" Version="106.6.9" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions VattenMedia/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</startup>
<appSettings>
<add key="TwitchApiUrl" value="https://api.twitch.tv/"/>
<add key="StreamUtilityPath" value="ThirdParty/StreamUtility/Streamlink.exe"/>
<add key="StreamUtilityRcPath" value="ThirdParty/vattenmediarc"/>
<add key="StreamUtilityPath" value="C:\Program Files (x86)\Streamlink\bin\streamlink.exe"/>
<add key="StreamUtilityRcPath" value="Config\vattenmediarc"/>
<add key="TwitchEnabled" value="true"/>
<add key="YoutubeEnabled" value="true"/>
</appSettings>
Expand Down
File renamed without changes.
4 changes: 1 addition & 3 deletions VattenMedia/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;

Expand All @@ -12,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Joacand")]
[assembly: AssemblyProduct("VattenMedia")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
3 changes: 0 additions & 3 deletions VattenMedia/ThirdParty/StreamUtility/README.md

This file was deleted.

17 changes: 7 additions & 10 deletions VattenMedia/VattenMedia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<ApplicationIcon>vattenmedia8.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="RestSharp, Version=106.6.7.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.6.7\lib\net452\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.6.9.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.6.9\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
Expand Down Expand Up @@ -80,11 +80,11 @@
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="Unity.Abstractions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
<HintPath>..\packages\Unity.5.9.5\lib\net47\Unity.Abstractions.dll</HintPath>
<Reference Include="Unity.Abstractions, Version=4.1.2.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
<HintPath>..\packages\Unity.5.10.1\lib\net47\Unity.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Unity.Container, Version=5.9.5.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
<HintPath>..\packages\Unity.5.9.5\lib\net47\Unity.Container.dll</HintPath>
<Reference Include="Unity.Container, Version=5.10.1.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
<HintPath>..\packages\Unity.5.10.1\lib\net47\Unity.Container.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
Expand Down Expand Up @@ -144,10 +144,7 @@
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Include="ThirdParty\StreamUtility\README.md">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ThirdParty\vattenmediarc">
<None Include="Config\vattenmediarc">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions VattenMedia/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="RestSharp" version="106.6.7" targetFramework="net471" />
<package id="RestSharp" version="106.6.9" targetFramework="net471" />
<package id="System.Configuration.ConfigurationManager" version="4.5.0" targetFramework="net471" />
<package id="System.Drawing.Common" version="4.5.1" targetFramework="net471" />
<package id="System.Reflection.Emit" version="4.3.0" targetFramework="net471" />
Expand All @@ -9,5 +9,5 @@
<package id="System.Security.Permissions" version="4.5.0" targetFramework="net471" />
<package id="System.Security.Principal.Windows" version="4.5.1" targetFramework="net471" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net471" />
<package id="Unity" version="5.9.5" targetFramework="net471" />
<package id="Unity" version="5.10.1" targetFramework="net471" />
</packages>

0 comments on commit d5f8de7

Please sign in to comment.