From b1cbe1988d0c4447e313aec6f9923a92750587c6 Mon Sep 17 00:00:00 2001 From: Diamond Creeper Date: Sat, 30 Nov 2024 22:51:14 +1300 Subject: [PATCH] Fix displaying movie status Removed showing "Season N/A, Episode N/A" when watching a movie --- .../5c63eb47-878c-4bec-9310-d060b026e5f3.vsidx | Bin 19567 -> 0 bytes .../7446f8db-1993-4f61-8cd6-bbe9de0002d2.vsidx | Bin 0 -> 19825 bytes .vs/JellyfinDiscordRPC/v17/.futdcache.v2 | Bin 796 -> 796 bytes .../v17/DocumentLayout.backup.json | 2 +- .vs/JellyfinDiscordRPC/v17/DocumentLayout.json | 2 +- JellyfinDiscordRPC/Program.cs | 10 +++++++--- 6 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 .vs/JellyfinDiscordRPC/FileContentIndex/5c63eb47-878c-4bec-9310-d060b026e5f3.vsidx create mode 100644 .vs/JellyfinDiscordRPC/FileContentIndex/7446f8db-1993-4f61-8cd6-bbe9de0002d2.vsidx diff --git a/.vs/JellyfinDiscordRPC/FileContentIndex/5c63eb47-878c-4bec-9310-d060b026e5f3.vsidx b/.vs/JellyfinDiscordRPC/FileContentIndex/5c63eb47-878c-4bec-9310-d060b026e5f3.vsidx deleted file mode 100644 index fa640536aa06eec060ab1396bcbd4be273b53010..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19567 zcmb`OXMmQ)xrXPp_ueb6sJn_w5fxcncG-nxVVhfES3pp#SWplfB8wFZ_Fhr3Yt+~i z6*R^YOVrp)G`84Hjv7lW=f0o0zU0sOdF121X6BoD=9y>8JMX8~)i#%1iYlkhJaoqNX(t}J;FV?S-Yov#dTN_7eZLud z9xU^WqlDs!*WXxKJuS6bE?HVA(gsCZDn9dzG(4p>ic}P7VUc?ErL;(^MB%nd#8)aD zU8FumQpA*=SGY-e)Xa92U8YF&QC?G|MbT=7C|oWY{v6$v6-hnHrs~L!n%o@aDp6mu zFFX1yD3V$!F|kN$m@97-^_MQvTP5dJLDu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YI{2L^T{-sj(^b diff --git a/.vs/JellyfinDiscordRPC/FileContentIndex/7446f8db-1993-4f61-8cd6-bbe9de0002d2.vsidx b/.vs/JellyfinDiscordRPC/FileContentIndex/7446f8db-1993-4f61-8cd6-bbe9de0002d2.vsidx new file mode 100644 index 0000000000000000000000000000000000000000..b5daebf71a18c9238842e171a8859ff380fd75ae GIT binary patch literal 19825 zcmb`OcVL#)*~ZVKxN(nG>xhV&D29NDNH8QMAqixeAw)oG;{vKS$i#9Fmw7O3LA1+S7-hIQB*l|(Sn8Z=bnDtikAn~zh3;m_0+j= z{*en0ohS2*ql9~RUGeL|>S^RAxnymjNM9{dS&@boX?c-8O=+_t6-6p9k^-W{`bBDu z!t0B)rtr7=JXNH%iZl=v)Lhk0jheEfk1Es_Y12pyD$?vo3`9r$(eR0=Cd+EIJj}|P zTFKPe@l|t?u8*3zyH|>&hU#T{k-jLBY^r=!B&v$^Ml>ml3bLj|u3Q@xl)b!2>&CYl zqZ+EdzEb%>k-DN}GY#-RpC~V)+B#8f^YBFV`@>tgt+aetRHWyM)Dza$lwu{D8pZO+ z%C{dxLcOSox|VJiL(o^Bs%CPD;#`%iwV~@J2X;cZp+dD%U-?rMsfZHQRJpUIl3Y&7 zf4+)u2cr3ZD$BS^zMR$AT^MdOhYvr>_ERcLo}lF#MajLdMDsx@DLDPA79aN>BX#B6 zY4W%7KYz7W@(?ud`c|XvkB|;c=_^HA8Oy1xNR9FB`lUb(s7^{-7wMxSX$mxhZxv~E zk@k)zpM{6##n8@(CbGF<__pFpq1&cNLt?PmvDb_AOp)eAO-0}bMN-@MV+D>0|G$Vh z$kiK*bW)K<6lriQY&p{qK5OylTRAC%wK0`t(Vfg{4dsrx)cK@H%j82C%-_n099A6Um=f~;g$S2s&Aq5qH1xbg$;Pn-_KKzZVv&}Vf}n<~ zugK(t2CKL!wpDSS%#HP+ew)L+p+)+jNM%L3BnG%)k)94$)m**Qg-uzLC#o|L{VFDM zQd6mNb)j*+7A1LIdZb9Z#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9c$XT=HX^~zg^|@qqD?jzEu9I)WzB@YY@-F#n^?vBm40gz(BV)T(xANRr z-LIc$R+sw@XLWtw+JL*3TT z8LMweEt+TVTi5rw}k^tgh)XT3yF}I|@$wUCD0(_Mum?vieQbYsNZ5>Xl=i z6zX{URJV3ZJvwV!sN4D+c6@!~^IL+|Ik&MNjzPX1`X=kN+j>7(ZPR->-$$%2$#0K7 zukv%->YIZ1gVpu@r1C7*Nd2s^jtyNV^%>@o=XL6_cqQgoSnZo*W%b;8Hmol9n6mG= zR_PY&72>;WR*%~EORK%|s_;r`mQ_d6Pcom8e(UpZMOMFgT0L&>GQSgh#C|XEQ`{ce zkNo!I8?i0;eZ}e-Xw*zu-8P>o?$zmhgU&Z!pAf!bS#8siw0hsULc5jMhfhJz zj`y0?J(f-&_ggv%Y}>oaYMb6qR>#Ua$vQ1`y3{tTuIUwGbzlC?$LcxqsppmC-`V}! zqtCwl+lgnxPd96e)O*c3PU^d!)fRm_vzC7MarzLI_;!$=;eJlkC|&wh!oNv*L{{7J z{lMyxd0$xlt#_oyn%6~+M~}_}uOh3{{%s(iFMjGYD(z>lf7{C16VIW1`nbdq^fS#R zepdJwWS4s${KnfR_3x}x<&x&WnZyM#H<3hXQPE!}!651M?@1Xg{(-|eX zrq_bkhqYJg->v<->hL%h8kO_E*YI!IJyQQ-Gb8HyF596w^t}5$r%~#A!_rs}OO>Ch zv~K|ZH!iJG`|RI&>%;Gg&}ymgz`ntE$G@Ah=wDaG|D)}+|DQJhQ?Y60O(Qe^7eJ+` AlmGw# literal 0 HcmV?d00001 diff --git a/.vs/JellyfinDiscordRPC/v17/.futdcache.v2 b/.vs/JellyfinDiscordRPC/v17/.futdcache.v2 index 4a8e466f4e4b01254d6a6ccdcdfb7a1469049a4c..60e35d4530dc86c9d19214f6b4b687088a45fa75 100644 GIT binary patch delta 16 XcmbQkHivD42s1~DhbEhf;9U*?B{KvG delta 16 YcmbQkHivD42s6ixtTTU=1n+VH05V<%Hvj+t diff --git a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json index f7a4958..7bd1f1e 100644 --- a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json +++ b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.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": "AgIAACcAAAAAAAAAAADwv0UAAAAnAAAAAAAAAA==", + "ViewState": "AgIAAEEAAAAAAAAAAAAswGQAAAAFAAAAAAAAAA==", "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 5c195c1..a2d9884 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": "AgIAADkAAAAAAAAAAADwv0IAAAA/AAAAAAAAAA==", + "ViewState": "AgIAADUAAAAAAAAAAAAswGQAAAAFAAAAAAAAAA==", "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 13d2b02..f13da8a 100644 --- a/JellyfinDiscordRPC/Program.cs +++ b/JellyfinDiscordRPC/Program.cs @@ -56,18 +56,22 @@ class Program string details = playingInfo.IsMusic ? $"{playingInfo.Title}" // Show song name - : $"Watching: {nowPlaying["SeriesName"]?.ToString() ?? "Unknown Series"} - {playingInfo.Title}"; // Show series and episode name + : nowPlaying["SeriesName"] != null + ? $"Watching: {nowPlaying["SeriesName"]} - {playingInfo.Title}" // Show series and episode name + : $"Watching: {playingInfo.Title}"; // For movies, show only the title string state = playingInfo.IsMusic ? $"{playingInfo.Artist}" // Show artist name - : $"Season {playingInfo.Season}, Episode {playingInfo.Episode}"; + : nowPlaying["SeriesName"] != null + ? $"Season {playingInfo.Season}, Episode {playingInfo.Episode}" // Show season and episode for series + : ""; // Leave state empty for movies Console.WriteLine($"Updating presence with details: {details}, state: {state}"); _discordClient.SetPresence(new RichPresence { Details = details, - State = state, + State = string.IsNullOrWhiteSpace(state) ? null : state, // Avoid sending empty state to Discord Timestamps = new Timestamps { Start = DateTime.UtcNow - playingInfo.Progress,