mirror of
https://github.com/jellyfin/jellyfin-plugin-bookshelf.git
synced 2024-11-27 07:30:35 +00:00
stub out roku project
This commit is contained in:
parent
32cf0959b5
commit
a586f3d887
@ -37,17 +37,16 @@
|
||||
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5509.152, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.15" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
|
@ -36,16 +36,14 @@
|
||||
<HintPath>Assets\Assemblies\HtmlAgilityPack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,15 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,15 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,16 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,17 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,16 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5480.20825, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,17 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -36,7 +36,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -44,7 +44,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
@ -41,7 +41,7 @@
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.180" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.180" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,17 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
@ -34,8 +34,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.Chapte
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.ArgusTV", "MediaBrowser.Plugins.ArgusTV\MediaBrowser.Plugins.ArgusTV.csproj", "{30B2A395-5E43-454F-8093-DAF307D6D4FB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.LocalTrailers", "MediaBrowser.Plugins.LocalTrailers\MediaBrowser.Plugins.LocalTrailers.csproj", "{2F4C01E2-7C9F-4F08-922E-27AC4A1D53FF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.WindowsLiveTiles", "MediaBrowser.Plugins.WindowsLiveTiles\MediaBrowser.Plugins.WindowsLiveTiles.csproj", "{50CFC4B0-5B2C-4FA5-B515-7ED2AB060407}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.PushBulletNotifications", "MediaBrowser.Plugins.PushBulletNotifications\MediaBrowser.Plugins.PushBulletNotifications.csproj", "{D3018C1D-19DD-407E-9A44-304E172599D3}"
|
||||
@ -48,6 +46,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GameBrowser", "GameBrowser\
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Plugins.StudioCleaner", "MediaBrowser.Plugins.StudioCleaner\MediaBrowser.Plugins.StudioCleaner.csproj", "{776C7D9D-72C5-4C73-AC73-88071B5C963C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RokuMetadata", "RokuMetadata\RokuMetadata.csproj", "{E0FECDE5-B375-45AF-9B07-BD64977F966C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -170,6 +170,12 @@ Global
|
||||
{776C7D9D-72C5-4C73-AC73-88071B5C963C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{776C7D9D-72C5-4C73-AC73-88071B5C963C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{776C7D9D-72C5-4C73-AC73-88071B5C963C}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E0FECDE5-B375-45AF-9B07-BD64977F966C}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
44
RokuMetadata/Configuration/ConfigurationPage.cs
Normal file
44
RokuMetadata/Configuration/ConfigurationPage.cs
Normal file
@ -0,0 +1,44 @@
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Controller.Plugins;
|
||||
using System.IO;
|
||||
|
||||
namespace RokuMetadata.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Class TrailerConfigurationPage
|
||||
/// </summary>
|
||||
class VimeoConfigurationPage : IPluginConfigurationPage
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name
|
||||
{
|
||||
get { return "Roku Thumbnails"; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the HTML stream.
|
||||
/// </summary>
|
||||
/// <returns>Stream.</returns>
|
||||
public Stream GetHtmlStream()
|
||||
{
|
||||
return GetType().Assembly.GetManifestResourceStream(GetType().Namespace + ".configPage.html");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the configuration page.
|
||||
/// </summary>
|
||||
/// <value>The type of the configuration page.</value>
|
||||
public ConfigurationPageType ConfigurationPageType
|
||||
{
|
||||
get { return ConfigurationPageType.PluginConfiguration; }
|
||||
}
|
||||
|
||||
public IPlugin Plugin
|
||||
{
|
||||
get { return RokuMetadata.Plugin.Instance; }
|
||||
}
|
||||
}
|
||||
}
|
19
RokuMetadata/Configuration/PluginConfiguration.cs
Normal file
19
RokuMetadata/Configuration/PluginConfiguration.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using MediaBrowser.Model.Plugins;
|
||||
|
||||
namespace RokuMetadata.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Class PluginConfiguration
|
||||
/// </summary>
|
||||
public class PluginConfiguration : BasePluginConfiguration
|
||||
{
|
||||
public bool EnableExtractionDuringLibraryScan { get; set; }
|
||||
public bool EnableHdThumbnails { get; set; }
|
||||
public bool EnableSdThumbnails { get; set; }
|
||||
|
||||
public PluginConfiguration()
|
||||
{
|
||||
EnableHdThumbnails = true;
|
||||
}
|
||||
}
|
||||
}
|
102
RokuMetadata/Configuration/configPage.html
Normal file
102
RokuMetadata/Configuration/configPage.html
Normal file
@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Trailers</title>
|
||||
</head>
|
||||
<body>
|
||||
<div data-role="page" class="page type-interior pluginConfigurationPage trailersConfigurationPage">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
|
||||
<form class="trailersConfigurationForm">
|
||||
|
||||
<div>
|
||||
<fieldset data-role="controlgroup">
|
||||
<legend>Display sections:</legend>
|
||||
<label for="chkEnableMovieArchive">Movie trailer archive</label>
|
||||
<input type="checkbox" id="chkEnableMovieArchive" />
|
||||
<label for="chkTheaters">New and Upcoming in Theaters</label>
|
||||
<input type="checkbox" id="chkTheaters" />
|
||||
<label for="chkDvd">New and Upcoming on Dvd</label>
|
||||
<input type="checkbox" id="chkDvd" />
|
||||
<label for="chkStreaming">New and Upcoming on Netflix</label>
|
||||
<input type="checkbox" id="chkStreaming" />
|
||||
</fieldset>
|
||||
<div class="fieldDescription">The movie archive adds a catalog of over 1500 trailers to your library, allowing them to be utilized within Cinema Mode, recommendations, and channel browsing. After enabling this your next library scan will take longer than usual. Please be patient.</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<ul class="ulForm" data-role="listview">
|
||||
<li>
|
||||
<label for="chkExcludeUnidentifiedContent">Exclude trailers that are not found on iMDB.com or theMovieDb.org</label>
|
||||
<input type="checkbox" id="chkExcludeUnidentifiedContent" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkEnableLocalTrailers">Download trailers into my movie folders</label>
|
||||
<input type="checkbox" id="chkEnableLocalTrailers" />
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b">Save</button>
|
||||
<button type="button" onclick="history.back();">Cancel</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
var pluginId = "986a7283-205a-4436-862d-23135c067f8a";
|
||||
|
||||
$('.trailersConfigurationPage').on('pageshow', function (event) {
|
||||
|
||||
var page = this;
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getPluginConfiguration(pluginId).done(function (config) {
|
||||
|
||||
$('#chkEnableMovieArchive', page).checked(config.EnableMovieArchive).checkboxradio('refresh');
|
||||
$('#chkTheaters', page).checked(config.EnableTheaters).checkboxradio('refresh');
|
||||
$('#chkDvd', page).checked(config.EnableDvd).checkboxradio('refresh');
|
||||
$('#chkStreaming', page).checked(config.EnableNetflix).checkboxradio('refresh');
|
||||
|
||||
$('#chkExcludeUnidentifiedContent', page).checked(config.ExcludeUnIdentifiedContent).checkboxradio('refresh');
|
||||
$('#chkEnableLocalTrailers', page).checked(config.EnableLocalTrailerDownloads).checkboxradio('refresh');
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
});
|
||||
});
|
||||
|
||||
$('.trailersConfigurationForm').off('submit.plugin').on('submit.plugin', function (e) {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var form = this;
|
||||
|
||||
ApiClient.getPluginConfiguration(pluginId).done(function (config) {
|
||||
|
||||
config.EnableMovieArchive = $('#chkEnableMovieArchive', form).checked();
|
||||
config.EnableTheaters = $('#chkTheaters', form).checked();
|
||||
config.EnableDvd = $('#chkDvd', form).checked();
|
||||
config.EnableNetflix = $('#chkStreaming', form).checked();
|
||||
|
||||
config.ExcludeUnIdentifiedContent = $('#chkExcludeUnidentifiedContent', form).checked();
|
||||
config.EnableLocalTrailerDownloads = $('#chkEnableLocalTrailers', form).checked();
|
||||
|
||||
ApiClient.updatePluginConfiguration(pluginId, config).done(Dashboard.processPluginConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
22
RokuMetadata/Drawing/VideoProcessor.cs
Normal file
22
RokuMetadata/Drawing/VideoProcessor.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RokuMetadata.Drawing
|
||||
{
|
||||
public class VideoProcessor
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public VideoProcessor(ILogger logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public async Task Run(Video item, CancellationToken cancellationToken)
|
||||
{
|
||||
_logger.Info("Creating roku thumbnails for {0}", item.Name);
|
||||
}
|
||||
}
|
||||
}
|
BIN
RokuMetadata/Images/bif.jpg
Normal file
BIN
RokuMetadata/Images/bif.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
RokuMetadata/Images/plugin.png
Normal file
BIN
RokuMetadata/Images/plugin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
48
RokuMetadata/Plugin.cs
Normal file
48
RokuMetadata/Plugin.cs
Normal file
@ -0,0 +1,48 @@
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
using MediaBrowser.Model.Serialization;
|
||||
using RokuMetadata.Configuration;
|
||||
|
||||
namespace RokuMetadata
|
||||
{
|
||||
/// <summary>
|
||||
/// Class Plugin
|
||||
/// </summary>
|
||||
public class Plugin : BasePlugin<PluginConfiguration>
|
||||
{
|
||||
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
|
||||
: base(applicationPaths, xmlSerializer)
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
public static string PluginName = "Roku Thumbnails";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the plugin
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public override string Name
|
||||
{
|
||||
get { return PluginName; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the description.
|
||||
/// </summary>
|
||||
/// <value>The description.</value>
|
||||
public override string Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Creates Thumbnails for seeking with Roku.";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the instance.
|
||||
/// </summary>
|
||||
/// <value>The instance.</value>
|
||||
public static Plugin Instance { get; private set; }
|
||||
}
|
||||
}
|
31
RokuMetadata/Properties/AssemblyInfo.cs
Normal file
31
RokuMetadata/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("RokuMetadata")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("RokuMetadata")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("0417264b-5a93-4ad0-a1f0-b87569b7cf80")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
93
RokuMetadata/Providers/RokuMetadataProvider.cs
Normal file
93
RokuMetadata/Providers/RokuMetadataProvider.cs
Normal file
@ -0,0 +1,93 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.LiveTv;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using RokuMetadata.Drawing;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RokuMetadata.Providers
|
||||
{
|
||||
public class RokuMetadataProvider : ICustomMetadataProvider<Episode>,
|
||||
ICustomMetadataProvider<MusicVideo>,
|
||||
ICustomMetadataProvider<Movie>,
|
||||
ICustomMetadataProvider<Video>,
|
||||
IHasItemChangeMonitor,
|
||||
IHasOrder,
|
||||
IForcedProvider
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public RokuMetadataProvider(ILogger logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return Plugin.PluginName; }
|
||||
}
|
||||
|
||||
public int Order
|
||||
{
|
||||
get
|
||||
{
|
||||
// Run after the core media info provider (which is 100)
|
||||
return 1000;
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasChanged(IHasMetadata item, MetadataStatus status, IDirectoryService directoryService)
|
||||
{
|
||||
if (status.ItemDateModified.HasValue)
|
||||
{
|
||||
if (status.ItemDateModified.Value != item.DateModified)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public Task<ItemUpdateType> FetchAsync(Episode item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return FetchInternal(item, options, cancellationToken);
|
||||
}
|
||||
|
||||
public Task<ItemUpdateType> FetchAsync(MusicVideo item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return FetchInternal(item, options, cancellationToken);
|
||||
}
|
||||
|
||||
public Task<ItemUpdateType> FetchAsync(Movie item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return FetchInternal(item, options, cancellationToken);
|
||||
}
|
||||
|
||||
public Task<ItemUpdateType> FetchAsync(LiveTvVideoRecording item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return FetchInternal(item, options, cancellationToken);
|
||||
}
|
||||
|
||||
public Task<ItemUpdateType> FetchAsync(Video item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
return FetchInternal(item, options, cancellationToken);
|
||||
}
|
||||
|
||||
private async Task<ItemUpdateType> FetchInternal(Video item, MetadataRefreshOptions options, CancellationToken cancellationToken)
|
||||
{
|
||||
if (Plugin.Instance.Configuration.EnableExtractionDuringLibraryScan)
|
||||
{
|
||||
await new VideoProcessor(_logger)
|
||||
.Run(item, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
// The core doesn't need to trigger any save operations over this
|
||||
return ItemUpdateType.None;
|
||||
}
|
||||
}
|
||||
}
|
66
RokuMetadata/RokuDeviceProfile.cs
Normal file
66
RokuMetadata/RokuDeviceProfile.cs
Normal file
@ -0,0 +1,66 @@
|
||||
using MediaBrowser.Model.Dlna;
|
||||
|
||||
namespace RokuMetadata
|
||||
{
|
||||
public class RokuDeviceProfile : DeviceProfile
|
||||
{
|
||||
public RokuDeviceProfile()
|
||||
{
|
||||
Name = "Roku";
|
||||
|
||||
MaxStreamingBitrate = 20000000;
|
||||
|
||||
DirectPlayProfiles = new[]
|
||||
{
|
||||
new DirectPlayProfile
|
||||
{
|
||||
Container = "mkv",
|
||||
VideoCodec = "h264,mpeg4",
|
||||
AudioCodec = "ac3,dca,aac,mp3",
|
||||
Type = DlnaProfileType.Video
|
||||
},
|
||||
new DirectPlayProfile
|
||||
{
|
||||
Container = "mp4,mov,m4v",
|
||||
VideoCodec = "h264,mpeg4",
|
||||
AudioCodec = "ac3,aac",
|
||||
Type = DlnaProfileType.Video
|
||||
}
|
||||
};
|
||||
|
||||
ContainerProfiles = new ContainerProfile[] { };
|
||||
|
||||
CodecProfiles = new[]
|
||||
{
|
||||
new CodecProfile
|
||||
{
|
||||
Type = CodecType.Video,
|
||||
Conditions = new []
|
||||
{
|
||||
new ProfileCondition
|
||||
{
|
||||
Condition = ProfileConditionType.LessThanEqual,
|
||||
Property = ProfileConditionValue.VideoBitDepth,
|
||||
Value = "8",
|
||||
IsRequired = false
|
||||
},
|
||||
new ProfileCondition
|
||||
{
|
||||
Condition = ProfileConditionType.LessThanEqual,
|
||||
Property = ProfileConditionValue.Height,
|
||||
Value = "1080",
|
||||
IsRequired = false
|
||||
},
|
||||
new ProfileCondition
|
||||
{
|
||||
Condition = ProfileConditionType.LessThanEqual,
|
||||
Property = ProfileConditionValue.RefFrames,
|
||||
Value = "12",
|
||||
IsRequired = false
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
94
RokuMetadata/RokuMetadata.csproj
Normal file
94
RokuMetadata/RokuMetadata.csproj
Normal file
@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E0FECDE5-B375-45AF-9B07-BD64977F966C}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>RokuMetadata</RootNamespace>
|
||||
<AssemblyName>RokuMetadata</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller">
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\SharedVersion.cs">
|
||||
<Link>Properties\SharedVersion.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Configuration\ConfigurationPage.cs" />
|
||||
<Compile Include="Configuration\PluginConfiguration.cs" />
|
||||
<Compile Include="Drawing\VideoProcessor.cs" />
|
||||
<Compile Include="Plugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Providers\RokuMetadataProvider.cs" />
|
||||
<Compile Include="RokuDeviceProfile.cs" />
|
||||
<Compile Include="ScheduledTasks\RokuScheduledTask.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Images\bif.jpg" />
|
||||
<Content Include="Configuration\configPage.html" />
|
||||
<Content Include="Images\plugin.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
|
||||
</Target>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\..\MediaBrowser.Dev\ProgramData-Server\Plugins\" /y</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
74
RokuMetadata/ScheduledTasks/RokuScheduledTask.cs
Normal file
74
RokuMetadata/ScheduledTasks/RokuScheduledTask.cs
Normal file
@ -0,0 +1,74 @@
|
||||
using MediaBrowser.Common.ScheduledTasks;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using RokuMetadata.Drawing;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RokuMetadata.ScheduledTasks
|
||||
{
|
||||
public class RokuScheduledTask : IScheduledTask
|
||||
{
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILibraryManager _libraryManager;
|
||||
|
||||
public RokuScheduledTask(ILibraryManager libraryManager, ILogger logger)
|
||||
{
|
||||
_libraryManager = libraryManager;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public string Category
|
||||
{
|
||||
get { return "Roku"; }
|
||||
}
|
||||
|
||||
public string Description
|
||||
{
|
||||
get { return "Create thumbnails for enhanced seeking with Roku"; }
|
||||
}
|
||||
|
||||
public async Task Execute(CancellationToken cancellationToken, IProgress<double> progress)
|
||||
{
|
||||
var items = _libraryManager.RootFolder
|
||||
.RecursiveChildren
|
||||
.OfType<Video>()
|
||||
.ToList();
|
||||
|
||||
var numComplete = 0;
|
||||
|
||||
foreach (var item in items)
|
||||
{
|
||||
await new VideoProcessor(_logger)
|
||||
.Run(item, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
numComplete++;
|
||||
double percent = numComplete;
|
||||
percent /= items.Count;
|
||||
percent *= 95;
|
||||
|
||||
progress.Report(percent + 5);
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<ITaskTrigger> GetDefaultTriggers()
|
||||
{
|
||||
return new List<ITaskTrigger>
|
||||
{
|
||||
new DailyTrigger
|
||||
{
|
||||
TimeOfDay = TimeSpan.FromHours(5)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return ""; }
|
||||
}
|
||||
}
|
||||
}
|
5
RokuMetadata/packages.config
Normal file
5
RokuMetadata/packages.config
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
</packages>
|
@ -32,17 +32,17 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MediaBrowser.Common, Version=3.0.5491.399, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Common">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Controller, Version=3.0.5491.398, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Server.Core.3.0.541\lib\net45\MediaBrowser.Controller.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MediaBrowser.Model, Version=3.0.5491.400, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.541\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Reference Include="MediaBrowser.Model">
|
||||
<HintPath>..\packages\MediaBrowser.Common.3.0.551\lib\net45\MediaBrowser.Model.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MediaBrowser.Common" version="3.0.541" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Common" version="3.0.551" targetFramework="net45" />
|
||||
<package id="MediaBrowser.Server.Core" version="3.0.541" targetFramework="net45" />
|
||||
<package id="ServiceStack.Interfaces" version="4.0.35" targetFramework="net45" />
|
||||
</packages>
|
Loading…
Reference in New Issue
Block a user