Skip to content

Commit

Permalink
Update-to-1.0.8.0 (#16)
Browse files Browse the repository at this point in the history
- Update 10.9 to net8.0
 - Update action version to latest
 - Update nuget package to latest
  • Loading branch information
Gauvino authored May 16, 2024
1 parent 65e5723 commit f0b8fc2
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 25 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x

Expand All @@ -27,7 +27,7 @@ jobs:
run: dotnet build subbuzz.emby.4.7.csproj --configuration Release --no-restore

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifact-emby-4.7
if-no-files-found: error
Expand All @@ -39,10 +39,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x

Expand All @@ -53,7 +53,7 @@ jobs:
run: dotnet build subbuzz.emby.4.8.csproj --configuration Release --no-restore

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifact-emby-4.8
if-no-files-found: error
Expand All @@ -65,7 +65,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Remove unused files
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
mv build.jellyfin.10.8.yaml build.yaml
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x

Expand All @@ -85,7 +85,7 @@ jobs:
dotnet-target: net6.0

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifact-jellyfin-10.8
if-no-files-found: error
Expand All @@ -97,7 +97,7 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Remove unused files
run: |
Expand All @@ -106,18 +106,18 @@ jobs:
mv build.jellyfin.10.9.yaml build.yaml
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Build for jellyfin-10.9
uses: oddstr13/jellyfin-plugin-repository-manager@v0.5.1
uses: oddstr13/jellyfin-plugin-repository-manager@v1.0.11
id: jprm
with:
dotnet-target: net7.0
dotnet-target: net8.0

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifact-jellyfin-10.9
if-no-files-found: error
Expand Down
6 changes: 3 additions & 3 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("subbuzz")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © josdion, 2024")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Subtitles plugin for emby and jellyfin")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.7.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.7.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.8.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.8.0")]
[assembly: System.Reflection.AssemblyProductAttribute("subbuzz")]
[assembly: System.Reflection.AssemblyTitleAttribute("subbuzz")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.7.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.8.0")]

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Subtitles plugin for [Emby](https://emby.media/) and [Jellyfin](https://jellyfin
## Installation
- Repository (Jellyfin only):
- Add to the list this URL:
- For **Jellyfin 10.9**
```
https://raw.githubusercontent.com/josdion/subbuzz/master/repo/jellyfin_10.9.json
```
- For **Jellyfin 10.8**
```
https://raw.githubusercontent.com/josdion/subbuzz/master/repo/jellyfin_10.8.json
Expand Down
4 changes: 2 additions & 2 deletions build.jellyfin.10.9.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "subbuzz"
guid: "5aeab01b-2ef8-45c6-bb6b-16ce9cb268d4"
imageUrl: "https://raw.githubusercontent.com/josdion/subbuzz/master/thumb.png"
version: "1.0.7.0"
version: "1.0.8.0"
targetAbi: "10.9.0.0"
framework: "net7.0"
framework: "net8.0"
owner: "josdion"
overview: "Download subtitles for your media"
description: "Download subtitles from various sites."
Expand Down
21 changes: 21 additions & 0 deletions repo/jellyfin_10.9json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"guid": "5aeab01b-2ef8-45c6-bb6b-16ce9cb268d4",
"name": "subbuzz",
"description": "Download subtitles from various sites.",
"overview": "Download subtitles for your media",
"owner": "josdion",
"category": "Metadata",
"imageUrl": "https://raw.githubusercontent.com/josdion/subbuzz/master/thumb.png",
"versions": [
{
"version": "1.0.8.0",
"changelog": "- Update to Jellyfin 10.9\n",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://github.com/josdion/subbuzz/releases/download/v1.0.8.0/subbuzz_1.0.8.0_jellyfin_10.9.zip",
"checksum": "need a checksum",
"timestamp": "need a timestamp"
}
]
}
]
10 changes: 5 additions & 5 deletions subbuzz.jellyfin.10.9.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<RootNamespace>subbuzz</RootNamespace>
<AssemblyName>subbuzz</AssemblyName>
Expand All @@ -23,10 +23,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Jellyfin.Controller" Version="10.8.*-*" />
<PackageReference Include="SharpCompress" Version="0.32.2" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Jellyfin.Controller" Version="10.9.*-*" />
<PackageReference Include="SharpCompress" Version="0.36.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="2.2.8" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit f0b8fc2

Please sign in to comment.