Fixed: Kodi(XBMC) notifications don't update correct Library (#158)
* Fixed: Kodi(XBMC) notifications don't update correct Library * fixup! MbId and Artist Names in Testpull/170/head
parent
d08d89929a
commit
e780555d28
@ -0,0 +1,9 @@
|
||||
namespace NzbDrone.Core.Notifications.Xbmc.Model
|
||||
{
|
||||
public class ArtistResponse
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string JsonRpc { get; set; }
|
||||
public ArtistResult Result { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Xbmc.Model
|
||||
{
|
||||
public class ArtistResult
|
||||
{
|
||||
public Dictionary<string, int> Limits { get; set; }
|
||||
public List<KodiArtist> Artists;
|
||||
|
||||
public ArtistResult()
|
||||
{
|
||||
Artists = new List<KodiArtist>();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Xbmc.Model
|
||||
{
|
||||
public class KodiArtist
|
||||
{
|
||||
public int ArtistId { get; set; }
|
||||
public string Label { get; set; }
|
||||
public List<string> MusicbrainzArtistId { get; set; }
|
||||
public string File { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in new issue