Skip to content

"Episode Title" & "Discord Poster" Bug Fix Solutions #193

@SirHacksABunch

Description

@SirHacksABunch

Is there an existing issue for this?

  • I have searched the existing issues

Have you ran the program with debug logging?

  • I used --log-level=debug when running the program

What went wrong?

Bug A: When enabling episode titles in the installer screen only the season and episode number display.
Bug B: Discord status shows image of media in a square format which cuts off aspect ratio.

SOLUTIONS:
A) When creating "main.js" from installer user prompt include the code to display episode title which is

"episodes": {
      "display": {
        "details_text": "{show-title}",
        "state_text": "S{season-padded}E{episode-padded} {sep} {title}",
        "image_text": "{show-title} ({year})"
      },
      "separator": "-"
    },

B) Specifically the best way to implement this fix is probably:
1: Have the Jellyfin retrieved image resized to 1024 H and 1024 W square without changing the image to fit the width (note this means the poster's vertical height won't be cut off the way it is currently in the Discord status)
2: Create a 171 pixel transparent space on the left side and right side of the square image so it creates the illusion of Discord displaying a proper poster

If you want the thought process for the solution please reference the documentation and explanation. Credit to this commernt and Plex-RPC's solution with code here for getting the solution started.

Terminal output

No response

Jellyfin-RPC version

1.3.3

What OS are you using?

Windows 11

What version is the Jellyfin server on?

10.10.7

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions