mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
#150 start caching plex media as well. refactored the availability checker. NEEDS TESTING. also, we need to make the Requests hit the plex api directly rather than hitting the cache as it does now.
This commit is contained in:
parent
e707837bf5
commit
718e8868c1
16 changed files with 808 additions and 601 deletions
22
PlexRequests.Api.Models/Plex/PlexLibraries.cs
Normal file
22
PlexRequests.Api.Models/Plex/PlexLibraries.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace PlexRequests.Api.Models.Plex
|
||||
{
|
||||
[XmlRoot(ElementName = "MediaContainer")]
|
||||
public class PlexLibraries
|
||||
{
|
||||
[XmlElement(ElementName = "Directory")]
|
||||
public List<Directory> Directories { get; set; }
|
||||
}
|
||||
|
||||
[XmlRoot(ElementName = "Location")]
|
||||
public partial class Location
|
||||
{
|
||||
[XmlElement(ElementName = "id")]
|
||||
public int id { get; set; }
|
||||
[XmlElement(ElementName = "path")]
|
||||
public string path { get; set; }
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue