Radiicall / jellyfin-rpc

Displays the content you're currently watching on Discord!
GNU General Public License v3.0
214 stars 13 forks source link

Trying to remove one button from the RPC removes them all #144

Closed lostttt1 closed 1 week ago

lostttt1 commented 3 weeks ago

Is there an existing issue for this?

Have you ran the program with debug logging?

What went wrong?

I want to remove one of these buttons, specifically "Shoko Episode" As it leads to a web-ui that is locally hosted so its totally useless to have it display on my profile image image

so I decided to set my config to this to hopefully include only the first button (anidb) and omit the other button, Shoko.

"buttons": [
      {
        "name": "dynamic",
        "url": "dynamic"
      }
    ],

Having one dynamic button in the json config lead to no buttons being displayed instead of only the first button. How do I remove "Shoko Episode" in the config?

Terminal output

No response

Jellyfin-RPC version

v1.2.2

What OS are you using?

Windows 11

What version is the Jellyfin server on?

10.9.9

Anything else?

No response

Radiicall commented 3 weeks ago

I'll have to look into this as i see nothing obviously wrong with the code.. I'll probably also add a check for localhost URLs because even trying to display those is pointless

Radiicall commented 3 weeks ago

I found a few issues in the code now that i'll get fixed in the next release