File tree Expand file tree Collapse file tree
Jellyfin.Plugin.Jellysleep Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828 - name : Test Build Output
2929 run : |
30- if [ ! -f "Jellyfin.Plugin.Jellysleep/bin/Release/net8 .0/Jellyfin.Plugin.Jellysleep.dll" ]; then
30+ if [ ! -f "Jellyfin.Plugin.Jellysleep/bin/Release/net9 .0/Jellyfin.Plugin.Jellysleep.dll" ]; then
3131 echo "Build failed - DLL not found"
3232 exit 1
3333 fi
Original file line number Diff line number Diff line change 77 "name" : " Launch" ,
88 "request" : " launch" ,
99 "preLaunchTask" : " build-and-copy" ,
10- "program" : " ${config:jellyfinDir}/bin/Debug/net8 .0/jellyfin.dll" ,
10+ "program" : " ${config:jellyfinDir}/bin/Debug/net9 .0/jellyfin.dll" ,
1111 "args" : [
1212 //"--nowebclient"
1313 " --webdir" ,
Original file line number Diff line number Diff line change 3636 "label" : " copy-dll" ,
3737 "type" : " shell" ,
3838 "command" : " cp" ,
39- "args" : [" ./${config:pluginName}/bin/Release/net8 .0/${config:pluginName}.dll" , " ${config:jellyfinDataDir}/plugins/${config:pluginName}/" ]
39+ "args" : [" ./${config:pluginName}/bin/Release/net9 .0/${config:pluginName}.dll" , " ${config:jellyfinDataDir}/plugins/${config:pluginName}/" ]
4040 }
4141 ]
4242}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <RootNamespace >Jellyfin.Plugin.Jellysleep</RootNamespace >
2828 </PropertyGroup >
2929
3030 <ItemGroup >
31- <PackageReference Include =" Jellyfin.Controller" Version =" 10.10.7 " />
32- <PackageReference Include =" Jellyfin.Model" Version =" 10.10.7 " />
31+ <PackageReference Include =" Jellyfin.Controller" Version =" 10.11.0 " />
32+ <PackageReference Include =" Jellyfin.Model" Version =" 10.11.0 " />
3333 <PackageReference Include =" Humanizer.Core" Version =" 2.14.1" PrivateAssets =" none" />
3434 </ItemGroup >
3535
36- <ItemGroup >
37- <PackageReference Include =" SerilogAnalyzer" Version =" 0.15.0" PrivateAssets =" All" />
38- <PackageReference Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.556" PrivateAssets =" All" />
39- <PackageReference Include =" SmartAnalyzers.MultithreadingAnalyzer" Version =" 1.1.31" PrivateAssets =" All" />
40- </ItemGroup >
41-
4236 <ItemGroup >
4337 <None Remove =" Configuration\configPage.html" />
4438 <EmbeddedResource Include =" Configuration\configPage.html" />
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ restore:
4040
4141test : build
4242 @echo " Testing build output..."
43- @if [ ! -f " Jellyfin.Plugin.Jellysleep/bin/Release/net8 .0/Jellyfin.Plugin.Jellysleep.dll" ]; then \
43+ @if [ ! -f " Jellyfin.Plugin.Jellysleep/bin/Release/net9 .0/Jellyfin.Plugin.Jellysleep.dll" ]; then \
4444 echo " Build test failed - DLL not found" ; \
4545 exit 1; \
4646 fi
@@ -73,10 +73,10 @@ install: package
7373dev-install : debug
7474 @echo " Installing debug build to local Jellyfin..."
7575 sudo mkdir -p /var/lib/jellyfin/plugins/Jellysleep
76- sudo cp Jellyfin.Plugin.Jellysleep/bin/Debug/net8 .0/Jellyfin.Plugin.Jellysleep.dll /var/lib/jellyfin/plugins/Jellysleep/
76+ sudo cp Jellyfin.Plugin.Jellysleep/bin/Debug/net9 .0/Jellyfin.Plugin.Jellysleep.dll /var/lib/jellyfin/plugins/Jellysleep/
7777 # Copy Humanizer dependency for debug builds
78- @if [ -f " Jellyfin.Plugin.Jellysleep/bin/Debug/net8 .0/Humanizer.dll" ]; then \
79- sudo cp Jellyfin.Plugin.Jellysleep/bin/Debug/net8 .0/Humanizer.dll /var/lib/jellyfin/plugins/Jellysleep/; \
78+ @if [ -f " Jellyfin.Plugin.Jellysleep/bin/Debug/net9 .0/Humanizer.dll" ]; then \
79+ sudo cp Jellyfin.Plugin.Jellysleep/bin/Debug/net9 .0/Humanizer.dll /var/lib/jellyfin/plugins/Jellysleep/; \
8080 fi
8181 @echo " Debug plugin installed. Restart Jellyfin to load the updated plugin."
8282
Original file line number Diff line number Diff line change 11{
2- "sdk" : {
3- "version" : " 8 .0.115 "
4- }
5- }
2+ "sdk" : {
3+ "version" : " 9 .0.306 "
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments