Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MPRIS doesn't work correctly #1755

Closed
3 of 5 tasks
Totto16 opened this issue Feb 18, 2024 · 2 comments · Fixed by #1760
Closed
3 of 5 tasks

[Bug]: MPRIS doesn't work correctly #1755

Totto16 opened this issue Feb 18, 2024 · 2 comments · Fixed by #1760
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@Totto16
Copy link
Contributor

Totto16 commented Feb 18, 2024

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.3.1

Checklists

  • I use the portable version of the YouTube Music Application.
  • I can reproduce this issue in the official YTM web version.

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 23.10

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

3.2.2

Reproduction steps

Update the application to 3.3.1 and restart it

Expected Behavior

MPRIS works normally, as it did before in v3.2.2 (and still does)

Actual Behavior

MPRIS show up in status bar for a few millis seconds, after that it dissapears and

playerctl status

says: No players found

Enabled plugins

tuna-obs::backend
quality-changer::backend
music-together::backend
in-app-menu::backend
sponsorblock::backend
shortcuts::backend
lyrics-genius::backend
adblocker::backend
"shortcuts::menu"
"lyrics-genius::menu"
"in-app-menu::menu"
"downloader::menu"
"album-color-theme::menu"
"adblocker::menu"
"shortcuts::menu"
"lyrics-genius::menu"
"in-app-menu::menu"
"downloader::menu"
"album-color-theme::menu"
"adblocker::menu"

Additional Information

Errors during startup:

[165277:0218/175231.222211:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -801

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:962:11)
    at Socket._write (node:net:974:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Socket.Writable.write (node:internal/streams/writable:337:10)
    at EventEmitter.e.message (/opt/YouTube Music/resources/app.asar/dist/main/index.js:198:2938)
    at Lke.send (/opt/YouTube Music/resources/app.asar/dist/main/index.js:185:1849)
    at EventEmitter.r (/opt/YouTube Music/resources/app.asar/dist/main/index.js:181:1806) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
Error: Cannot send message, stream is closed
    at EventEmitter.e.message (/opt/YouTube Music/resources/app.asar/dist/main/index.js:198:2730)
    at Lke.send (/opt/YouTube Music/resources/app.asar/dist/main/index.js:185:1849)
    at EventEmitter.n (/opt/YouTube Music/resources/app.asar/dist/main/index.js:181:1297)
    at EventEmitter.emit (node:events:517:28)
    at Function.emitPropertiesChanged (/opt/YouTube Music/resources/app.asar/dist/main/index.js:177:34633)
    at i.setProperty (/opt/YouTube Music/resources/app.asar/dist/main/index.js:201:16284)
    at Ar.set [as playbackStatus] (/opt/YouTube Music/resources/app.asar/dist/main/index.js:205:6789)
    at Ar.setPlaybackStatus (/opt/YouTube Music/resources/app.asar/dist/main/index.js:205:7714)
    at /opt/YouTube Music/resources/app.asar/dist/main/index.js:205:10316
    at IpcMainImpl.<anonymous> (/opt/YouTube Music/resources/app.asar/dist/main/index.js:174:25180)
Checking for update
Error: Cannot send message, stream is closed
    at EventEmitter.e.message (/opt/YouTube Music/resources/app.asar/dist/main/index.js:198:2730)
    at Lke.send (/opt/YouTube Music/resources/app.asar/dist/main/index.js:185:1849)
    at EventEmitter.r (/opt/YouTube Music/resources/app.asar/dist/main/index.js:181:1806)
    at EventEmitter.emit (node:events:517:28)
    at i.e.descriptor.value (/opt/YouTube Music/resources/app.asar/dist/main/index.js:177:33039)
    at Ar.seeked (/opt/YouTube Music/resources/app.asar/dist/main/index.js:205:4724)
    at IpcMainImpl.<anonymous> (/opt/YouTube Music/resources/app.asar/dist/main/index.js:205:8627)
    at IpcMainImpl.emit (node:events:517:28)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:77582)
    at WebContents.emit (node:events:517:28)
Error: Cannot send message, stream is closed
    at EventEmitter.e.message (/opt/YouTube Music/resources/app.asar/dist/main/index.js:198:2730)
    at Lke.send (/opt/YouTube Music/resources/app.asar/dist/main/index.js:185:1849)
    at EventEmitter.r (/opt/YouTube Music/resources/app.asar/dist/main/index.js:181:1806)
    at EventEmitter.emit (node:events:517:28)
    at i.e.descriptor.value (/opt/YouTube Music/resources/app.asar/dist/main/index.js:177:33039)
    at Ar.seeked (/opt/YouTube Music/resources/app.asar/dist/main/index.js:205:4724)
    at /opt/YouTube Music/resources/app.asar/dist/main/index.js:205:10304
    at IpcMainImpl.<anonymous> (/opt/YouTube Music/resources/app.asar/dist/main/index.js:174:25389)


@Totto16
Copy link
Contributor Author

Totto16 commented Feb 18, 2024

After some investigating, If found out, that 8457115 alias the bug fix to #1726 is the cause of this problem

@JellyBrick JellyBrick added the bug Something isn't working label Feb 19, 2024
@Totto16
Copy link
Contributor Author

Totto16 commented Feb 19, 2024

I can confirm, that #1760 fixes it locally 👍🏼 ❤️

@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants