Giter Club home page Giter Club logo

mbcord's Introduction

profile banner

Hey, ich bin SandwichFox 👋

Ich bin ein Wannabe Full-Stack-Entwickler 💻 und Gamer 🎮

Ich bin eurer Cuter Coding Fuchs aus der Nachbarschaft. Ich wünsche ich euch viel Spaß auf meiner GitHub Page ❤️ Ich bin Teil des Fox Networks

🤝 Hier könnt ihr mich kontaktieren:

sandwichfoxyt 17560144 https://www.youtube.com/@SandwichFox ANQEs8rMTy mailto:sandwichfox@team.fuly.network

  • 💬 Bei Fragen/Feedback könnt ihr mich gerne anschreiben

🔭 Ich arbeite grade an

🌱 Ich lerne gerade

  • HTML + CSS
  • Javascript
  • Java

💼 Technical Skills

🌐 Nutzvolle Programme / Seiten die ich nutze

NPM Node.js Adobe Blender Canva Gimp
Stack Overflow Reddit Wikipedia IntelliJ IDEA Vim
Visual Studio Code GitHub Git Cloudflare

GitHub Statistiken

SandwichFox's GitHub Stats

mbcord's People

Contributors

dependabot[bot] avatar fulythefox avatar gauvino avatar oonqt avatar sandwichfox avatar softwarerat 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

Watchers

 avatar

mbcord's Issues

Unknown error when changing music tracks

The following unhandled promise rejection message appears a few times in a row each time the track changes:

Error: Unknown Error
    at RPCClient._onRpcMessage (/opt/appimages/mbcord/resources/app.asar/node_modules/discord-rpc/src/client.js:178:19)
    at IPCTransport.emit (node:events:513:28)
    at /opt/appimages/mbcord/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:138:18
    at decode (/opt/appimages/mbcord/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:92:5)
    at Socket.<anonymous> (/opt/appimages/mbcord/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:120:7)
    at Socket.emit (node:events:513:28)
    at emitReadable_ (node:internal/streams/readable:578:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

I'm playing a music album with custom primary art, replacing the auto-generated image Jellyfin provides. I have noticed the cover art is also appearing as a broken image graphic but that occurs even on other albums without manually added art (and without the above error), so might not be related to the issue.


DEBUG INFO:
Development Mode: false
Platform: linux (Version 6.1.2-arch1-1)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359

MBCord not showing in the Tray on ARCH with GNOME

when trying to run MBCord, no windows appear, and it will immediately exit with no visible errors
here is the log file
it gives the same result when using the appimage, AUR package, and building from source

[Thu Jan 12 2023 12:22:38 GMT-0500 (Eastern Standard Time)] info: DEBUG INFO:
Development Mode: false
Platform: linux (Version 6.1.4-arch1-1)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359

Bilder von Serien oder Filme werden nicht anzeigt in Discord

Describe the bug
Die Bilder von Serien oder Filme werden nicht auf Discord angezeigt.
Hab bei drei verschiedenen Serien/Filme nachgeschaut und da sieht man nichts, auf den Screenshots sieht man dies auch.

Screenshots
grafik
grafik
grafik

Error

[Mon Dec 19 2022 10:03:46 GMT+0100 (Mitteleuropäische Normalzeit)] info: Starting app...
[Mon Dec 19 2022 10:03:46 GMT+0100 (Mitteleuropäische Normalzeit)] info: DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.19044)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359
[Mon Dec 19 2022 10:03:46 GMT+0100 (Mitteleuropäische Normalzeit)] info: Connected to Discord (Server type: jellyfin)

Desktop (please complete the following information):

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

Some Titles are too long

Describe the feature/change you'd like
Instead of throwing an error if the title is too long, make it cut down or just don't add an Title.

Additional context
grafik
This happened because the title is in German and its too long.
Example:

Classroom of the Elite - S1:E6 - Es gibt zwei Arten von Lügen: Eine, welche Tatsachen betrifft und damit in die Vergangenheit zurückweist, und eine andere, bei welcher es sich um Versprechungen für die Zukunft handelt.

That's to long and it will throw an error, which won't display the Discord Presence.

Excuse me for my lack of english

Fixing the Update Manager

The Update Manager doesnt work rightnow until the next release it would be fixed

Tasks:

  • Successful redirect to Downloadpage
  • Updated Message
  • Only Bother the User when an bigger SemVer number is there (doenst work rn)

MBCord: unhandled promise rejection, error looping after a while

Describe the bug
After a while using MCBord alongside with Discord and Jellyfin it starts entering in an error loop. I think the information displaying still works in Discord but you can't click the message away, it will appear continously, you need to exit MBCord to stop that.

Expected behavior
No error loop.

Screenshots
Screenshot_10

Error
`[Sat Nov 11 2023 12:23:13 GMT+0100 (Central European Standard Time)] info: Starting app...
[Sat Nov 11 2023 12:23:13 GMT+0100 (Central European Standard Time)] info: DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.22621)
Architecture: x64
MBCord version: 3.0.7
Node version: 18.12.1
Electron version: 23.1.3
Chrome version: 110.0.5481

[Sat Nov 11 2023 12:23:13 GMT+0100 (Central European Standard Time)] info: Connected to Discord (Server type: jellyfin)
[Sat Nov 11 2023 12:26:36 GMT+0100 (Central European Standard Time)] error: Unhandled Rejection: Error: Unknown Error
at RPCClient.onRpcMessage (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:178:19)
at IPCTransport.emit (node:events:513:28)
at C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:138:18
at decode (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:92:5)
at Socket. (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:120:7)
at Socket.emit (node:events:513:28)
at emitReadable
(node:internal/streams/readable:590:12)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

[Sat Nov 11 2023 12:26:36 GMT+0100 (Central European Standard Time)] error: Unknown Error
[Sat Nov 11 2023 12:26:40 GMT+0100 (Central European Standard Time)] error: Unhandled Rejection: Error: Unknown Error
at RPCClient.onRpcMessage (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:178:19)
at IPCTransport.emit (node:events:513:28)
at C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:138:18
at decode (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:92:5)
at Socket. (C:\Users\rebor\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:120:7)
at Socket.emit (node:events:513:28)
at emitReadable
(node:internal/streams/readable:590:12)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

[Sat Nov 11 2023 12:26:40 GMT+0100 (Central European Standard Time)] error: Unknown Error`

Desktop

  • OS: Windows 11 Enterprise Version Build 22621
  • Server Type: Jellyfin
  • Version 10.8.12

Additional context
I'm currently watching with Chrome Canary latest Version because the JMP really sucks currently (no front). But I will check out if the same will happen with using it.

Dynamic Artworks Emby Support

Update 3.0.6 added Dynamic Artwork Support for Jellyfin. Until the next Update I will try to replicate that for Emby

For Transparency I will update the progress on this Issue:

  • Figured out how the Emby API works
  • Added an Temporary Version
  • Tests on a real Emby Server
  • Push Changes to Live Version

dynamically add artwork now?

Describe the feature/change you'd like
im 99% sure discord has added the ability to dynamically change rich presence images, i havent used the feature myself yet but ive seen apps like premid do it, for example with apple music. i noticed on the faq it says its not possible so please correct me if im wrong

Additional context

Closing Discord while MBCord is running

I changed the paths in the error message just so it wouldn't show my C drive and such, but the rest of the message is unaltered. To replicate, have MBCord and Discord running, and close discord. You get this error message over and over and the only way to stop it is to end the MBCord task in the Task Manager.

Error: connection closed
    at ...\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:108:20
    at Map.forEach (<anonymous>)
    at IPCTransport.<anonymous> (...\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:107:25)
    at Object.onceWrapper (node:events:628:26)
    at IPCTransport.emit (node:events:525:35)
    at IPCTransport.onClose (...\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:151:10)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:757:14)

DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.22621)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359

only works on windows startup if i restart app first

on windows startup, it only displays if i restart the app first. i saw this #20 and i tried setting it to start a min after startup in task scheduler but that does not seem to have worked.

i either get "Failed to get sessions: Error: connect ECONNREFUSED 192.168.1.136:8096" or "Failed to get sessions: Error: connect ETIMEDOUT 192.168.1.136:8096"

MBCord not working on linux

Describe the bug

  • deptap the .deb package (below codeblock)
  • run chmod +x on appimage (below codeblock)
[bittersweet@candyshop ~]$ mbcord --trace-warnings

(mbcord:761878): Gtk-WARNING **: 18:22:24.079: Unknown key GTK_THEME in /home/bittersweet/.config/gtk-3.0/settings.ini
(node:761878) UnhandledPromiseRejectionWarning: Error: Cannot create an item in a locked collection
(Use `mbcord --trace-warnings ...` to show where the warning was created)
(node:761878) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[761878:1118/182225.152886:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
  • install appimage from aur (below codeblock)
MBCord: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

Expected behavior
A window to open or normal startup

Desktop (please complete the following information):

  • OS: Arch Linux x86_64
  • Server Type: Jellyfin
  • Version: 10.8.7

Extra Info
I seem to be missing a shared lib, but I couldn't find any missing :/
Theming issue is irrelevant, gtk ignores invalid and haven't had an issue with my lazi/bad theme file before. :3

Infinite Error Loop on closing Discord

Describe the bug
When closing discord, MBCord enters an infinite error loop.

Expected behavior
No error from mbcord when closing discord.

Desktop

  • OS: Windows
  • Server Type: Jellyfin

Additional context
Also, sometimes mbcord doesn't send a new rich status to discord, and you have to remove and add the server to fix it.

stopped an anime at the episode start and this popped up

Error: Unknown Error
    at RPCClient._onRpcMessage (C:\Users\wooksi\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:178:19)
    at IPCTransport.emit (node:events:513:28)
    at C:\Users\wooksi\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:138:18
    at decode (C:\Users\wooksi\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:92:5)
    at Socket.<anonymous> (C:\Users\wooksi\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:120:7)
    at Socket.emit (node:events:513:28)
    at emitReadable_ (node:internal/streams/readable:590:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.19045)
Architecture: x64
MBCord version: 3.0.7
Node version: 18.12.1
Electron version: 23.1.3
Chrome version: 110.0.5481

Toggling "Display as Status" in context menu causes error

TypeError: Cannot read properties of null (reading 'write')
    at IPCTransport.send (C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:155:17)
    at C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:159:22
    at new Promise (<anonymous>)
    at RPCClient.request (C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:157:12)
    at RPCClient.clearActivity (C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:540:17)
    at toggleDisplay (C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\main.js:211:36)
    at click (C:\Users\Luke\AppData\Local\Programs\mbcord\resources\app.asar\main.js:345:18)
    at MenuItem.click (node:electron/js2c/browser_init:2:30166)
    at a._executeCommand (node:electron/js2c/browser_init:2:35562)

DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.22621)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359

docker

can i run this in docker? if so are there any instructions? thanks.

Emby Theater results in `/Items/undefined`

Describe the bug
Watching a movie/series on Emby Theater results in the primary not image not loading

Expected behavior
A Emby Theater icon would show

Screenshots
image
image

Error
None:

[Fri Dec 30 2022 13:45:38 GMT+0100 (Central European Standard Time)] info: Starting app...
[Fri Dec 30 2022 13:45:38 GMT+0100 (Central European Standard Time)] info: DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.22621)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359
[Fri Dec 30 2022 13:46:02 GMT+0100 (Central European Standard Time)] info: Connected to Discord (Server type: emby)

Desktop (please complete the following information):

  • OS: Windows
  • Server Type: Emby
  • Version: 3.0.6

Additional context
None

MBCord doesn't start

Describe the bug
Yesterday I installed MBCord and it worked fine. Thanks for continuing to work on it as there isn't really any good alternative.
Today after I rebooted my PC MBCord won't open anymore. I have placed a GIF below to demonstrate.

https://i.imgur.com/9hP31d5.gif

I see that its running in Task Manager though, although I get no GUI and the Discord Rich Presence doesn't change after I play something.

Running as Administrator does the same thing.

Expected behavior
I expect the program to open and to start monitoring.

Screenshots
I added the screenshot above.

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
    ^ As I can't open the GUI I have no way of opening the logs, I tried searching in the mbcord folder but couldn't find any.

Desktop (please complete the following information):

  • OS: Windows 10 22H2
  • Server Type: Jellyfin
  • Version 10.8.7

EDIT: I removed this folder \AppData\Roaming\mbcord and it starts again and I have to set up my server again. I wonder if it will stop working again after a reboot though.

Unclosable error on discord canary update

Error: connection closed
    at C:\Users\bvoo\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:108:20
    at Map.forEach (<anonymous>)
    at IPCTransport.<anonymous> (C:\Users\bvoo\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\client.js:107:25)
    at Object.onceWrapper (node:events:642:26)
    at IPCTransport.emit (node:events:539:35)
    at IPCTransport.onClose (C:\Users\bvoo\AppData\Local\Programs\mbcord\resources\app.asar\node_modules\discord-rpc\src\transports\ipc.js:151:10)
    at Socket.emit (node:events:527:28)
    at Pipe.<anonymous> (node:net:709:12)

DEBUG INFO:
Development Mode: false
Platform: win32 (Version 10.0.22621)
Architecture: x64
MBCord version: 3.0.5
Node version: 16.16.0
Electron version: 21.2.2
Chrome version: 106.0.5249

Any way to suppress these?

They pop up over top of all windows <3

Error: Unknown Error
    at RPCClient._onRpcMessage (/tmp/.mount_mbcordKreYOr/resources/app.asar/node_modules/discord-rpc/src/client.js:178:19)
    at IPCTransport.emit (node:events:513:28)
    at /tmp/.mount_mbcordKreYOr/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:138:18
    at decode (/tmp/.mount_mbcordKreYOr/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:92:5)
    at Socket.<anonymous> (/tmp/.mount_mbcordKreYOr/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:120:7)
    at Socket.emit (node:events:513:28)
    at emitReadable_ (node:internal/streams/readable:578:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

DEBUG INFO:
Development Mode: false
Platform: linux (Version 5.15.0-58-generic)
Architecture: x64
MBCord version: 3.0.6
Node version: 16.17.1
Electron version: 22.0.0
Chrome version: 108.0.5359

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.