2012-09-07 18:17:39 +02:00
|
|
|
|
using MediaBrowser.Common.Kernel;
|
2012-08-31 03:30:33 +02:00
|
|
|
|
using MediaBrowser.Common.Logging;
|
2012-09-11 03:34:02 +02:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Entities.TV;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
using MediaBrowser.Controller.IO;
|
|
|
|
|
using MediaBrowser.Controller.Library;
|
2012-08-19 17:58:35 +02:00
|
|
|
|
using MediaBrowser.Controller.Providers;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
using MediaBrowser.Controller.Resolvers;
|
2012-09-02 07:30:25 +02:00
|
|
|
|
using MediaBrowser.Controller.Weather;
|
2012-09-08 17:10:26 +02:00
|
|
|
|
using MediaBrowser.Model.Authentication;
|
2012-09-02 15:45:02 +02:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2012-08-11 21:49:45 +02:00
|
|
|
|
using MediaBrowser.Model.Progress;
|
2012-09-17 17:12:43 +02:00
|
|
|
|
using MediaBrowser.Common.Extensions;
|
2012-09-07 18:17:39 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.Composition;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using System.Security.Cryptography;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller
|
|
|
|
|
{
|
2012-08-18 22:38:02 +02:00
|
|
|
|
public class Kernel : BaseKernel<ServerConfiguration, ServerApplicationPaths>
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
|
|
|
|
public static Kernel Instance { get; private set; }
|
|
|
|
|
|
|
|
|
|
public ItemController ItemController { get; private set; }
|
2012-09-02 07:30:25 +02:00
|
|
|
|
public WeatherClient WeatherClient { get; private set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
public IEnumerable<User> Users { get; private set; }
|
|
|
|
|
public Folder RootFolder { get; private set; }
|
|
|
|
|
|
|
|
|
|
private DirectoryWatchers DirectoryWatchers { get; set; }
|
|
|
|
|
|
|
|
|
|
private string MediaRootFolderPath
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2012-08-02 05:13:44 +02:00
|
|
|
|
return ApplicationPaths.RootFolderPath;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-08-11 21:49:45 +02:00
|
|
|
|
|
2012-09-03 18:40:35 +02:00
|
|
|
|
public override KernelContext KernelContext
|
|
|
|
|
{
|
|
|
|
|
get { return KernelContext.Server; }
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-19 17:58:35 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the list of currently registered metadata prvoiders
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ImportMany(typeof(BaseMetadataProvider))]
|
2012-08-24 18:24:29 +02:00
|
|
|
|
private IEnumerable<BaseMetadataProvider> MetadataProvidersEnumerable { get; set; }
|
2012-09-03 18:40:35 +02:00
|
|
|
|
|
2012-08-24 18:24:29 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Once MEF has loaded the resolvers, sort them by priority and store them in this array
|
|
|
|
|
/// Given the sheer number of times they'll be iterated over it'll be faster to loop through an array
|
|
|
|
|
/// </summary>
|
|
|
|
|
private BaseMetadataProvider[] MetadataProviders { get; set; }
|
2012-08-19 17:58:35 +02:00
|
|
|
|
|
2012-07-26 04:33:11 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the list of currently registered entity resolvers
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ImportMany(typeof(IBaseItemResolver))]
|
2012-08-21 03:21:03 +02:00
|
|
|
|
private IEnumerable<IBaseItemResolver> EntityResolversEnumerable { get; set; }
|
2012-08-23 20:35:44 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Once MEF has loaded the resolvers, sort them by priority and store them in this array
|
|
|
|
|
/// Given the sheer number of times they'll be iterated over it'll be faster to loop through an array
|
|
|
|
|
/// </summary>
|
2012-08-21 03:21:03 +02:00
|
|
|
|
internal IBaseItemResolver[] EntityResolvers { get; private set; }
|
2012-08-11 21:49:45 +02:00
|
|
|
|
|
2012-07-12 08:55:27 +02:00
|
|
|
|
/// <summary>
|
2012-08-18 22:38:02 +02:00
|
|
|
|
/// Creates a kernel based on a Data path, which is akin to our current programdata path
|
2012-07-12 08:55:27 +02:00
|
|
|
|
/// </summary>
|
2012-07-21 20:39:47 +02:00
|
|
|
|
public Kernel()
|
|
|
|
|
: base()
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
|
|
|
|
Instance = this;
|
|
|
|
|
|
|
|
|
|
ItemController = new ItemController();
|
|
|
|
|
DirectoryWatchers = new DirectoryWatchers();
|
2012-09-02 07:30:25 +02:00
|
|
|
|
WeatherClient = new WeatherClient();
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-19 17:58:35 +02:00
|
|
|
|
public async override Task Init(IProgress<TaskProgress> progress)
|
2012-08-11 21:49:45 +02:00
|
|
|
|
{
|
2012-08-22 04:50:59 +02:00
|
|
|
|
ExtractFFMpeg();
|
2012-08-23 07:45:26 +02:00
|
|
|
|
|
2012-08-22 04:50:59 +02:00
|
|
|
|
await base.Init(progress).ConfigureAwait(false);
|
2012-08-11 21:49:45 +02:00
|
|
|
|
|
2012-08-22 04:50:59 +02:00
|
|
|
|
progress.Report(new TaskProgress() { Description = "Loading Users", PercentComplete = 15 });
|
|
|
|
|
ReloadUsers();
|
2012-08-11 21:49:45 +02:00
|
|
|
|
|
2012-08-22 04:50:59 +02:00
|
|
|
|
progress.Report(new TaskProgress() { Description = "Loading Media Library", PercentComplete = 25 });
|
2012-08-23 14:26:08 +02:00
|
|
|
|
await ReloadRoot(allowInternetProviders: false).ConfigureAwait(false);
|
2012-08-20 15:36:18 +02:00
|
|
|
|
|
2012-08-22 04:50:59 +02:00
|
|
|
|
progress.Report(new TaskProgress() { Description = "Loading Complete", PercentComplete = 100 });
|
2012-09-17 17:12:43 +02:00
|
|
|
|
|
|
|
|
|
//watch the root folder children for changes
|
|
|
|
|
RootFolder.ChildrenChanged += RootFolder_ChildrenChanged;
|
|
|
|
|
|
|
|
|
|
System.Threading.Thread.Sleep(25000);
|
|
|
|
|
var allChildren = RootFolder.RecursiveChildren;
|
|
|
|
|
Logger.LogInfo(string.Format("Loading complete. Movies: {0} Episodes: {1}", allChildren.OfType<Entities.Movies.Movie>().Count(), allChildren.OfType<Entities.TV.Episode>().Count()));
|
2012-08-11 21:49:45 +02:00
|
|
|
|
}
|
|
|
|
|
|
2012-07-26 04:33:11 +02:00
|
|
|
|
protected override void OnComposablePartsLoaded()
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
2012-07-26 15:51:26 +02:00
|
|
|
|
// The base class will start up all the plugins
|
2012-07-26 04:33:11 +02:00
|
|
|
|
base.OnComposablePartsLoaded();
|
2012-08-21 03:21:03 +02:00
|
|
|
|
|
|
|
|
|
// Sort the resolvers by priority
|
|
|
|
|
EntityResolvers = EntityResolversEnumerable.OrderBy(e => e.Priority).ToArray();
|
2012-09-03 18:40:35 +02:00
|
|
|
|
|
2012-08-21 03:21:03 +02:00
|
|
|
|
// Sort the providers by priority
|
2012-08-24 18:24:29 +02:00
|
|
|
|
MetadataProviders = MetadataProvidersEnumerable.OrderBy(e => e.Priority).ToArray();
|
2012-08-19 17:58:35 +02:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-17 17:12:43 +02:00
|
|
|
|
public BaseItem ResolveItem(ItemResolveEventArgs args)
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
2012-09-17 17:12:43 +02:00
|
|
|
|
// Try first priority resolvers
|
|
|
|
|
for (int i = 0; i < EntityResolvers.Length; i++)
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
2012-09-17 17:12:43 +02:00
|
|
|
|
var item = EntityResolvers[i].ResolvePath(args);
|
2012-09-08 21:05:18 +02:00
|
|
|
|
|
2012-09-17 17:12:43 +02:00
|
|
|
|
if (item != null)
|
2012-09-08 21:05:18 +02:00
|
|
|
|
{
|
2012-09-17 17:12:43 +02:00
|
|
|
|
return item;
|
2012-09-08 21:05:18 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
2012-09-17 17:12:43 +02:00
|
|
|
|
return null;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void ReloadUsers()
|
|
|
|
|
{
|
2012-07-31 15:28:12 +02:00
|
|
|
|
Users = GetAllUsers();
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Reloads the root media folder
|
|
|
|
|
/// </summary>
|
2012-08-23 14:26:08 +02:00
|
|
|
|
public async Task ReloadRoot(bool allowInternetProviders = true)
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
|
|
|
|
if (!Directory.Exists(MediaRootFolderPath))
|
|
|
|
|
{
|
|
|
|
|
Directory.CreateDirectory(MediaRootFolderPath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DirectoryWatchers.Stop();
|
|
|
|
|
|
2012-08-23 14:26:08 +02:00
|
|
|
|
RootFolder = await ItemController.GetItem(MediaRootFolderPath, allowInternetProviders: allowInternetProviders).ConfigureAwait(false) as Folder;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
DirectoryWatchers.Start();
|
|
|
|
|
}
|
|
|
|
|
|
2012-09-17 17:12:43 +02:00
|
|
|
|
void RootFolder_ChildrenChanged(object sender, ChildrenChangedEventArgs e)
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
2012-09-17 17:12:43 +02:00
|
|
|
|
//re-start the directory watchers
|
|
|
|
|
DirectoryWatchers.Stop();
|
|
|
|
|
DirectoryWatchers.Start();
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-07 18:17:39 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the default user to use when EnableUserProfiles is false
|
|
|
|
|
/// </summary>
|
|
|
|
|
public User GetDefaultUser()
|
|
|
|
|
{
|
|
|
|
|
User user = Users.FirstOrDefault();
|
|
|
|
|
|
|
|
|
|
return user;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Persists a User
|
|
|
|
|
/// </summary>
|
|
|
|
|
public void SaveUser(User user)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Authenticates a User and returns a result indicating whether or not it succeeded
|
|
|
|
|
/// </summary>
|
|
|
|
|
public AuthenticationResult AuthenticateUser(User user, string password)
|
|
|
|
|
{
|
|
|
|
|
AuthenticationResult result = new AuthenticationResult();
|
|
|
|
|
|
|
|
|
|
// When EnableUserProfiles is false, only the default User can login
|
|
|
|
|
if (!Configuration.EnableUserProfiles)
|
|
|
|
|
{
|
|
|
|
|
result.Success = user.Id == GetDefaultUser().Id;
|
|
|
|
|
}
|
|
|
|
|
else if (string.IsNullOrEmpty(user.Password))
|
|
|
|
|
{
|
|
|
|
|
result.Success = true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2012-09-17 17:12:43 +02:00
|
|
|
|
password = password ?? string.Empty;
|
|
|
|
|
result.Success = password.GetMD5().ToString().Equals(user.Password);
|
2012-09-07 21:22:37 +02:00
|
|
|
|
}
|
2012-09-07 18:17:39 +02:00
|
|
|
|
|
2012-09-07 21:22:37 +02:00
|
|
|
|
// Update LastActivityDate and LastLoginDate, then save
|
|
|
|
|
if (result.Success)
|
|
|
|
|
{
|
|
|
|
|
user.LastActivityDate = user.LastLoginDate = DateTime.UtcNow;
|
|
|
|
|
SaveUser(user);
|
2012-09-07 18:17:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-19 17:58:35 +02:00
|
|
|
|
public async Task ReloadItem(BaseItem item)
|
2012-07-12 08:55:27 +02:00
|
|
|
|
{
|
|
|
|
|
Folder folder = item as Folder;
|
|
|
|
|
|
|
|
|
|
if (folder != null && folder.IsRoot)
|
|
|
|
|
{
|
2012-08-20 23:48:11 +02:00
|
|
|
|
await ReloadRoot().ConfigureAwait(false);
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
if (!Directory.Exists(item.Path) && !File.Exists(item.Path))
|
|
|
|
|
{
|
2012-08-20 23:48:11 +02:00
|
|
|
|
await ReloadItem(item.Parent).ConfigureAwait(false);
|
2012-07-12 08:55:27 +02:00
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-21 03:21:03 +02:00
|
|
|
|
BaseItem newItem = await ItemController.GetItem(item.Path, item.Parent).ConfigureAwait(false);
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
List<BaseItem> children = item.Parent.Children.ToList();
|
|
|
|
|
|
|
|
|
|
int index = children.IndexOf(item);
|
|
|
|
|
|
|
|
|
|
children.RemoveAt(index);
|
|
|
|
|
|
|
|
|
|
children.Insert(index, newItem);
|
|
|
|
|
|
2012-09-17 17:12:43 +02:00
|
|
|
|
//item.Parent.ActualChildren = children.ToArray();
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-07-16 18:50:44 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Finds a library item by Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BaseItem GetItemById(Guid id)
|
|
|
|
|
{
|
|
|
|
|
if (id == Guid.Empty)
|
|
|
|
|
{
|
|
|
|
|
return RootFolder;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-18 10:22:54 +02:00
|
|
|
|
return RootFolder.FindItemById(id);
|
2012-07-16 18:50:44 +02:00
|
|
|
|
}
|
|
|
|
|
|
2012-07-31 15:28:12 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets all users within the system
|
|
|
|
|
/// </summary>
|
|
|
|
|
private IEnumerable<User> GetAllUsers()
|
|
|
|
|
{
|
|
|
|
|
List<User> list = new List<User>();
|
|
|
|
|
|
2012-08-02 14:51:43 +02:00
|
|
|
|
// Return a dummy user for now since all calls to get items requre a userId
|
|
|
|
|
User user = new User();
|
2012-07-31 15:28:12 +02:00
|
|
|
|
|
2012-08-02 14:51:43 +02:00
|
|
|
|
user.Name = "Default User";
|
2012-08-14 18:06:46 +02:00
|
|
|
|
user.Id = Guid.Parse("5d1cf7fce25943b790d140095457a42b");
|
2012-08-02 14:51:43 +02:00
|
|
|
|
list.Add(user);
|
2012-09-03 18:40:35 +02:00
|
|
|
|
|
2012-08-27 14:18:59 +02:00
|
|
|
|
user = new User();
|
2012-09-06 22:29:33 +02:00
|
|
|
|
user.Name = "Abobader";
|
2012-08-27 14:18:59 +02:00
|
|
|
|
user.Id = Guid.NewGuid();
|
2012-09-06 22:35:54 +02:00
|
|
|
|
user.LastLoginDate = DateTime.UtcNow.AddDays(-1);
|
|
|
|
|
user.LastActivityDate = DateTime.UtcNow.AddHours(-3);
|
2012-09-17 17:12:43 +02:00
|
|
|
|
user.Password = ("1234").GetMD5().ToString();
|
2012-08-27 14:18:59 +02:00
|
|
|
|
list.Add(user);
|
|
|
|
|
|
|
|
|
|
user = new User();
|
2012-09-06 22:29:33 +02:00
|
|
|
|
user.Name = "Scottisafool";
|
2012-08-27 14:18:59 +02:00
|
|
|
|
user.Id = Guid.NewGuid();
|
|
|
|
|
list.Add(user);
|
|
|
|
|
|
|
|
|
|
user = new User();
|
2012-09-06 22:29:33 +02:00
|
|
|
|
user.Name = "Redshirt";
|
2012-08-27 14:18:59 +02:00
|
|
|
|
user.Id = Guid.NewGuid();
|
|
|
|
|
list.Add(user);
|
2012-07-31 15:28:12 +02:00
|
|
|
|
|
2012-09-02 22:24:10 +02:00
|
|
|
|
/*user = new User();
|
2012-08-27 14:18:59 +02:00
|
|
|
|
user.Name = "Test User 4";
|
|
|
|
|
user.Id = Guid.NewGuid();
|
|
|
|
|
list.Add(user);
|
|
|
|
|
|
|
|
|
|
user = new User();
|
|
|
|
|
user.Name = "Test User 5";
|
|
|
|
|
user.Id = Guid.NewGuid();
|
|
|
|
|
list.Add(user);
|
|
|
|
|
|
|
|
|
|
user = new User();
|
|
|
|
|
user.Name = "Test User 6";
|
|
|
|
|
user.Id = Guid.NewGuid();
|
2012-09-02 22:24:10 +02:00
|
|
|
|
list.Add(user);*/
|
2012-09-03 18:40:35 +02:00
|
|
|
|
|
2012-07-31 15:28:12 +02:00
|
|
|
|
return list;
|
|
|
|
|
}
|
2012-08-19 22:38:31 +02:00
|
|
|
|
|
2012-08-20 15:36:18 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Runs all metadata providers for an entity
|
|
|
|
|
/// </summary>
|
2012-08-23 14:26:08 +02:00
|
|
|
|
internal async Task ExecuteMetadataProviders(BaseEntity item, ItemResolveEventArgs args, bool allowInternetProviders = true)
|
2012-08-19 22:38:31 +02:00
|
|
|
|
{
|
2012-08-21 05:32:59 +02:00
|
|
|
|
// Run them sequentially in order of priority
|
2012-08-24 18:24:29 +02:00
|
|
|
|
for (int i = 0; i < MetadataProviders.Length; i++)
|
2012-08-20 21:16:51 +02:00
|
|
|
|
{
|
2012-08-24 18:24:29 +02:00
|
|
|
|
var provider = MetadataProviders[i];
|
|
|
|
|
|
2012-08-24 19:49:07 +02:00
|
|
|
|
// Skip if internet providers are currently disabled
|
|
|
|
|
if (provider.RequiresInternet && (!Configuration.EnableInternetProviders || !allowInternetProviders))
|
2012-08-24 18:24:29 +02:00
|
|
|
|
{
|
|
|
|
|
continue;
|
|
|
|
|
}
|
2012-08-20 17:55:05 +02:00
|
|
|
|
|
2012-08-24 19:49:07 +02:00
|
|
|
|
// Skip if the provider doesn't support the current item
|
|
|
|
|
if (!provider.Supports(item))
|
2012-08-21 05:32:59 +02:00
|
|
|
|
{
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-28 14:39:23 +02:00
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
await provider.FetchAsync(item, args).ConfigureAwait(false);
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
Logger.LogException(ex);
|
|
|
|
|
}
|
2012-08-19 22:38:31 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-22 04:50:59 +02:00
|
|
|
|
private void ExtractFFMpeg()
|
|
|
|
|
{
|
|
|
|
|
ExtractFFMpeg(ApplicationPaths.FFMpegPath);
|
|
|
|
|
ExtractFFMpeg(ApplicationPaths.FFProbePath);
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-20 15:36:18 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Run these during Init.
|
|
|
|
|
/// Can't run do this on-demand because there will be multiple workers accessing them at once and we'd have to lock them
|
|
|
|
|
/// </summary>
|
2012-08-25 23:13:02 +02:00
|
|
|
|
private void ExtractFFMpeg(string exe)
|
2012-08-20 15:36:18 +02:00
|
|
|
|
{
|
|
|
|
|
if (File.Exists(exe))
|
|
|
|
|
{
|
|
|
|
|
File.Delete(exe);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Extract exe
|
|
|
|
|
using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("MediaBrowser.Controller.FFMpeg." + Path.GetFileName(exe)))
|
|
|
|
|
{
|
|
|
|
|
using (FileStream fileStream = new FileStream(exe, FileMode.Create))
|
|
|
|
|
{
|
2012-08-25 23:13:02 +02:00
|
|
|
|
stream.CopyTo(fileStream);
|
2012-08-20 15:36:18 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
}
|