#MediaStatus

1 messages · Page 1 of 1 (latest)

cinder cedar
#

MediaStatus lets you display what you're watching or listening to from Plex/Jellyfin as a Discord Rich Presence, it shows detailed information about your current media, including progress, episode numbers, and artwork.

https://github.com/redbaron2k7/MediaStatus
git clone https://github.com/redbaron2k7/MediaStatus.git

Features:

  • Movies with title and year
  • TV Shows with season/episode info
  • Music with artist and album details
  • Progress tracking and timestamps
  • Customizable display formats
  • Supports Movies, TV Shows, Music, Videos and Photos
  • Server icons and media thumbnails
dusky spire
#

nevermind its fine

cinder cedar
narrow canopy
#

Any way to prefer showing the series title over episode title?

sharp kiln
#
    at sF (index.tsx:185:32)
    at Object.updatePresence (index.tsx:326:17)
    at index.tsx:301:24```
Is the plex url needing to be constructed differently?
cinder cedar
#

How are you structuring it?

sharp kiln
cinder cedar
#

?

cinder cedar
#

or hold on

sharp kiln
#

(blocked:mixed-content)

cinder cedar
#

then it needs to be https

#

i believe thats what causes that error

sharp kiln
#

invalid cert :(
ic the problem

cinder cedar
#

I'll make a setting

#

Update

  • Added "Prefer Series Title" setting which will replace the episode title with the series title in status text
narrow canopy
sharp kiln
#

ssl is cringe. Good update thx

narrow canopy
#

Any idea why the media thumbnails doesn't work on mine? both jellyfin and plex

cinder cedar
#

Is the metadata in properly? it grabs from

https://server-url.com/Items/${item.Id}/Images/Primary

for jellyfin

long mica
#

it would be cool to implement other services like seanime

cinder cedar
long mica
#

if i recall the client version of seanime got discord rich presence

eager perch
eager perch
#

Plex and jellyfish are pirate apps

sudden veldt
cinder cedar
#

They are media servers

#

You host any media on them, not my business what people host/watch on them and who are you to say they don't own rights to the content

fallow crystal
#

What about servers with multiple users? (Jellyfin)

lucid shadow
#

fish

next jungle
#

images in the repo are not working

next jungle
#

I get this error @cinder cedar no matter what

Failed to fetch Jellyfin data: TypeError: Failed to fetch. Refused to connect because it violates the document's Content Security Policy.
#

I have no issues with other applications (jellyseerr, glance, and homepage)
but this plugin gives me errors

teal yarrow
#

@cinder cedar do you plan to keep maintaining/merging PRs?

cinder cedar
wary obsidian
cinder cedar
wary obsidian
#

Yes, I tested it with The X-Files on my media server

cinder cedar
#

Awesome, thanks for the contribution I will merge it shortly

wary obsidian
#

It checks on plugin init for if the server URL the user entered in settings was added to the CSP whitelist:

export async function checkServerUrl() {
    if (IS_WEB) return true;

    if (await VencordNative.csp.isDomainAllowed(settings.store.serverUrl, ["connect-src"])) {
        return true;
    }

    const res = await VencordNative.csp.requestAddOverride(settings.store.serverUrl, ["connect-src"], "MediaStatus");
    if (res === "ok") {
        Alerts.show({
            title: "Jellyfin/Plex URL whitelisted",
            body: `Your server URL has been added to the whitelist. Please restart the app for the changes to take effect.`,
            confirmText: "Restart now",
            cancelText: "Later!",
            onConfirm: relaunch
        });
    }
    return false;
}
cinder cedar
#

Merged

wary obsidian
#

@cinder cedar also created a PR that allows the user to select if they want to use the Episode Thumbnail or the Series Cover as the image shown in the satus, as it was a personal annoyance I had with the plugin

prime fern
#

does this still work? cant seem to get it running.

open gale
wary obsidian
open gale
wary obsidian
wary obsidian
open gale
#

No, jellyfin. Does it change based on server type?index.tsx:131 Fetch API cannot load http://192.168.0.168:8090//Sessions. Refused to connect because it violates the document's Content Security Policy. i7 @ index.tsx:131 updatePresence @ index.tsx:373 (anonymous) @ index.tsx:349 Logger.ts:40 Vencord MediaStatus Failed to fetch Jellyfin data: TypeError: Failed to fetch. Refused to connect because it violates the document's Content Security Policy. at i7 (index.tsx:131:32) at Object.updatePresence (index.tsx:373:17) at index.tsx:349:24

wary obsidian
#

This is a different error that is fixable easily

#

Discord requires a prompt to allow CORS (which it needs to connect to your server), and I don't think that's been fixed by redbaron yet

#

Aidan doesn't really push many updates to MediaStatus anymore

open gale
open gale
#

ty so much :)

wary obsidian