Skip to content

Commit e777bf2

Browse files
committed
add playlist export
1 parent f061379 commit e777bf2

File tree

5 files changed

+237
-33
lines changed

5 files changed

+237
-33
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using Unbroken.LaunchBox.Plugins.Data;
7+
8+
namespace PegasusExportPlugin.Launchbox
9+
{
10+
public class PlaylistSetting
11+
{
12+
public bool Selected { get; set; } = true;
13+
public string Name { get; set; }
14+
15+
public bool ExportAssets { get; set; } = true;
16+
public bool ExportMetadata { get; set; } = true;
17+
public bool ExportApplication { get; set; } = true;
18+
19+
public IGame[] Games;
20+
}
21+
}

PegasusExportPlugin/PegasusExportPlugin.csproj

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,14 @@
4444
<Reference Include="System.Data" />
4545
<Reference Include="System.Net.Http" />
4646
<Reference Include="System.Xml" />
47-
<Reference Include="Unbroken, Version=9.10.0.2, Culture=neutral, PublicKeyToken=97d6238f04304129, processorArchitecture=MSIL">
48-
<SpecificVersion>False</SpecificVersion>
49-
<HintPath>..\..\..\..\..\LaunchBox\Plugins\Unbroken.dll</HintPath>
50-
<Private>False</Private>
47+
<Reference Include="Unbroken">
48+
<HintPath>..\..\..\..\..\LaunchBox\Core\Unbroken.dll</HintPath>
5149
</Reference>
5250
<Reference Include="Unbroken.LaunchBox">
53-
<HintPath>..\..\..\..\..\LaunchBox\Plugins\Unbroken.LaunchBox.dll</HintPath>
51+
<HintPath>..\..\..\..\..\LaunchBox\Core\Unbroken.LaunchBox.dll</HintPath>
5452
</Reference>
55-
<Reference Include="Unbroken.LaunchBox.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=558191e84f56affc, processorArchitecture=MSIL">
56-
<SpecificVersion>False</SpecificVersion>
57-
<HintPath>..\..\..\..\..\LaunchBox\Plugins\Unbroken.LaunchBox.Plugins.dll</HintPath>
58-
<Private>False</Private>
53+
<Reference Include="Unbroken.LaunchBox.Plugins">
54+
<HintPath>..\..\..\..\..\LaunchBox\Core\Unbroken.LaunchBox.Plugins.dll</HintPath>
5955
</Reference>
6056
</ItemGroup>
6157
<ItemGroup>
@@ -78,6 +74,7 @@
7874
</Compile>
7975
<Compile Include="Launchbox\ImageDetail.cs" />
8076
<Compile Include="Launchbox\PlatformSetting.cs" />
77+
<Compile Include="Launchbox\PlaylistSetting.cs" />
8178
<Compile Include="ProgramEntry.cs" />
8279
<Compile Include="Pegasus\PegasusAssetType.cs" />
8380
<Compile Include="Program.cs" />

PegasusExportPlugin/frmPegasusExport.Designer.cs

Lines changed: 114 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)