Skip to content

Commit

Permalink
Chore/update spotify dependency (#36)
Browse files Browse the repository at this point in the history
* Updated package versions

* Upgraded NuGet packages, migrated project, completely re-did the api service

* Added TinYard to the project
  • Loading branch information
KieranBond authored Apr 6, 2021
1 parent dda1eba commit e0550f4
Show file tree
Hide file tree
Showing 9 changed files with 143 additions and 625 deletions.
10 changes: 9 additions & 1 deletion MiniSpotify/MiniSpotify/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
3 changes: 2 additions & 1 deletion MiniSpotify/MiniSpotify/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
BorderBrush="{x:Null}"
BorderThickness="0"
Foreground="#FF1DB954"
Value="0" />
Value="0"
Maximum="1" />
<Button
Name="LikeSongButton"
Width="16"
Expand Down
33 changes: 15 additions & 18 deletions MiniSpotify/MiniSpotify/MiniSpotify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,6 @@
<ApplicationIcon>NoteMW.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SpotifyAPI.Web.4.1.1\lib\net46\SpotifyAPI.Web.dll</HintPath>
</Reference>
<Reference Include="SpotifyAPI.Web.Auth, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SpotifyAPI.Web.Auth.4.1.0\lib\net46\SpotifyAPI.Web.Auth.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
Expand All @@ -87,12 +78,6 @@
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="Unosquare.Labs.EmbedIO, Version=2.2.7.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EmbedIO.2.2.7\lib\net472\Unosquare.Labs.EmbedIO.dll</HintPath>
</Reference>
<Reference Include="Unosquare.Swan.Lite, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Unosquare.Swan.Lite.0.38.1\lib\net452\Unosquare.Swan.Lite.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand All @@ -102,13 +87,15 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Source\APIRequestor.cs" />
<Compile Include="MiniSpotifyConfig.cs" />
<Compile Include="Source\App.xaml.cs" />
<Compile Include="Source\EditorWindow.xaml.cs" />
<Compile Include="Source\Helpers\FileHelper.cs" />
<Compile Include="Source\Helpers\LerpEaser.cs" />
<Compile Include="Source\Interfaces\IAPIRequestor.cs" />
<Compile Include="Source\Interfaces\ISpotifyService.cs" />
<Compile Include="Source\MainWindow.xaml.cs" />
<Compile Include="Source\Impl\SpotifyService.cs" />
<Compile Include="Source\VO\ContextualUpdateVO.cs" />
<Page Include="EditorWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -136,7 +123,6 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand Down Expand Up @@ -226,5 +212,16 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="SpotifyAPI.Web.Auth">
<Version>6.1.0</Version>
</PackageReference>
<PackageReference Include="TinYard">
<Version>1.3.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit e0550f4

Please sign in to comment.