commit cf4086a310b9380a69c215e8f09ff23644299a47 Author: Diamond Creeper Date: Sat Nov 30 18:16:50 2024 +1300 Upload project diff --git a/JellyfinDiscordRPC.sln b/JellyfinDiscordRPC.sln new file mode 100644 index 0000000..b00e47d --- /dev/null +++ b/JellyfinDiscordRPC.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35514.174 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JellyfinDiscordRPC", "JellyfinDiscordRPC\JellyfinDiscordRPC.csproj", "{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {06FF6B5D-B070-4DB7-9A87-9B6E280A794D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {06FF6B5D-B070-4DB7-9A87-9B6E280A794D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06FF6B5D-B070-4DB7-9A87-9B6E280A794D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {06FF6B5D-B070-4DB7-9A87-9B6E280A794D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/JellyfinDiscordRPC/JellyfinDiscordRPC.csproj b/JellyfinDiscordRPC/JellyfinDiscordRPC.csproj new file mode 100644 index 0000000..d44f25d --- /dev/null +++ b/JellyfinDiscordRPC/JellyfinDiscordRPC.csproj @@ -0,0 +1,14 @@ + + + + Exe + net9.0 + enable + enable + + + + + + + diff --git a/JellyfinDiscordRPC/Program.cs b/JellyfinDiscordRPC/Program.cs new file mode 100644 index 0000000..63d585a --- /dev/null +++ b/JellyfinDiscordRPC/Program.cs @@ -0,0 +1,272 @@ +using DiscordRPC; +using System; +using System.IO; +using System.Net.Http; +using System.Text.Json; +using System.Threading.Tasks; +using Newtonsoft.Json.Linq; + +class Program +{ + private const string ConfigFilePath = "config.json"; + private static DiscordRpcClient _discordClient; + private static Config _config; + + // Hard-code the Discord Client ID here + private const string DiscordClientId = "1312264302601834578"; // Replace with your actual Discord client ID + + static async Task Main(string[] args) + { + Console.WriteLine("Starting Jellyfin Discord Rich Presence..."); + + // Load or create configuration + LoadOrCreateConfig(); + + // Initialize Discord Rich Presence + _discordClient = new DiscordRpcClient(DiscordClientId); + _discordClient.OnReady += (sender, e) => Console.WriteLine("Connected to Discord RPC!"); + _discordClient.OnPresenceUpdate += (sender, e) => Console.WriteLine("Rich Presence updated!"); + _discordClient.Initialize(); + + // Poll Jellyfin API for currently playing media + while (true) + { + try + { + var playingInfo = await GetCurrentlyPlaying().ConfigureAwait(false); + if (playingInfo != null) + { + // Get the raw JToken from nowPlaying (instead of passing PlayingInfo) + JToken nowPlaying = playingInfo.NowPlayingItem; + + // Check if album art exists and pre-fetch it + string largeImageKey = playingInfo.IsMusic + ? await GetAlbumCover(nowPlaying).ConfigureAwait(false) // Pass the JToken nowPlaying here + : await GetJellyfinLogo().ConfigureAwait(false); + string largeImageText = playingInfo.IsMusic + ? nowPlaying["Album"]?.ToString() ?? "Unknown Album" // Extract album name or fallback to "Unknown Album" + : "Jellyfin Media Player"; + // Update Discord Rich Presence for music or video + _discordClient.SetPresence(new RichPresence + { + Details = playingInfo.IsMusic + ? $"{playingInfo.Title}" // Show song name + : $"Watching: {playingInfo.Title}", // Show video title + State = playingInfo.IsMusic + ? $"{playingInfo.Artist}" // Show artist only (no album name) + : $"Season {playingInfo.Season}, Episode {playingInfo.Episode}", + Timestamps = new Timestamps + { + Start = DateTime.UtcNow - playingInfo.Progress, // Start time based on current progress + End = DateTime.UtcNow + (playingInfo.Duration - playingInfo.Progress) // End time based on total duration + }, + Assets = new Assets + { + LargeImageKey = largeImageKey, // Dynamically set image based on media type + LargeImageText = largeImageText // Use album name or fallback text + } + }); + } + else + { + _discordClient.ClearPresence(); + } + } + catch (Exception ex) + { + Console.WriteLine($"Error: {ex.Message}"); + } + + // Wait for a few seconds before polling again + await Task.Delay(5000).ConfigureAwait(false); + } + } + + private static async Task GetJellyfinLogo() + { + using var httpClient = new HttpClient(); + try + { + var response = await httpClient.GetAsync($"{_config.JellyfinBaseUrl}/System/Info?api_key={_config.JellyfinApiKey}").ConfigureAwait(false); + response.EnsureSuccessStatusCode(); + + var jsonResponse = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + var json = JObject.Parse(jsonResponse); + + // Attempt to get the logo URL + var logoUrl = json["LogoUrl"]?.ToString(); + + // Fallback to a default logo if no logo URL is found + return logoUrl ?? "jellyfin_logo"; + } + catch (Exception ex) + { + Console.WriteLine($"Error fetching Jellyfin logo: {ex.Message}"); + return "jellyfin_logo"; // Default fallback in case of error + } + } + + private static void LoadOrCreateConfig() + { + if (File.Exists(ConfigFilePath)) + { + // Load configuration from file + var configJson = File.ReadAllText(ConfigFilePath); + _config = JsonSerializer.Deserialize(configJson); + } + else + { + // Prompt user for configuration on first startup (without Discord Client ID) + _config = new Config(); + + do + { + Console.Write("Enter Jellyfin Server URL (e.g., http://your-jellyfin-server:8096): "); + _config.JellyfinBaseUrl = Console.ReadLine(); + } while (string.IsNullOrWhiteSpace(_config.JellyfinBaseUrl)); + + do + { + Console.Write("Enter Jellyfin API Key: "); + _config.JellyfinApiKey = Console.ReadLine(); + } while (string.IsNullOrWhiteSpace(_config.JellyfinApiKey)); + + Console.WriteLine("Go to the following URL and find your Jellyfin User ID:"); + Console.WriteLine(" http://:PORTNUMBER/Users?api_key="); + do + { + Console.Write("Enter Jellyfin User ID: "); + _config.JellyfinUserId = Console.ReadLine(); + } while (string.IsNullOrWhiteSpace(_config.JellyfinUserId)); + + // Save configuration to file (without Discord Client ID) + var configJson = JsonSerializer.Serialize(_config, new JsonSerializerOptions { WriteIndented = true }); + File.WriteAllText(ConfigFilePath, configJson); + + Console.WriteLine("Configuration saved to config.json."); + } + } + + private static async Task GetCurrentlyPlaying() + { + using var httpClient = new HttpClient(); + try + { + var response = await httpClient.GetAsync($"{_config.JellyfinBaseUrl}/Sessions?api_key={_config.JellyfinApiKey}").ConfigureAwait(false); + response.EnsureSuccessStatusCode(); + + var jsonResponse = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + var sessions = JArray.Parse(jsonResponse); + + foreach (var session in sessions) + { + if (session["UserId"]?.ToString() == _config.JellyfinUserId && + session["NowPlayingItem"] != null) + { + var nowPlaying = session["NowPlayingItem"]; // This is the raw JToken we need + + // Extract media type + var mediaType = nowPlaying["Type"]?.ToString(); + bool isMusic = mediaType?.ToLower() == "audio"; + + string albumCover = ""; // Default value for album cover + string artist = "Unknown Artist"; // Default value for artist + + // If it's music, extract the album art and artist name + if (isMusic) + { + albumCover = await GetAlbumCover(nowPlaying).ConfigureAwait(false); // Pass JToken (not PlayingInfo) + var artists = nowPlaying["Artists"]?.ToObject(); + if (artists != null && artists.Count > 0) + { + artist = artists[0].ToString(); // Get the first artist from the array + } + } + else + { + // If it's video, set artist to Unknown Artist + artist = "Unknown Artist"; + } + + // Return the extracted data wrapped in the PlayingInfo object + return new PlayingInfo + { + Title = nowPlaying["Name"]?.ToString(), + Artist = artist, + AlbumCover = albumCover, + Season = nowPlaying["ParentIndexNumber"]?.ToString() ?? "N/A", + Episode = nowPlaying["IndexNumber"]?.ToString() ?? "N/A", + Progress = TimeSpan.FromTicks((long)session["PlayState"]["PositionTicks"]), + Duration = TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]), + IsMusic = isMusic, + NowPlayingItem = nowPlaying // Add the raw NowPlayingItem JToken here + }; + } + } + } + catch (Exception ex) + { + Console.WriteLine($"Error fetching Jellyfin data: {ex.Message}"); + } + + return null; + } + + private static async Task GetAlbumCover(JToken nowPlaying) + { + // Try to get the album cover from the "MediaStreams" (audio specific) + var mediaStreams = nowPlaying["MediaStreams"]?.ToObject(); + if (mediaStreams != null) + { + // Look for the stream that indicates an image (usually "mjpeg" codec) + foreach (var stream in mediaStreams) + { + if (stream["Codec"]?.ToString() == "mjpeg" && stream["Type"]?.ToString() == "EmbeddedImage") + { + // Check for the image tag and try to form the image URL + string imageTag = nowPlaying["ParentLogoImageTag"]?.ToString(); + if (!string.IsNullOrWhiteSpace(imageTag)) + { + string itemId = nowPlaying["Id"]?.ToString(); + if (!string.IsNullOrWhiteSpace(itemId)) + { + // Construct the URL for the album cover + return $"{_config.JellyfinBaseUrl}/emby/Items/{itemId}/Images/Primary?tag={imageTag}&api_key={_config.JellyfinApiKey}"; + } + } + } + } + } + + // Fallback: Check if there is an explicit album cover URL in the item + string albumArtUrl = nowPlaying["ImageTags"]?["Primary"]?.ToString(); + if (!string.IsNullOrWhiteSpace(albumArtUrl)) + { + return $"{_config.JellyfinBaseUrl}/emby/Items/{nowPlaying["Id"]}/Images/Primary?tag={albumArtUrl}&api_key={_config.JellyfinApiKey}"; + } + + // Fallback to a default cover if no album art is found + return "default_cover"; + } +} + + + class Config +{ + public string JellyfinBaseUrl { get; set; } + public string JellyfinApiKey { get; set; } + public string JellyfinUserId { get; set; } +} + +class PlayingInfo +{ + public string Title { get; set; } + public string Artist { get; set; } + public string AlbumCover { get; set; } + public string Season { get; set; } + public string Episode { get; set; } + public TimeSpan Progress { get; set; } + public TimeSpan Duration { get; set; } + public bool IsMusic { get; set; } + public JToken NowPlayingItem { get; set; } +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/DiscordRPC.dll b/JellyfinDiscordRPC/bin/Debug/net9.0/DiscordRPC.dll new file mode 100644 index 0000000..ddd6d93 Binary files /dev/null and b/JellyfinDiscordRPC/bin/Debug/net9.0/DiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.deps.json b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.deps.json new file mode 100644 index 0000000..dcd4864 --- /dev/null +++ b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.deps.json @@ -0,0 +1,106 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": { + "JellyfinDiscordRPC/1.0.0": { + "dependencies": { + "DiscordRichPresence": "1.2.1.24" + }, + "runtime": { + "JellyfinDiscordRPC.dll": {} + } + }, + "DiscordRichPresence/1.2.1.24": { + "dependencies": { + "Microsoft.Win32.Registry": "4.5.0", + "Newtonsoft.Json": "13.0.1" + }, + "runtime": { + "lib/netstandard2.0/DiscordRPC.dll": { + "assemblyVersion": "1.2.1.24", + "fileVersion": "1.2.1.24" + } + } + }, + "Microsoft.NETCore.Platforms/2.0.0": {}, + "Microsoft.Win32.Registry/4.5.0": { + "dependencies": { + "System.Security.AccessControl": "4.5.0", + "System.Security.Principal.Windows": "4.5.0" + } + }, + "Newtonsoft.Json/13.0.1": { + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.1.25517" + } + } + }, + "System.Security.AccessControl/4.5.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "2.0.0", + "System.Security.Principal.Windows": "4.5.0" + } + }, + "System.Security.Principal.Windows/4.5.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "2.0.0" + } + } + } + }, + "libraries": { + "JellyfinDiscordRPC/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "DiscordRichPresence/1.2.1.24": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DVmmlFQ/oQmidNRmZhPzYjC7ryaT4beWcKaMKPVw6fhOzM/HOoY6NOL4KMOYEnD4M7SNsODjleYimvUNIZcbiA==", + "path": "discordrichpresence/1.2.1.24", + "hashPath": "discordrichpresence.1.2.1.24.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/2.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", + "path": "microsoft.netcore.platforms/2.0.0", + "hashPath": "microsoft.netcore.platforms.2.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+FWlwd//+Tt56316p00hVePBCouXyEzT86Jb3+AuRotTND0IYn0OO3obs1gnQEs/txEnt+rF2JBGLItTG+Be6A==", + "path": "microsoft.win32.registry/4.5.0", + "hashPath": "microsoft.win32.registry.4.5.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "path": "newtonsoft.json/13.0.1", + "hashPath": "newtonsoft.json.13.0.1.nupkg.sha512" + }, + "System.Security.AccessControl/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vW8Eoq0TMyz5vAG/6ce483x/CP83fgm4SJe5P8Tb1tZaobcvPrbMEL7rhH1DRdrYbbb6F0vq3OlzmK0Pkwks5A==", + "path": "system.security.accesscontrol/4.5.0", + "hashPath": "system.security.accesscontrol.4.5.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-U77HfRXlZlOeIXd//Yoj6Jnk8AXlbeisf1oq1os+hxOGVnuG+lGSfGqTwTZBoORFF6j/0q7HXIl8cqwQ9aUGqQ==", + "path": "system.security.principal.windows/4.5.0", + "hashPath": "system.security.principal.windows.4.5.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.dll new file mode 100644 index 0000000..4aa9e69 Binary files /dev/null and b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.exe b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.exe new file mode 100644 index 0000000..2bea794 Binary files /dev/null and b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.exe differ diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.pdb b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.pdb new file mode 100644 index 0000000..f52e82f Binary files /dev/null and b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.pdb differ diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.runtimeconfig.json b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.runtimeconfig.json new file mode 100644 index 0000000..b19c3c8 --- /dev/null +++ b/JellyfinDiscordRPC/bin/Debug/net9.0/JellyfinDiscordRPC.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net9.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "9.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/Newtonsoft.Json.dll b/JellyfinDiscordRPC/bin/Debug/net9.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..1ffeabe Binary files /dev/null and b/JellyfinDiscordRPC/bin/Debug/net9.0/Newtonsoft.Json.dll differ diff --git a/JellyfinDiscordRPC/bin/Debug/net9.0/config.json b/JellyfinDiscordRPC/bin/Debug/net9.0/config.json new file mode 100644 index 0000000..edfa9bc --- /dev/null +++ b/JellyfinDiscordRPC/bin/Debug/net9.0/config.json @@ -0,0 +1,5 @@ +{ + "JellyfinBaseUrl": "https://jellyfin.diamondcreeper.org", + "JellyfinApiKey": "9b868f61663140d09406b50538c91b8a", + "JellyfinUserId": "b4f8289c703c48f6aa827655ca209681" +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/JellyfinDiscordRPC/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..feda5e9 --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/Jellyfin.FC5C5640.Up2Date b/JellyfinDiscordRPC/obj/Debug/net9.0/Jellyfin.FC5C5640.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs new file mode 100644 index 0000000..342e527 --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("JellyfinDiscordRPC")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("JellyfinDiscordRPC")] +[assembly: System.Reflection.AssemblyTitleAttribute("JellyfinDiscordRPC")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache new file mode 100644 index 0000000..537feb2 --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +2e189d0dffba66b81eb9b145504dcd231f91e1098305af08ba9c25f348b380fa diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GeneratedMSBuildEditorConfig.editorconfig b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..84a1ae9 --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,15 @@ +is_global = true +build_property.TargetFramework = net9.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = JellyfinDiscordRPC +build_property.ProjectDir = C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GlobalUsings.g.cs b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.assets.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.assets.cache new file mode 100644 index 0000000..15fd97c Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.assets.cache differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.AssemblyReference.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.AssemblyReference.cache new file mode 100644 index 0000000..2afdcd7 Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.AssemblyReference.cache differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.BuildWithSkipAnalyzers b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.CoreCompileInputs.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..5862ecb --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +57a98406b8b6e760a58a0c05fa99c9d2732fa71c521fe942926b71522a448777 diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.FileListAbsolute.txt b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4500072 --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.csproj.FileListAbsolute.txt @@ -0,0 +1,18 @@ +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.csproj.AssemblyReference.cache +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.AssemblyInfoInputs.cache +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.AssemblyInfo.cs +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.csproj.CoreCompileInputs.cache +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\JellyfinDiscordRPC.exe +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\JellyfinDiscordRPC.deps.json +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\JellyfinDiscordRPC.runtimeconfig.json +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\JellyfinDiscordRPC.dll +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\JellyfinDiscordRPC.pdb +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\DiscordRPC.dll +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\bin\Debug\net9.0\Newtonsoft.Json.dll +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\Jellyfin.FC5C5640.Up2Date +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.dll +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\refint\JellyfinDiscordRPC.dll +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.pdb +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\JellyfinDiscordRPC.genruntimeconfig.cache +C:\Users\joshua\source\repos\JellyfinDiscordRPC\JellyfinDiscordRPC\obj\Debug\net9.0\ref\JellyfinDiscordRPC.dll diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll new file mode 100644 index 0000000..4aa9e69 Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.genruntimeconfig.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.genruntimeconfig.cache new file mode 100644 index 0000000..60c60ee --- /dev/null +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.genruntimeconfig.cache @@ -0,0 +1 @@ +230f9294a7604eecab82305c77c4c9089de4c82cb2749e33c24c53a44ff224ba diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb new file mode 100644 index 0000000..f52e82f Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe b/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe new file mode 100644 index 0000000..2bea794 Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll new file mode 100644 index 0000000..4bbfacc Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll new file mode 100644 index 0000000..4bbfacc Binary files /dev/null and b/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.dgspec.json b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.dgspec.json new file mode 100644 index 0000000..d7aef2e --- /dev/null +++ b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.dgspec.json @@ -0,0 +1,79 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj": {} + }, + "projects": { + "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", + "projectName": "JellyfinDiscordRPC", + "projectPath": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", + "packagesPath": "C:\\Users\\joshua\\.nuget\\packages\\", + "outputPath": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\joshua\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net9.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "DiscordRichPresence": { + "target": "Package", + "version": "[1.2.1.24, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.props b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.props new file mode 100644 index 0000000..090d1f4 --- /dev/null +++ b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\joshua\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.12.1 + + + + + + \ No newline at end of file diff --git a/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.targets b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/JellyfinDiscordRPC/obj/JellyfinDiscordRPC.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/JellyfinDiscordRPC/obj/project.assets.json b/JellyfinDiscordRPC/obj/project.assets.json new file mode 100644 index 0000000..5061b74 --- /dev/null +++ b/JellyfinDiscordRPC/obj/project.assets.json @@ -0,0 +1,384 @@ +{ + "version": 3, + "targets": { + "net9.0": { + "DiscordRichPresence/1.2.1.24": { + "type": "package", + "dependencies": { + "Microsoft.Win32.Registry": "4.5.0", + "Newtonsoft.Json": "13.0.1" + }, + "compile": { + "lib/netstandard2.0/DiscordRPC.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/DiscordRPC.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.NETCore.Platforms/2.0.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "Microsoft.Win32.Registry/4.5.0": { + "type": "package", + "dependencies": { + "System.Security.AccessControl": "4.5.0", + "System.Security.Principal.Windows": "4.5.0" + }, + "compile": { + "ref/netstandard2.0/Microsoft.Win32.Registry.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.Registry.dll": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "compile": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + }, + "System.Security.AccessControl/4.5.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "2.0.0", + "System.Security.Principal.Windows": "4.5.0" + }, + "compile": { + "ref/netstandard2.0/System.Security.AccessControl.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.AccessControl.dll": {} + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Security.Principal.Windows/4.5.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "2.0.0" + }, + "compile": { + "ref/netstandard2.0/System.Security.Principal.Windows.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.Principal.Windows.dll": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "win" + } + } + } + } + }, + "libraries": { + "DiscordRichPresence/1.2.1.24": { + "sha512": "DVmmlFQ/oQmidNRmZhPzYjC7ryaT4beWcKaMKPVw6fhOzM/HOoY6NOL4KMOYEnD4M7SNsODjleYimvUNIZcbiA==", + "type": "package", + "path": "discordrichpresence/1.2.1.24", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "discordrichpresence.1.2.1.24.nupkg.sha512", + "discordrichpresence.nuspec", + "lib/net45/DiscordRPC.dll", + "lib/net45/DiscordRPC.pdb", + "lib/net45/DiscordRPC.xml", + "lib/netstandard2.0/DiscordRPC.dll", + "lib/netstandard2.0/DiscordRPC.pdb", + "lib/netstandard2.0/DiscordRPC.xml" + ] + }, + "Microsoft.NETCore.Platforms/2.0.0": { + "sha512": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==", + "type": "package", + "path": "microsoft.netcore.platforms/2.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.2.0.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.Win32.Registry/4.5.0": { + "sha512": "+FWlwd//+Tt56316p00hVePBCouXyEzT86Jb3+AuRotTND0IYn0OO3obs1gnQEs/txEnt+rF2JBGLItTG+Be6A==", + "type": "package", + "path": "microsoft.win32.registry/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/Microsoft.Win32.Registry.dll", + "lib/net461/Microsoft.Win32.Registry.dll", + "lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "microsoft.win32.registry.4.5.0.nupkg.sha512", + "microsoft.win32.registry.nuspec", + "ref/net46/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/Microsoft.Win32.Registry.dll", + "ref/netstandard1.3/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/de/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/es/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/it/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml", + "ref/netstandard2.0/Microsoft.Win32.Registry.dll", + "ref/netstandard2.0/Microsoft.Win32.Registry.xml", + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net46/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net461/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Newtonsoft.Json/13.0.1": { + "sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "type": "package", + "path": "newtonsoft.json/13.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.1.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "System.Security.AccessControl/4.5.0": { + "sha512": "vW8Eoq0TMyz5vAG/6ce483x/CP83fgm4SJe5P8Tb1tZaobcvPrbMEL7rhH1DRdrYbbb6F0vq3OlzmK0Pkwks5A==", + "type": "package", + "path": "system.security.accesscontrol/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.AccessControl.dll", + "lib/net461/System.Security.AccessControl.dll", + "lib/netstandard1.3/System.Security.AccessControl.dll", + "lib/netstandard2.0/System.Security.AccessControl.dll", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.xml", + "ref/netstandard1.3/System.Security.AccessControl.dll", + "ref/netstandard1.3/System.Security.AccessControl.xml", + "ref/netstandard1.3/de/System.Security.AccessControl.xml", + "ref/netstandard1.3/es/System.Security.AccessControl.xml", + "ref/netstandard1.3/fr/System.Security.AccessControl.xml", + "ref/netstandard1.3/it/System.Security.AccessControl.xml", + "ref/netstandard1.3/ja/System.Security.AccessControl.xml", + "ref/netstandard1.3/ko/System.Security.AccessControl.xml", + "ref/netstandard1.3/ru/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml", + "ref/netstandard2.0/System.Security.AccessControl.dll", + "ref/netstandard2.0/System.Security.AccessControl.xml", + "ref/uap10.0.16299/_._", + "runtimes/win/lib/net46/System.Security.AccessControl.dll", + "runtimes/win/lib/net461/System.Security.AccessControl.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll", + "runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.accesscontrol.4.5.0.nupkg.sha512", + "system.security.accesscontrol.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Principal.Windows/4.5.0": { + "sha512": "U77HfRXlZlOeIXd//Yoj6Jnk8AXlbeisf1oq1os+hxOGVnuG+lGSfGqTwTZBoORFF6j/0q7HXIl8cqwQ9aUGqQ==", + "type": "package", + "path": "system.security.principal.windows/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.Principal.Windows.dll", + "lib/net461/System.Security.Principal.Windows.dll", + "lib/netstandard1.3/System.Security.Principal.Windows.dll", + "lib/netstandard2.0/System.Security.Principal.Windows.dll", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/System.Security.Principal.Windows.dll", + "ref/netstandard1.3/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/de/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/es/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/fr/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/it/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ja/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ko/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ru/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml", + "ref/netstandard2.0/System.Security.Principal.Windows.dll", + "ref/netstandard2.0/System.Security.Principal.Windows.xml", + "ref/uap10.0.16299/_._", + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net46/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net461/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.principal.windows.4.5.0.nupkg.sha512", + "system.security.principal.windows.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net9.0": [ + "DiscordRichPresence >= 1.2.1.24" + ] + }, + "packageFolders": { + "C:\\Users\\joshua\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", + "projectName": "JellyfinDiscordRPC", + "projectPath": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", + "packagesPath": "C:\\Users\\joshua\\.nuget\\packages\\", + "outputPath": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\joshua\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net9.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "9.0.100" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "DiscordRichPresence": { + "target": "Package", + "version": "[1.2.1.24, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/JellyfinDiscordRPC/obj/project.nuget.cache b/JellyfinDiscordRPC/obj/project.nuget.cache new file mode 100644 index 0000000..81734d5 --- /dev/null +++ b/JellyfinDiscordRPC/obj/project.nuget.cache @@ -0,0 +1,15 @@ +{ + "version": 2, + "dgSpecHash": "1MP9+VdKfz0=", + "success": true, + "projectFilePath": "C:\\Users\\joshua\\source\\repos\\JellyfinDiscordRPC\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", + "expectedPackageFiles": [ + "C:\\Users\\joshua\\.nuget\\packages\\discordrichpresence\\1.2.1.24\\discordrichpresence.1.2.1.24.nupkg.sha512", + "C:\\Users\\joshua\\.nuget\\packages\\microsoft.netcore.platforms\\2.0.0\\microsoft.netcore.platforms.2.0.0.nupkg.sha512", + "C:\\Users\\joshua\\.nuget\\packages\\microsoft.win32.registry\\4.5.0\\microsoft.win32.registry.4.5.0.nupkg.sha512", + "C:\\Users\\joshua\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512", + "C:\\Users\\joshua\\.nuget\\packages\\system.security.accesscontrol\\4.5.0\\system.security.accesscontrol.4.5.0.nupkg.sha512", + "C:\\Users\\joshua\\.nuget\\packages\\system.security.principal.windows\\4.5.0\\system.security.principal.windows.4.5.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file