Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2018 Hinni Solutions
Copyright 2020 Hinni Solutions

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
21 changes: 8 additions & 13 deletions Plex.Server.Webhooks.Tests/Plex.Server.Webhooks.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,23 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>

<IsPackable>false</IsPackable>

<Authors>Hinni</Authors>

<Company>Hinni Solutions</Company>

<Copyright>Copyright © 2017-2018 Hinni Solutions</Copyright>

<Copyright>Copyright © 2017-2020 Hinni Solutions</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>

<PackageProjectUrl>https://github.com/Hinni/plex-server-webhooks</PackageProjectUrl>

<PackageTags>Plex MediaServer Webhooks Tests</PackageTags>

<Version>2.0.0</Version>
<Version>2.1.0</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions Plex.Server.Webhooks/Plex.Server.Webhooks.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Hinni</Authors>
<Version>2.0.0</Version>
<Version>2.1.0</Version>
<Description>A library to parse event webhooks from Plex server.</Description>
<PackageProjectUrl>https://github.com/Hinni/plex-server-webhooks</PackageProjectUrl>
<PackageReleaseNotes>Switched project to .NET Standard 1.0</PackageReleaseNotes>
<Copyright>Copyright © 2017-2018 Hinni Solutions</Copyright>
<PackageReleaseNotes>Switched project to .NET Standard 2.0</PackageReleaseNotes>
<Copyright>Copyright © 2017-2020 Hinni Solutions</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<RepositoryUrl></RepositoryUrl>
<Company>Hinni Solutions</Company>
<PackageTags>Plex MediaServer Webhooks</PackageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

</Project>
7 changes: 3 additions & 4 deletions plex-server-webhooks.sln
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.106
# Visual Studio Version 16
VisualStudioVersion = 16.0.29920.165
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{393F97E6-85EC-4751-971D-C4AF2C743C7D}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
.travis.yml = .travis.yml
LICENSE = LICENSE
readme.md = readme.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plex.Server.Webhooks", "Plex.Server.Webhooks\Plex.Server.Webhooks.csproj", "{2A555898-1357-4175-B2E0-28D7C767900F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plex.Server.Webhooks.Tests", "Plex.Server.Webhooks.Tests\Plex.Server.Webhooks.Tests.csproj", "{019E3641-8A52-407B-A554-7BB0CEEA5229}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plex.Server.Webhooks.Tests", "Plex.Server.Webhooks.Tests\Plex.Server.Webhooks.Tests.csproj", "{019E3641-8A52-407B-A554-7BB0CEEA5229}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
10 changes: 6 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
[![GitHub release](https://img.shields.io/github/release/Hinni/plex-server-webhooks.svg)](https://github.com/Hinni/plex-server-webhooks/releases)
[![NuGet](https://img.shields.io/nuget/v/Plex.Server.Webhooks.svg)](https://www.nuget.org/packages/Plex.Server.Webhooks/)

A library to parse event webhooks from Plex server.
A library to parse event webhooks from Plex Media Server.

## Download via NuGet

Install Plex.Server.Webhooks via NuGet package manager (nuget.org)

Install-Package Plex.Server.Webhooks
```cmd
Install-Package Plex.Server.Webhooks
```

## Usage

Expand All @@ -24,8 +26,8 @@ var events = parser.ParseEvent(json);
## Plex Webhook Documentation

Check out the documentation on Plex:
https://support.plex.tv/hc/en-us/articles/115002267687-Webhooks
[Webhooks on Plex Support](https://support.plex.tv/articles/115002267687-webhooks/)

## Thanks

* [mirajavora](https://github.com/mirajavora) for the project structure and converters used in [sendgrid-webhooks](https://github.com/mirajavora/sendgrid-webhooks)
* [mirajavora](https://github.com/mirajavora) for the project structure and converters used in [sendgrid-webhooks](https://github.com/mirajavora/sendgrid-webhooks)