fixes #273 - Marking/unmarking Favorite status doesn't cause a library changed notification

This commit is contained in:
Luke Pulverenti
2013-10-03 14:02:23 -04:00
parent d021e20249
commit 16b9d26ab5
17 changed files with 352 additions and 22 deletions

View File

@@ -50,6 +50,12 @@ namespace MediaBrowser.Model.Dto
/// <value><c>true</c> if played; otherwise, <c>false</c>.</value>
public bool Played { get; set; }
/// <summary>
/// Gets or sets the key.
/// </summary>
/// <value>The key.</value>
public string Key { get; set; }
public event PropertyChangedEventHandler PropertyChanged;
}
}

View File

@@ -126,6 +126,7 @@
<Compile Include="Serialization\IXmlSerializer.cs" />
<Compile Include="Session\SessionInfoDto.cs" />
<Compile Include="Session\SystemCommand.cs" />
<Compile Include="Session\UserDataChangeInfo.cs" />
<Compile Include="Updates\CheckForUpdateResult.cs" />
<Compile Include="Updates\PackageTargetSystem.cs" />
<Compile Include="Updates\InstallationInfo.cs" />

View File

@@ -0,0 +1,23 @@
using MediaBrowser.Model.Dto;
using System.Collections.Generic;
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Class UserDataChangeInfo
/// </summary>
public class UserDataChangeInfo
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets the user data list.
/// </summary>
/// <value>The user data list.</value>
public List<UserItemDataDto> UserDataList { get; set; }
}
}