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

Successful connection sound effect not playing on Linux #737

Closed
1 task done
sAlim0820 opened this issue Jan 15, 2025 · 1 comment
Closed
1 task done

Successful connection sound effect not playing on Linux #737

sAlim0820 opened this issue Jan 15, 2025 · 1 comment

Comments

@sAlim0820
Copy link

Attention | توجه

  • I searched and no similar issues were found | جستجو کردم و هیچ گزارش مشابهی پیدا نشد

What Happened? | چه اتفاقی افتاده؟

قابلیت پخش جلوه صوتی پس‌از اتصال موفق که در نسخه 4.42.0 با استقاده از پکیچ sound-play اضافه شد، برای من پخش. نمیشود.
من با کمی جسجو فهمیدم که این پکیج فقط در مک و ویندوز کار میکند. npm or github

OS: Linux Mint 22 x86_64
Kernel: 6.8.0-51-generic
DE: Cinnamon 6.2.9

Minimal Reproducible Example | چه پروسه‌ای برای مشاهده این مشکل طی کرده‌اید؟

No response

Relevant log output | لاگ برنامه

لاگ برنامه مربوط به پخش جلوه صوتی :


Error playing sound: Error: Command failed: powershell -c Add-Type -AssemblyName presentationCore; $player = New-Object system.windows.media.mediaplayer; $player.open('/opt/oblivion-desktop/resources/assets/sound/notification.mp3'); $player.Volume = 0.4; $player.Play(); Start-Sleep 1; Start-Sleep -s $player.NaturalDuration.TimeSpan.TotalSeconds;Exit;
/bin/sh: 1: Syntax error: word unexpected (expecting ")")

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1104:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:518:28)
    at Pipe.<anonymous> (node:net:343:12) {
    code: 2,
    killed: false,
    signal: null,
    cmd: "powershell -c Add-Type -AssemblyName presentationCore; $player = New-Object system.windows.media.mediaplayer; $player.open('/opt/oblivion-desktop/resources/assets/sound/notification.mp3'); $player.Volume = 0.4; $player.Play(); Start-Sleep 1; Start-Sleep -s $player.NaturalDuration.TimeSpan.TotalSeconds;Exit;",
    stdout: '',
    stderr: '/bin/sh: 1: Syntax error: word unexpected (expecting ")")\n'
    }
@ircfspace
Copy link
Collaborator

ircfspace commented Jan 15, 2025

تشکر از گزارش شما

این‌مشکل در بروزرسانی جدید برطرف شده:
https://github.com/bepass-org/oblivion-desktop/releases

اگر همچنان ایرادی وجود داشت لطفا در همین‌ایشو اطلاع بدین

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants