Git Product home page Git Product logo

mbcord's People

Contributors

dependabot[bot] avatar oonqt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mbcord's Issues

Support for multi Accounts on one Server

If one Server have multiple accounts and if two accounts watching different accounts using different Devices, everyone will have it's own Discord Stats on they're accounts.

Sorry for bad English.
And thanks for everything.

Time elapsed option

It would be nice if we could get an option of displaying the time elapsed when watching a video on Jellyfin.

Connection issue

Describe the bug
MBCord appears to connect to Discord, and I am able to sign in to my Jellyfin server, but everything past that does not work. It does not display RPC on Discord, and if I try to open the option "Set Ignored Libraries", it will either show the error "Failed to fetch libraries for your user. Please try the reload button." or if I untick "Display Status" it will not show an error message but the window will load indefinitely with no results.

Expected behavior
Discord RPC working and the ability to configure my libraries.

Screenshots
Screenshot 1
Screenshot 2

Error

[Sun May 09 2021 13:41:00 GMT+0200 (Central European Summer Time)] info: Connected to Discord
[Sun May 09 2021 13:41:02 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:41:33 GMT+0200 (Central European Summer Time)] error: Interal ID fetch failure: Failed to get library ID: Status: 500 Response: "Error processing request." at library Movies
[Sun May 09 2021 13:41:33 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:41:36 GMT+0200 (Central European Summer Time)] error: Interal ID fetch failure: Failed to get library ID: Status: 500 Response: "Error processing request." at library Movies
[Sun May 09 2021 13:41:48 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:42:03 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:42:18 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:42:33 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:42:48 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:43:03 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:43:18 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:43:33 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:44:08 GMT+0200 (Central European Summer Time)] error: Interal ID fetch failure: Failed to get library ID: Status: 500 Response: "Error processing request." at library Movies
[Sun May 09 2021 13:44:08 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:45:00 GMT+0200 (Central European Summer Time)] error: Interal ID fetch failure: Failed to get library ID: Status: 500 Response: "Error processing request." at library Movies
[Sun May 09 2021 13:45:00 GMT+0200 (Central European Summer Time)] error: Failed to set activity: Status: 500 Response: "Error processing request."
[Sun May 09 2021 13:45:06 GMT+0200 (Central European Summer Time)] debug: doDisplayStatus disabled

Desktop (please complete the following information):

  • OS: Windows 10 Pro Version 20H2
  • Server Type: Jellyfin
  • Version 10.7.5

MBCord no longer working

Describe the bug
MBCord started randomly not working anymore, it will connect to my server but gives an error it cannot connect to Discord.

Expected behavior
Rich presence to work when watching something in Jellyfin

Screenshots
If applicable, add screenshots to help explain your problem.

Error
MBCord-1614454474.txt
[Sat Feb 27 2021 12:42:24 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:24 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:28 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:28 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] warn: Discord RPC connection closed. Attempting to reconnect in 30 seconds
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] error: Failed to connect to Discord. Attempting to reconnect in 30 seconds
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] info: Connected to Discord
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] error: Failed to connect to Discord. Attempting to reconnect in 30 seconds
[Sat Feb 27 2021 12:42:34 GMT-0700 (Mountain Standard Time)] error: Failed to connect to Discord. Attempting to reconnect in 30 seconds

Desktop (please complete the following information):

  • OS: Windows 10
  • Server Type: Jellyfin
  • Version 10.6.4

Additional context
I have reinstalled discord and reset MBCord, also cleared Appdata for MBCord, but issue still occurs, could this be a change to Discord on an update?

"CERT_HAS_EXPIRED" with a valid SSL Certificate

Describe the bug

When I try to login on to my Jellyfin Server with a secure Connection (e.g. https://) and a valid Certificate it throws me this error in the Log file.

Expected behavior
Normal Login on Server with Protocol HTTPS:// and port 443

Screenshots
Its all explained in the Logfile

Error

[Fri Aug 26 2022 14:24:55 GMT+0200 (Mitteleuropäische Sommerzeit)] debug: {
  "doDisplayStatus": true,
  "useTimeElapsed": true,
  "clientUUID": "b0ed1fde-abc0-4a0a-ab05-d31076ce6521",
  "serverType": "jellyfin",
  "ignoredViews": [],
  "serverAddress": "media.sandwichfox.de",
  "port": "443",
  "protocol": "https",
  "isConfigured": true,
  "enableDebugLogging": true
}
[Fri Aug 26 2022 14:24:55 GMT+0200 (Mitteleuropäische Sommerzeit)] info: Connected to Discord
[Fri Aug 26 2022 14:24:55 GMT+0200 (Mitteleuropäische Sommerzeit)] error: Failed to authenticate. Retrying in 30 seconds.
[Fri Aug 26 2022 14:24:55 GMT+0200 (Mitteleuropäische Sommerzeit)] error: {
  "code": "CERT_HAS_EXPIRED"
}

Desktop (please complete the following information):

  • OS: Windows
  • Server Type: Jellyfin
  • Version 2.3.13

Thanks in advance!

Additional context
It works if I add the Server on the Internal IP and the normal Jellyfin Port 8096.

MBCord randomly exiting

Describe the bug
A clear and concise description of what the bug is. Explain the steps that you took leading up to the bug to help aid in recreating it.

Sometimes when I am watching or listening to something on Jellyfin and MBCord is running, MBCord exits without notice and Jellyfin no longer appears in Discord status.

Expected behavior
A clear and concise description of what you expected to happen.

MBCord should stay running in the background unless manually exited by the user.

Screenshots
If applicable, add screenshots to help explain your problem.

Error

  • Attach the most recent log. Logs can be found by right clicking the tray application and clicking "Show Logs". Although it does its best to remove any, it's a good idea to give the logs a quick scrub to ensure there aren't any credentials/addresses*

The log doesn't really show anything but if you want:
[Sat Apr 23 2022 13:25:52 GMT-0500 (Central Daylight Time)] info: Connected to Discord

Desktop (please complete the following information):

  • OS: Windows 11
  • Server Type: Jellyfin
  • Version MBCord 2.3.13, Jellyfin 10.7.7

Additional context
Add any other context about the problem here.

Doesn't work when watching from Browser

Describe the bug
When I watch something directly from the Localhost Server, Embycord doesn't recognize what I watch and doesn't show anything on Discord.

Expected behavior
I just expected it to work, as I though that Embycord see what I watch from Emby Server.

Screenshots
Screenshot

Error
logs.zip

Desktop (please complete the following information):

  • OS: Windows
  • Version: 1903

Additional context
I don't know, Maybe this problem is with Emby itself, Thanks anyway.

Can't connect to Discord

Describe the bug

The application can't connect to Discord again.

Error
Attached.

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • Version [e.g. 1.0.9]

Windows 1.1.2

Additional context

I built the program using another Discord application ID and it works. Would it be possible to get the images that you used on it?

Data Usage seems excessive when using MBCord

** Replace [] with [x] to signify you've completed the following

** [x] I have read over the setup guide (https://github.com/oonqt/MBCord/wiki/Initial-Setup)

** [x] I have read over the commonly asked questions (https://github.com/oonqt/MBCord/wiki/Commonly-Asked-Issues-Questions)

Over the last 30 days this is my data usage with light watching https://i.imgur.com/gzsJUJY.png. It's usually higher when I watch more upwards of 100GB. Is this intentional, or can this be modified in some way?

Support for subfolder domains

Describe the feature/change you'd like
The ability to add servers which are a subfolder of a domain, e.x. https://mydomain.com/jellyfin

Additional context
MBCord only allows specifying of a domain and port, which works with subdomains just fine, but with subfolders there's no discernible way to set it up.

Very high CPU and RAM usage

Describe the bug
The app randomly stops working and start using a lot of ressources for no reason making other electron app crash in loop

Expected behavior
i was just expecting it to work normally

Screenshots
image

Error
well the log files are a bit gigantic
image
but 99.9% of the lines says error: Failed to connect to Discord. Attempting to reconnect in 30 seconds , info: Connected to Discord or warn: Discord RPC connection closed. Attempting to reconnect in 30 seconds

Desktop:

  • OS: Windows 10 21H1
  • Server Type: Emby 4.6.2.0
  • Version 2.3.13 (i had the bug before)

Add the ability to disable Startup Pop-up Screen

Describe the feature/change you'd like
I would love an option to disable the "MBCord has been minimized to the tray" pop-up.
It gets annoying every time I start up my PC.

This pop up screen ↓
MBCord_fqKTLo9ElG

Status does not clear when finished with episode or movie

Describe the bug
After watching something in Emby, the discord status will not clear

Expected behavior
The status should clear when finished watching a movie or episode

Error
MBCord-1608146294.txt

[Thu Dec 17 2020 22:05:45 GMT-0500 (Eastern Standard Time)] error: Failed to set activity: TypeError: Cannot read property 'toLowerCase' of undefined

Desktop

  • OS: Gentoo Linux
  • Server Type: Emby 4.5.2.0
  • Version 2.1.9

Jellyfin Discord

Sorry, I have no idea how to find you but I noticed you got deleted from Discord and was wondering if you are joining back anytime soon.
Just in case i'll drop the link back here https://discord.gg/k7nK4N6

No longer working

I see this hasn't been updated in a while and there have been a few updates to Jellyfin, is this abandoned?

Change emby name and image

** Replace [] with [x] to signify you've completed the following

** [x] I have read over the setup guide (https://github.com/oonqt/MBCord/wiki/Initial-Setup)

** [x] I have read over the commonly asked questions (https://github.com/oonqt/MBCord/wiki/Commonly-Asked-Issues-Questions)

is there any way to change the emby name and image in rich presence?

another question: is there any way to leave MBCord already configured? to come with pre selected server?
just enter username and password?

Not showing activity

set it up all correctly as the wiki says but nothing is showing up in my status. I tried with stable and ptb discord but nothing...
I also opened as an administrator but nothing either
I have entered all my data correctly and in the logs says is conected to server but nothing is showing up

Idk what else can i do... Sorry if I have bad english.

Doesn't show anything on Discord

Describe the bug
I don't know why it doesn't work, it doesn't show anything on Discord when playing directly from Browser or from Kodi.

Expected behavior
it should show what is being Watching.

Screenshots:
Annotation 2020-04-02 103307

Error:
EmbyCord-1585815861.txt

Versions:

  • OS: Winodws 10 (1909)
  • Version [1.1.0]

Can't Connect to Discord on Linux

Describe the bug
MBCord doesn't show anything in Discord when running on Linux, but it worked fine running Windows on the same machine.

Expected behavior
For MBCord to show what's playing in Discord.

Error
error: Failed to connect to Discord. Attempting to reconnect in 30 seconds

Desktop (please complete the following information):

  • OS: Pop OS
  • Server Type: Jellyfin
  • Version 2.1.7

Bug: If a song was skipped the application doesn't change it to actually played.

Describe the bug
If a song was skipped the application doesn't change it to actually played.
After the timer "xx:xx left" the timer stops and songs don't change.

Expected behavior
Update the song in Discord embedded.

Error
Nothing when the song is skipped.

Desktop (please complete the following information):

  • OS: Windows 10
  • Server Type: Jellyfin
  • Version 10.6.0

Additional context
To "fix" problem Discord is required to restart (e.g. ctrl+r) and uncheck and check "Display as status".
A restart of MBCord works too.

Support for multiple servers

Describe the feature/change you'd like
It would be great if you could add something to connect two or more media servers to MBcord
Additional context
When you have two servers, on running on your home computer and on running on a remote server, I wish I could connect both

Crashes on startup ~ PopOS (Linux) 22.04LTS

Describe the bug
Assuming the entry method for this app is "MBCord". It isn't running. Crashes on startup. See error below.

Error
"[584059:1003/211048.701029:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)"

Desktop (please complete the following information):

  • OS: PopOS 22.04LTS
  • Server Type: Emby

Unable to open on Mac

Describe the bug
Unable to open any releases after Emby Cord 1.0.6 on MacOS Mojave & Catalina. Emby Cord 1.0.6 opens fine.

Expected behavior
For the application to launch.

Screenshots
Screen Shot 2020-03-04 at 2 08 18 AM

Error

Process:               MBCord [3471]
Path:                  /private/var/folders/*/MBCord.app/Contents/MacOS/MBCord
Identifier:            com.electron.mbcord
Version:               1.1.1 (1.1.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           MBCord [3471]
User ID:               501

Date/Time:             2020-03-04 02:11:34.527 -0500
OS Version:            Mac OS X 10.14.6 (18G103)
Report Version:        12
Anonymous UUID:        BE0D209A-A3CF-F608-518A-A8FBD2583226

Sleep/Wake UUID:       B7A78316-3290-453E-9146-70623AE8BF6E

Time Awake Since Boot: 72000 seconds
Time Since Wake:       39000 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/Electron Framework.framework/Electron Framework
  Referenced from: /private/var/folders/*/MBCord.app/Contents/MacOS/MBCord
  Reason: no suitable image found.  Did find:
	/private/var/folders/x9/6s_gz_j960q1gtw9vvkgjcjr0000gn/T/AppTranslocation/5A384DDE-159A-41DB-89AD-E72280685CA1/d/MBCord.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
	/private/var/folders/x9/6s_gz_j960q1gtw9vvkgjcjr0000gn/T/AppTranslocation/5A384DDE-159A-41DB-89AD-E72280685CA1/d/MBCord.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

Binary Images:
       0x10bb76000 -        0x10bb9fff7 +com.electron.mbcord (1.1.1 - 1.1.1) <09E43234-E7F5-3BD2-A492-B374F6A2E494> /var/folders/*/MBCord.app/Contents/MacOS/MBCord
       0x113179000 -        0x1131e370f  dyld (655.1.1) <DFC3C4AF-6F97-3B34-B18D-7DCB23F2A83A> /usr/lib/dyld
    0x7fff2d799000 -     0x7fff2d799fff  com.apple.Cocoa (6.11 - 23) <C930D6CD-930B-3D1E-9F15-4AE6AFC13F26> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff30291000 -     0x7fff3063effb  com.apple.Foundation (6.9 - 1575.22) <CDB9A3E1-41A5-36EC-A24E-94FBCC752D6A> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff30949000 -     0x7fff309d8fff  com.apple.framework.IOKit (2.0.2 - 1483.260.4) <8A90F547-86EF-3DFB-92FE-0E2C0376DD84> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff3246f000 -     0x7fff32509ffb  com.apple.MediaPlayer (1.0 - 1.0) <B29D3221-A7E1-3DA9-AF9C-5EA8B15841D4> /System/Library/Frameworks/MediaPlayer.framework/Versions/A/MediaPlayer
    0x7fff3953d000 -     0x7fff3983dfff  com.apple.security (7.0 - 58286.270.3.0.1) <DF7677A7-9765-3B6A-9D1C-3589145E4B65> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff39c99000 -     0x7fff39d06fff  com.apple.SystemConfiguration (1.17 - 1.17) <30C8327F-3EFF-3520-9C50-016F8B6B954F> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration

Model: MacBookPro12,1, BootROM 189.0.0.0.0, 2 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7
Graphics: kHW_IntelIris6100Item, Intel Iris Graphics 6100, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464132333241324D412D4A442D460000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464132333241324D412D4A442D460000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.61.2 AirPortDriverBrcmNIC-1305.8)
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

Desktop (please complete the following information):

  • OS: MacOS Mojave
  • Version 10.14.6

Additional context
Attempted to chmod +x the /Contents/MacOS folder but still no luck.

Can't display TV Shows with missing episode number

Describe the bug
When I play a TV Show with missing episode number in it's metadata, MBCord doesn't display it in my game activity but logs an error instead.

Expected behavior
Currently playing media is displayed in Discord game activity

Screenshots
Metadata (Missing Episode number):  6  Nov 2020 22-51 52

Error
MBCord-1604699214.txt
Line 3622: [Fri Nov 06 2020 22:47:55 GMT+0100 (Central European Standard Time)] error: Failed to set activity: TypeError: Cannot read property 'toString' of undefined

Desktop (please complete the following information):

  • OS: Manjaro
  • Server Type: Jellyfin
  • Version 10.6.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.