dll integration

This commit is contained in:
2025-09-12 09:04:23 -04:00
parent dcbb25ca9e
commit 08cddf7799
57 changed files with 3293 additions and 1 deletions
@@ -0,0 +1,35 @@
using System;
using System.IO;
using Emby.Security;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Model.Drawing;
namespace MediaBrowser.Plugins.TimeLordMovies;
public class Plugin : BasePlugin, IHasThumbImage
{
private Guid _id = new Guid("71a3ff1b-c589-4a39-b948-12f08b7715ee");
public RegRecord Registration;
public override string Name => "TimeLordMovies";
public override string Description => "TimeLord Movies allows you to set the date added for Movies to the original Theatrical release date set in the metadata for items in your collection. This is usefull when adding old Movies to your collection, as it prevents theses 'New' Movies from dominating your recently added list. Take control of time with TimeLord Movies.";
public override Guid Id => _id;
public ImageFormat ThumbImageFormat => (ImageFormat)3;
public static Plugin Instance { get; private set; }
public Stream GetThumbImage()
{
Type type = ((object)this).GetType();
return type.Assembly.GetManifestResourceStream(type.Namespace + ".thumb.png");
}
public Plugin()
{
Instance = this;
}
}