From 0775ab2a434cd31c02c3682be156d04d502e9cb2 Mon Sep 17 00:00:00 2001 From: Diamond Creeper Date: Sat, 30 Nov 2024 22:07:43 +1300 Subject: [PATCH] Remove unnecessary code --- ...13d9318c-07f9-45cb-a5cc-2d43795fca64.vsidx | Bin 21166 -> 0 bytes ...8fd518a7-0ec4-470d-a16d-7571b1300882.vsidx | Bin 0 -> 19723 bytes .vs/JellyfinDiscordRPC/v17/.futdcache.v2 | Bin 796 -> 796 bytes .../v17/DocumentLayout.backup.json | 18 +------ .../v17/DocumentLayout.json | 2 +- JellyfinDiscordRPC/Program.cs | 48 ------------------ 6 files changed, 2 insertions(+), 66 deletions(-) delete mode 100644 .vs/JellyfinDiscordRPC/FileContentIndex/13d9318c-07f9-45cb-a5cc-2d43795fca64.vsidx create mode 100644 .vs/JellyfinDiscordRPC/FileContentIndex/8fd518a7-0ec4-470d-a16d-7571b1300882.vsidx diff --git a/.vs/JellyfinDiscordRPC/FileContentIndex/13d9318c-07f9-45cb-a5cc-2d43795fca64.vsidx b/.vs/JellyfinDiscordRPC/FileContentIndex/13d9318c-07f9-45cb-a5cc-2d43795fca64.vsidx deleted file mode 100644 index 69930a65f0954510689ca52e7aea57389272068d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21166 zcmb`OcVL#)*~ZVK)?HU^>o!KzL?H|jkuVaH5CU0d01*&GaUhC;o-3w;VUodUXyajtN+-+L@yxkY>H+%ns7EEj0=b-TmXHAu9h0Ka#3;UvR+ud2^0Ae{Yqp{Bw+pV2bRuqb~L6KG{eU=nyOiJq%sVLIYBK7IHv`A}4;{X?@WK&hk0o7X;WmTO%r-lUurWNVic%-t*vuhNWk>^WITR)7;j%rkXMeB>C z8r6JNv|5qIMnUD5eWfU8Uy(*d=5^HkA3l*m7G8)(DcicyCFN*(=SvHmOzoTk9iQ$HZTb|q(_LW|iXfn+yx%YEfi_AY#Ta+z6 z)E+G*v$`}g%nVcc(F%z^*EG=6yVUtji>5!1(f)G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yr#F<2%N diff --git a/.vs/JellyfinDiscordRPC/FileContentIndex/8fd518a7-0ec4-470d-a16d-7571b1300882.vsidx b/.vs/JellyfinDiscordRPC/FileContentIndex/8fd518a7-0ec4-470d-a16d-7571b1300882.vsidx new file mode 100644 index 0000000000000000000000000000000000000000..0a7f98a49bc353ae82f4b4b6d0663395fe3cd6d9 GIT binary patch literal 19723 zcmb`OXJC~@+J@)YyRN;95j9Z^MN}j)BqSjO(oBIwKv1k$P!JnNf@{Ivds$TM*mc$2 zRdDUD1y|SJ*0uMxuCDF7uV?PF`~CQSesZ|4nK?7hJo8L>=RIm|UBhoyNa=&76#u-O zk*0~Y!zXsl+hu|VZ8zhPsT0Szur8Oix7Ge1Mdedx9x`M4wBwIB{l#T!Un~5-_0%?F`o1&v zI7sF_jw0S&vS8=s)l>#{A+29XOT}kiA&p3BjY29E()>c|)0fghS|tj%Q6j!l z;pjr@S4fJO(sK(mDUF)hj$809Ka zcj`jT^*Oze)Jlnoh4gc=@`h1==|XzF=)Wq+ntaHWWv#A|)P)A9wCs-zRefbut*?-V z<}NhA|9p!5zEMbRQSCR;V>T=M8igE_g|(vV&iGa#l6`$8o9b>}WaZn$NYoc?s-b+- z5cJgug)U)AaUPTiW_9TDi4wVrwTOImbRkt2g(z7jlx(pim%AjF7r*T*Ml4sBO_lto zEnP&9O301T;lpELU*-K0A!Rs4_tuN%)hR8ju|!){qxTpol@-!3I3-Nwua-(gOp~r} z=cY6z92l9>da-ikOj9BCD1$+e+rnF8W%_$_!LjOYgsgOP|r0ol7C8fj3 zAh!c+{7=kToS#A^Rzt{bDaDR#T$<`fyc4P|doSaSb7FrLJ&EYd|Ghw7IZ8 zF<1pkRZ*D-5X}r*OX{Dr;v0|Xc9H8@=$Xs`!c1FK3GVP#_Z>S^cB)8@fFjN7^CJw zZpgx05%cN@o!VxXevNVsuq~=BA4^CZlM03OR0LsRe5Ho!ZWXC^M7TG%kajB&C}rox zr#04gwyc`!QD?MFX@LKVwJP^M4r^NBD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TQ57Ik(XcDWgN1LutzyOH8@J@dkjBqYZu#gM8cLmP(qotY$R(ie+|gzHy+G z9Vg}K!I@eTIy|&j$|=Rj^QvSlth*cw6yJyy%B(UQDCLYP`<`nR zZ>6ja?xtB8HFrl8ukvk`81j_j{Ns&|-+@rxDp78(yv_5b%P4Eqjwdv};6Z+y;hvj+ z|0+`n=QdgqN?YCoP}V*kp!s&3Z?&8U+@4S@6GN2xd3_T@p1@ch86_j%4Y(u{=~Xs?vFO_Xxp z-B7-rpkH`8bVuZ#!6}Eu3Ms1>~yp=6wm9!Chv=+X_w!$nPt-S z!kqx6m;5AP-bvF7?;>cgl(Q1$TW-@Ry>O>SX~C_TbzHn7lcq18=qTQ@PEf{z2gP?M z&U2nXJyOni6yI1CD6Lo%oO#R$I}4@9;(0^A#T}1r_7I9qZW<`@VfUaDLMKYGfl@R7 zvcuXSO^^JNgEBjubgUtMH|G~cYICpR#>T2*Hh2$58>PJKqm@!_a42@UbD_oGbVyHD z3D5uhtmfHJrF8LE27YN`bSQSX2cV3SeSz{Vdy#SHb&+G!sq=tUgpy_rpp-C2;}qLQ zJ!x2bXlFcu+NIpr$LlX8oNqjhnxveRyv?>M2HgL;}T(dLMT~dCT=9klfaXQp1$G^GY*Xm9wzr*BzQ^IYv zRWr%#^CnX-<*qPWCG}GF6#q7*Ns6ERhFcrHmW5VGx!-ax?}&fzgy>&I#s5!Dn*aZd Nf7V+)bLx=H{{hmqb4&mL literal 0 HcmV?d00001 diff --git a/.vs/JellyfinDiscordRPC/v17/.futdcache.v2 b/.vs/JellyfinDiscordRPC/v17/.futdcache.v2 index 1eb3ec0dcbeb88937f1099d094a44424b9504e7e..f86f46136625d7cfad5af17bddba3547673a6fad 100644 GIT binary patch delta 16 XcmbQkHivD42s6i@6P7V@f_FIpFKGpV delta 16 XcmbQkHivD42r~yq`s$z3f_FIpD$@lx diff --git a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json index fd01b96..7f04023 100644 --- a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json +++ b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json @@ -2,10 +2,6 @@ "Version": 1, "WorkspaceRootPath": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\", "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\joshua\\documents\\github\\jellyfin-discord-rpc\\jellyfindiscordrpc\\jellyfindiscordrpc.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|", - "RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\jellyfindiscordrpc.csproj||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" - }, { "AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\joshua\\documents\\github\\jellyfin-discord-rpc\\jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -23,24 +19,12 @@ { "$type": "Document", "DocumentIndex": 0, - "Title": "JellyfinDiscordRPC", - "DocumentMoniker": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", - "RelativeDocumentMoniker": "JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", - "ToolTip": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", - "RelativeToolTip": "JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", - "WhenOpened": "2024-11-30T08:49:04.842Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 1, "Title": "Program.cs", "DocumentMoniker": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs", "RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs", "ToolTip": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs", "RelativeToolTip": "JellyfinDiscordRPC\\Program.cs", - "ViewState": "AgIAANsAAAAAAAAAAAAAwBcBAAAmAAAAAAAAAA==", + "ViewState": "AgIAAAcAAAAAAAAAAAAAABQAAAApAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-30T05:30:39.706Z", "EditorCaption": "" diff --git a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json index 22c4144..7f04023 100644 --- a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json +++ b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json @@ -24,7 +24,7 @@ "RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs", "ToolTip": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs", "RelativeToolTip": "JellyfinDiscordRPC\\Program.cs", - "ViewState": "AgIAAA4BAAAAAAAAAAAswBcBAAAmAAAAAAAAAA==", + "ViewState": "AgIAAAcAAAAAAAAAAAAAABQAAAApAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-30T05:30:39.706Z", "EditorCaption": "" diff --git a/JellyfinDiscordRPC/Program.cs b/JellyfinDiscordRPC/Program.cs index e0aea60..4f710ac 100644 --- a/JellyfinDiscordRPC/Program.cs +++ b/JellyfinDiscordRPC/Program.cs @@ -32,58 +32,10 @@ class Program // Poll Jellyfin API for currently playing media var updateTask = UpdateRichPresence(); // Start the rich presence update task - // Command loop for toggling screen sharing - while (true) - { - var command = Console.ReadLine()?.ToLower(); - if (command == "toggle") - { - ToggleScreenSharing(); - } - else if (command == "exit") - { - break; // Exit the loop and end the program - } - else - { - Console.WriteLine("Invalid command. Type 'toggle' to toggle screen sharing or 'exit' to quit."); - } - } await updateTask; // Wait for the rich presence update task to finish } - private static void ToggleScreenSharing() - { - isScreenSharing = !isScreenSharing; // Toggle the screen sharing state - Console.WriteLine(isScreenSharing ? "Screen sharing enabled." : "Screen sharing disabled."); - UpdateDiscordPresence(); // Manually update Discord presence when toggling screen sharing - } - - private static void UpdateDiscordPresence() - { - // Log the current status of screen sharing - Console.WriteLine($"Updating Discord Presence. Screen Sharing: {isScreenSharing}"); - - // Ensure we immediately update the Discord presence when toggling screen sharing - _discordClient.SetPresence(new RichPresence - { - Details = isScreenSharing ? "Sharing screen" : "Watching media", - State = isScreenSharing ? "Screen sharing is active" : "Not sharing screen", - Timestamps = new Timestamps - { - Start = DateTime.UtcNow - }, - Assets = new Assets - { - LargeImageKey = isScreenSharing ? "screen_sharing" : "media_playing", - LargeImageText = isScreenSharing ? "Screen sharing on Discord" : "Watching media on Jellyfin" - } - }); - - Console.WriteLine("Presence updated successfully."); - } - private static async Task UpdateRichPresence() { while (true)