ImTheSquid / Tuxphones

[In-Development] Discord Screensharing Audio for Linux
MIT License
57 stars 4 forks source link

Tuxphones plugin breaks folders in discord #20

Open FilterUnfiltered opened 1 year ago

FilterUnfiltered commented 1 year ago

I'm not really sure which part of the process caused the bug, but I tested and I know it's tuxphones causing the issue.

I enabled the daemon and reloaded discord. So far so good. I then joined a call by myself to try streaming to see what happens. 1st I noticed screen 1 in the monitors tab just says "tuxphones not available". I also noticed when I click "go live with sound" it doesn't close the window after (and the button doesn't react so I wasn't sure I actually started the stream). The stream doesn't load on discord, at least for me, when I click away from the window (have not tested with others there yet)

Anyway those are just all inconvenient, the actual issue was this: After all of this, I could no longer open server-folders on discord. I do have a plugin called "ServerFolders" installed as well and figured that might be interfering, but I don't see what tuxphones has to do with folder to begin with. After disabling the tuxphones plugin, the folders go back to normal.

Dreaming-Codes commented 1 year ago

Currently, we are only working on streaming application audio, not desktop audio, so the message indicating that tuxphone is not available in the desktops tab is expected. We have not yet implemented streaming status in the Discord app, so it is normal that it appears as if the streaming has not started. As for the folder issues, I will assign this issue to @ImTheSquid as he has a better understanding of BetterDiscord plugins than I do.

ImTheSquid commented 1 year ago

I believe that server folders is probably causing your issue. I'm not sure when I'll have time to investigate this, but I'll try to do so as soon as possible.

FilterUnfiltered commented 1 year ago

I believe that server folders is probably causing your issue. I'm not sure when I'll have time to investigate this, but I'll try to do so as soon as possible.

maybe, but only while tuxphones is enabled, which tells me it's at least partially caused by tuxphones

ImTheSquid commented 1 year ago

It seems there is a bug with the currentSoundProfile field not being set to null when the stream ends, but that shouldn't cause issues with server folders. I tried to look through the ServerFolders source code but it is completely unreadable so for right now I don't have a suggestion other than to not use one of the plugins.