|
|
@ -392,7 +392,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
|
|
|
var val = reader.ReadElementContentAsString();
|
|
|
|
var val = reader.ReadElementContentAsString();
|
|
|
|
if (!string.IsNullOrWhiteSpace(val) && userData != null)
|
|
|
|
if (!string.IsNullOrWhiteSpace(val) && userData != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (int.TryParse(val.Split(' ')[0], NumberStyles.Integer, UsCulture, out var count))
|
|
|
|
if (int.TryParse(val, NumberStyles.Integer, UsCulture, out var count))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
userData.PlayCount = count;
|
|
|
|
userData.PlayCount = count;
|
|
|
|
}
|
|
|
|
}
|
|
|
|