code cleanup (#743)
* update tools * run code cleanup * update dependencies
This commit is contained in:
@@ -15,4 +15,4 @@ public class ActorNfo
|
||||
|
||||
[XmlElement("thumb")]
|
||||
public string Thumb { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,4 @@ public class ArtistNfo
|
||||
|
||||
[XmlElement("biography")]
|
||||
public string Biography { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ public class EpisodeNfoReader : IEpisodeNfoReader
|
||||
if (nfo != null)
|
||||
{
|
||||
var actor = new ActorNfo();
|
||||
var element = (XElement) XNode.ReadFrom(reader);
|
||||
var element = (XElement)XNode.ReadFrom(reader);
|
||||
|
||||
XElement name = element.Element("name");
|
||||
if (name != null)
|
||||
@@ -194,4 +194,4 @@ public class EpisodeNfoReader : IEpisodeNfoReader
|
||||
|
||||
private static async Task ReadDirector(XmlReader reader, TvShowEpisodeNfo nfo) =>
|
||||
nfo?.Directors.Add(await reader.ReadElementContentAsStringAsync());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,4 +46,4 @@ public class MovieNfo
|
||||
|
||||
[XmlElement("uniqueid")]
|
||||
public List<UniqueIdNfo> UniqueIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,4 +31,4 @@ public class MusicVideoNfo
|
||||
|
||||
[XmlElement("studio")]
|
||||
public List<string> Studios { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ public class TvShowEpisodeNfo
|
||||
|
||||
[XmlElement("uniqueid")]
|
||||
public List<UniqueIdNfo> UniqueIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,4 +47,4 @@ public class TvShowNfo
|
||||
|
||||
[XmlElement("uniqueid")]
|
||||
public List<UniqueIdNfo> UniqueIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ public class UniqueIdNfo
|
||||
|
||||
[XmlText]
|
||||
public string Guid { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user