Created ApiClient nuget package.
This commit is contained in:
parent
10559f2b7d
commit
46b48c8982
|
@ -98,6 +98,9 @@
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
||||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.0-rc\tools\Microsoft.Bcl.Build.targets" />
|
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.0-rc\tools\Microsoft.Bcl.Build.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
|
@ -656,7 +656,7 @@ namespace MediaBrowser.ApiInteraction
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="itemId">The item id.</param>
|
/// <param name="itemId">The item id.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
/// <returns>Task{DtoUserItemData}.</returns>
|
/// <returns>Task{UserItemDataDto}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
||||||
public Task<UserItemDataDto> ReportPlaybackStartAsync(string itemId, Guid userId)
|
public Task<UserItemDataDto> ReportPlaybackStartAsync(string itemId, Guid userId)
|
||||||
{
|
{
|
||||||
|
@ -686,7 +686,7 @@ namespace MediaBrowser.ApiInteraction
|
||||||
/// <param name="itemId">The item id.</param>
|
/// <param name="itemId">The item id.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
/// <param name="positionTicks">The position ticks.</param>
|
/// <param name="positionTicks">The position ticks.</param>
|
||||||
/// <returns>Task{DtoUserItemData}.</returns>
|
/// <returns>Task{UserItemDataDto}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
||||||
public Task<UserItemDataDto> ReportPlaybackProgressAsync(string itemId, Guid userId, long? positionTicks)
|
public Task<UserItemDataDto> ReportPlaybackProgressAsync(string itemId, Guid userId, long? positionTicks)
|
||||||
{
|
{
|
||||||
|
@ -718,7 +718,7 @@ namespace MediaBrowser.ApiInteraction
|
||||||
/// <param name="itemId">The item id.</param>
|
/// <param name="itemId">The item id.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
/// <param name="positionTicks">The position ticks.</param>
|
/// <param name="positionTicks">The position ticks.</param>
|
||||||
/// <returns>Task{DtoUserItemData}.</returns>
|
/// <returns>Task{UserItemDataDto}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
||||||
public Task<UserItemDataDto> ReportPlaybackStoppedAsync(string itemId, Guid userId, long? positionTicks)
|
public Task<UserItemDataDto> ReportPlaybackStoppedAsync(string itemId, Guid userId, long? positionTicks)
|
||||||
{
|
{
|
||||||
|
@ -749,7 +749,7 @@ namespace MediaBrowser.ApiInteraction
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="itemId">The item id.</param>
|
/// <param name="itemId">The item id.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
/// <returns>Task{DtoUserItemData}.</returns>
|
/// <returns>Task{UserItemDataDto}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
||||||
public Task ClearUserItemRatingAsync(string itemId, Guid userId)
|
public Task ClearUserItemRatingAsync(string itemId, Guid userId)
|
||||||
{
|
{
|
||||||
|
@ -774,7 +774,7 @@ namespace MediaBrowser.ApiInteraction
|
||||||
/// <param name="itemId">The item id.</param>
|
/// <param name="itemId">The item id.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
/// <param name="likes">if set to <c>true</c> [likes].</param>
|
/// <param name="likes">if set to <c>true</c> [likes].</param>
|
||||||
/// <returns>Task{DtoUserItemData}.</returns>
|
/// <returns>Task{UserItemDataDto}.</returns>
|
||||||
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
/// <exception cref="System.ArgumentNullException">itemId</exception>
|
||||||
public Task<UserItemDataDto> UpdateUserItemRatingAsync(string itemId, Guid userId, bool likes)
|
public Task<UserItemDataDto> UpdateUserItemRatingAsync(string itemId, Guid userId, bool likes)
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,6 +75,9 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
|
|
|
@ -4,7 +4,7 @@ using ProtoBuf;
|
||||||
namespace MediaBrowser.Model.Dto
|
namespace MediaBrowser.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DtoUserItemData
|
/// Class UserItemDataDto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ProtoContract]
|
[ProtoContract]
|
||||||
public class UserItemDataDto : INotifyPropertyChanged
|
public class UserItemDataDto : INotifyPropertyChanged
|
||||||
|
|
30
Nuget/MediaBrowser.ApiClient.nuspec
Normal file
30
Nuget/MediaBrowser.ApiClient.nuspec
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>MediaBrowser.ApiClient</id>
|
||||||
|
<version>3.0.0.0-beta</version>
|
||||||
|
<title>MediaBrowser.ApiInteraction</title>
|
||||||
|
<authors>Media Browser Team</authors>
|
||||||
|
<owners>Luke</owners>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<description>Description</description>
|
||||||
|
<copyright>Copyright © 2012</copyright>
|
||||||
|
<dependencies>
|
||||||
|
<group>
|
||||||
|
<dependency id="protobuf-net" version="2.0.0.621" />
|
||||||
|
</group>
|
||||||
|
<group targetFramework=".NETFramework4.5">
|
||||||
|
<dependency id="ServiceStack.Text" version="3.9.37" />
|
||||||
|
</group>
|
||||||
|
<group targetFramework=".NETPortable0.0-net45+sl4+wp71+win8">
|
||||||
|
<dependency id="Newtonsoft.Json" version="4.5.11" />
|
||||||
|
<dependency id="Microsoft.Bcl.Async" version="1.0.14-rc" />
|
||||||
|
<dependency id="Microsoft.Net.Http" version="2.1.3-beta" />
|
||||||
|
</group>
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
<files>
|
||||||
|
<file src="dlls\MediaBrowser.ApiInteraction.dll" target="lib\net45\MediaBrowser.ApiInteraction.dll" />
|
||||||
|
<file src="dlls\MediaBrowser.ApiInteraction.Portable.dll" target="lib\portable-net45+sl4+wp71+win8\MediaBrowser.ApiInteraction.Portable.dll" />
|
||||||
|
</files>
|
||||||
|
</package>
|
Loading…
Reference in New Issue
Block a user