2013-10-31 07:03:23 -07:00
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
|
using MediaBrowser.Common.Net;
|
2013-03-05 08:45:59 -07:00
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Entities.Audio;
|
2013-06-09 09:47:28 -07:00
|
|
|
|
using MediaBrowser.Controller.Providers;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2013-03-05 08:45:59 -07:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2013-11-05 14:07:22 -07:00
|
|
|
|
using MediaBrowser.Model.Providers;
|
2013-04-10 08:56:36 -07:00
|
|
|
|
using System;
|
2013-11-05 14:07:22 -07:00
|
|
|
|
using System.Collections.Generic;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using System.Globalization;
|
2013-04-21 21:38:03 -07:00
|
|
|
|
using System.IO;
|
2013-11-05 14:07:22 -07:00
|
|
|
|
using System.Linq;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using System.Text;
|
2013-04-10 08:56:36 -07:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using System.Xml;
|
2013-03-05 08:45:59 -07:00
|
|
|
|
|
2013-06-09 09:47:28 -07:00
|
|
|
|
namespace MediaBrowser.Providers.Music
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public class FanartAlbumProvider : IRemoteImageProvider, IHasChangeMonitor, IHasOrder
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
private readonly CultureInfo _usCulture = new CultureInfo("en-US");
|
|
|
|
|
private readonly IServerConfigurationManager _config;
|
|
|
|
|
private readonly IHttpClient _httpClient;
|
2013-10-31 07:03:23 -07:00
|
|
|
|
private readonly IFileSystem _fileSystem;
|
2013-05-04 22:46:17 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public FanartAlbumProvider(IServerConfigurationManager config, IHttpClient httpClient, IFileSystem fileSystem)
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
_config = config;
|
|
|
|
|
_httpClient = httpClient;
|
2013-10-31 07:03:23 -07:00
|
|
|
|
_fileSystem = fileSystem;
|
2013-03-05 08:45:59 -07:00
|
|
|
|
}
|
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public string Name
|
2013-08-07 09:00:20 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
get { return ProviderName; }
|
2013-08-07 09:00:20 -07:00
|
|
|
|
}
|
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public static string ProviderName
|
|
|
|
|
{
|
|
|
|
|
get { return "FanArt"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool Supports(IHasImages item)
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2013-04-21 21:38:03 -07:00
|
|
|
|
return item is MusicAlbum;
|
2013-03-05 08:45:59 -07:00
|
|
|
|
}
|
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public IEnumerable<ImageType> GetSupportedImages(IHasImages item)
|
2013-06-24 18:22:21 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
return new List<ImageType>
|
2013-06-24 18:22:21 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
ImageType.Primary,
|
|
|
|
|
ImageType.Disc
|
|
|
|
|
};
|
2013-06-24 18:22:21 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
2014-02-12 22:11:54 -07:00
|
|
|
|
public async Task<IEnumerable<RemoteImageInfo>> GetImages(IHasImages item, CancellationToken cancellationToken)
|
2014-01-31 12:55:21 -07:00
|
|
|
|
{
|
|
|
|
|
var album = (MusicAlbum)item;
|
|
|
|
|
|
|
|
|
|
var list = new List<RemoteImageInfo>();
|
|
|
|
|
|
2014-02-07 15:40:03 -07:00
|
|
|
|
var artistMusicBrainzId = album.MusicArtist.GetProviderId(MetadataProviders.MusicBrainzArtist);
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(artistMusicBrainzId))
|
2013-05-01 09:06:57 -07:00
|
|
|
|
{
|
2014-07-13 14:03:57 -07:00
|
|
|
|
await FanartArtistProvider.Current.EnsureArtistXml(artistMusicBrainzId, cancellationToken).ConfigureAwait(false);
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
var artistXmlPath = FanartArtistProvider.GetArtistXmlPath(_config.CommonApplicationPaths, artistMusicBrainzId);
|
|
|
|
|
|
|
|
|
|
var musicBrainzReleaseGroupId = album.GetProviderId(MetadataProviders.MusicBrainzReleaseGroup);
|
|
|
|
|
|
2014-02-07 15:40:03 -07:00
|
|
|
|
var musicBrainzId = album.GetProviderId(MetadataProviders.MusicBrainzAlbum);
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
AddImages(list, artistXmlPath, musicBrainzId, musicBrainzReleaseGroupId, cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
catch (FileNotFoundException)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2013-05-01 09:06:57 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
var language = item.GetPreferredMetadataLanguage();
|
|
|
|
|
|
|
|
|
|
var isLanguageEn = string.Equals(language, "en", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
|
|
|
|
|
// Sort first by width to prioritize HD versions
|
|
|
|
|
return list.OrderByDescending(i => i.Width ?? 0)
|
|
|
|
|
.ThenByDescending(i =>
|
|
|
|
|
{
|
|
|
|
|
if (string.Equals(language, i.Language, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
{
|
|
|
|
|
return 3;
|
|
|
|
|
}
|
|
|
|
|
if (!isLanguageEn)
|
|
|
|
|
{
|
|
|
|
|
if (string.Equals("en", i.Language, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
{
|
|
|
|
|
return 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (string.IsNullOrEmpty(i.Language))
|
|
|
|
|
{
|
|
|
|
|
return isLanguageEn ? 3 : 2;
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
})
|
|
|
|
|
.ThenByDescending(i => i.CommunityRating ?? 0)
|
|
|
|
|
.ThenByDescending(i => i.VoteCount ?? 0);
|
2013-05-01 09:06:57 -07:00
|
|
|
|
}
|
|
|
|
|
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// <summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// Adds the images.
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// </summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <param name="list">The list.</param>
|
|
|
|
|
/// <param name="xmlPath">The XML path.</param>
|
|
|
|
|
/// <param name="releaseId">The release identifier.</param>
|
|
|
|
|
/// <param name="releaseGroupId">The release group identifier.</param>
|
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
private void AddImages(List<RemoteImageInfo> list, string xmlPath, string releaseId, string releaseGroupId, CancellationToken cancellationToken)
|
2013-05-01 09:06:57 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
using (var streamReader = new StreamReader(xmlPath, Encoding.UTF8))
|
2013-05-01 09:06:57 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
// Use XmlReader for best performance
|
|
|
|
|
using (var reader = XmlReader.Create(streamReader, new XmlReaderSettings
|
|
|
|
|
{
|
|
|
|
|
CheckCharacters = false,
|
|
|
|
|
IgnoreProcessingInstructions = true,
|
|
|
|
|
IgnoreComments = true,
|
|
|
|
|
ValidationType = ValidationType.None
|
|
|
|
|
}))
|
|
|
|
|
{
|
|
|
|
|
reader.MoveToContent();
|
|
|
|
|
|
|
|
|
|
// Loop through each element
|
|
|
|
|
while (reader.Read())
|
|
|
|
|
{
|
|
|
|
|
cancellationToken.ThrowIfCancellationRequested();
|
|
|
|
|
|
|
|
|
|
if (reader.NodeType == XmlNodeType.Element)
|
|
|
|
|
{
|
|
|
|
|
switch (reader.Name)
|
|
|
|
|
{
|
|
|
|
|
case "music":
|
|
|
|
|
{
|
|
|
|
|
using (var subReader = reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
AddImagesFromMusicNode(list, releaseId, releaseGroupId, subReader, cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
reader.Skip();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-05-01 09:06:57 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-04-29 07:16:57 -07:00
|
|
|
|
/// <summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// Adds the images from music node.
|
2013-04-29 07:16:57 -07:00
|
|
|
|
/// </summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <param name="list">The list.</param>
|
|
|
|
|
/// <param name="releaseId">The release identifier.</param>
|
|
|
|
|
/// <param name="releaseGroupId">The release group identifier.</param>
|
|
|
|
|
/// <param name="reader">The reader.</param>
|
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
private void AddImagesFromMusicNode(List<RemoteImageInfo> list, string releaseId, string releaseGroupId, XmlReader reader, CancellationToken cancellationToken)
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
reader.MoveToContent();
|
2013-04-29 07:16:57 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
while (reader.Read())
|
2013-03-05 08:45:59 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
if (reader.NodeType == XmlNodeType.Element)
|
|
|
|
|
{
|
|
|
|
|
switch (reader.Name)
|
|
|
|
|
{
|
|
|
|
|
case "albums":
|
|
|
|
|
{
|
|
|
|
|
using (var subReader = reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
AddImagesFromAlbumsNode(list, releaseId, releaseGroupId, subReader, cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
default:
|
|
|
|
|
{
|
|
|
|
|
using (reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-03-05 08:45:59 -07:00
|
|
|
|
}
|
2013-06-20 07:48:49 -07:00
|
|
|
|
}
|
2013-05-24 22:17:32 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Adds the images from albums node.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="list">The list.</param>
|
|
|
|
|
/// <param name="releaseId">The release identifier.</param>
|
|
|
|
|
/// <param name="releaseGroupId">The release group identifier.</param>
|
|
|
|
|
/// <param name="reader">The reader.</param>
|
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
private void AddImagesFromAlbumsNode(List<RemoteImageInfo> list, string releaseId, string releaseGroupId, XmlReader reader, CancellationToken cancellationToken)
|
2013-06-20 07:48:49 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
reader.MoveToContent();
|
2013-06-20 07:48:49 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
while (reader.Read())
|
2013-05-24 22:17:32 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
if (reader.NodeType == XmlNodeType.Element)
|
2013-06-20 07:48:49 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
switch (reader.Name)
|
|
|
|
|
{
|
|
|
|
|
case "album":
|
|
|
|
|
{
|
|
|
|
|
var id = reader.GetAttribute("id");
|
|
|
|
|
|
|
|
|
|
using (var subReader = reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
if (string.Equals(id, releaseId, StringComparison.OrdinalIgnoreCase) ||
|
|
|
|
|
string.Equals(id, releaseGroupId, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
{
|
|
|
|
|
AddImages(list, subReader, cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
default:
|
|
|
|
|
{
|
|
|
|
|
using (reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-06-20 07:48:49 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
}
|
2013-05-24 21:26:22 -07:00
|
|
|
|
}
|
|
|
|
|
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// <summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// Adds the images.
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// </summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <param name="list">The list.</param>
|
|
|
|
|
/// <param name="reader">The reader.</param>
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
private void AddImages(List<RemoteImageInfo> list, XmlReader reader, CancellationToken cancellationToken)
|
2013-04-29 07:16:57 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
reader.MoveToContent();
|
|
|
|
|
|
|
|
|
|
while (reader.Read())
|
2013-12-14 17:26:01 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
if (reader.NodeType == XmlNodeType.Element)
|
|
|
|
|
{
|
|
|
|
|
switch (reader.Name)
|
|
|
|
|
{
|
|
|
|
|
case "cdart":
|
|
|
|
|
{
|
|
|
|
|
AddImage(list, reader, ImageType.Disc, 1000, 1000);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case "albumcover":
|
|
|
|
|
{
|
|
|
|
|
AddImage(list, reader, ImageType.Primary, 1000, 1000);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
default:
|
|
|
|
|
{
|
|
|
|
|
using (reader.ReadSubtree())
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-12-14 17:26:01 -07:00
|
|
|
|
}
|
2013-04-13 11:02:30 -07:00
|
|
|
|
}
|
2013-05-02 15:32:15 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// Adds the image.
|
2013-05-02 15:32:15 -07:00
|
|
|
|
/// </summary>
|
2014-01-31 12:55:21 -07:00
|
|
|
|
/// <param name="list">The list.</param>
|
|
|
|
|
/// <param name="reader">The reader.</param>
|
|
|
|
|
/// <param name="type">The type.</param>
|
|
|
|
|
/// <param name="width">The width.</param>
|
|
|
|
|
/// <param name="height">The height.</param>
|
|
|
|
|
private void AddImage(List<RemoteImageInfo> list, XmlReader reader, ImageType type, int width, int height)
|
2013-05-02 15:32:15 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
var url = reader.GetAttribute("url");
|
|
|
|
|
|
|
|
|
|
var size = reader.GetAttribute("size");
|
2013-05-02 15:32:15 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
if (!string.IsNullOrEmpty(size))
|
2013-05-02 15:32:15 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
int sizeNum;
|
|
|
|
|
if (int.TryParse(size, NumberStyles.Any, _usCulture, out sizeNum))
|
|
|
|
|
{
|
|
|
|
|
width = sizeNum;
|
|
|
|
|
height = sizeNum;
|
|
|
|
|
}
|
2013-11-05 14:07:22 -07:00
|
|
|
|
}
|
2013-05-02 15:32:15 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
var likesString = reader.GetAttribute("likes");
|
|
|
|
|
int likes;
|
2013-05-04 22:46:17 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
var info = new RemoteImageInfo
|
2013-11-05 14:07:22 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
RatingType = RatingType.Likes,
|
|
|
|
|
Type = type,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
|
ProviderName = Name,
|
|
|
|
|
Url = url,
|
|
|
|
|
Language = reader.GetAttribute("lang")
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(likesString) && int.TryParse(likesString, NumberStyles.Any, _usCulture, out likes))
|
|
|
|
|
{
|
|
|
|
|
info.CommunityRating = likes;
|
2013-11-29 23:08:14 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
list.Add(info);
|
2013-11-29 23:08:14 -07:00
|
|
|
|
}
|
2013-05-05 18:15:48 -07:00
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
public int Order
|
2013-11-29 23:08:14 -07:00
|
|
|
|
{
|
2014-02-06 17:43:45 -07:00
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
// After embedded provider
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Task<HttpResponseInfo> GetImageResponse(string url, CancellationToken cancellationToken)
|
|
|
|
|
{
|
|
|
|
|
return _httpClient.GetResponse(new HttpRequestOptions
|
2013-11-29 23:08:14 -07:00
|
|
|
|
{
|
2014-01-31 12:55:21 -07:00
|
|
|
|
CancellationToken = cancellationToken,
|
|
|
|
|
Url = url,
|
2014-02-25 08:40:16 -07:00
|
|
|
|
ResourcePool = FanartArtistProvider.Current.FanArtResourcePool
|
2014-01-31 12:55:21 -07:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-10 11:39:41 -07:00
|
|
|
|
public bool HasChanged(IHasMetadata item, IDirectoryService directoryService, DateTime date)
|
2014-01-31 12:55:21 -07:00
|
|
|
|
{
|
2014-02-06 17:43:45 -07:00
|
|
|
|
if (!_config.Configuration.EnableFanArtUpdates)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2014-01-31 12:55:21 -07:00
|
|
|
|
var album = (MusicAlbum)item;
|
2014-02-07 15:40:03 -07:00
|
|
|
|
var artist = album.MusicArtist;
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
2014-02-07 15:40:03 -07:00
|
|
|
|
if (artist != null)
|
2014-01-31 12:55:21 -07:00
|
|
|
|
{
|
2014-02-07 15:40:03 -07:00
|
|
|
|
var artistMusicBrainzId = artist.GetProviderId(MetadataProviders.MusicBrainzArtist);
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
2014-02-07 15:40:03 -07:00
|
|
|
|
if (!String.IsNullOrEmpty(artistMusicBrainzId))
|
|
|
|
|
{
|
|
|
|
|
// Process images
|
|
|
|
|
var artistXmlPath = FanartArtistProvider.GetArtistXmlPath(_config.CommonApplicationPaths, artistMusicBrainzId);
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
2014-02-07 15:40:03 -07:00
|
|
|
|
var fileInfo = new FileInfo(artistXmlPath);
|
|
|
|
|
|
|
|
|
|
return !fileInfo.Exists || _fileSystem.GetLastWriteTimeUtc(fileInfo) > date;
|
|
|
|
|
}
|
2013-05-02 15:32:15 -07:00
|
|
|
|
}
|
2014-01-31 12:55:21 -07:00
|
|
|
|
|
|
|
|
|
return false;
|
2013-05-02 15:32:15 -07:00
|
|
|
|
}
|
2013-03-05 08:45:59 -07:00
|
|
|
|
}
|
|
|
|
|
}
|