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

The program can't read sound files and No notification popping up #43

Open
1 task done
imhefizh opened this issue Dec 28, 2024 · 0 comments
Open
1 task done

The program can't read sound files and No notification popping up #43

imhefizh opened this issue Dec 28, 2024 · 0 comments

Comments

@imhefizh
Copy link

imhefizh commented Dec 28, 2024

Tick this box to confirm you have reviewed the above.

  • I've discovered a new issue with Focus.

What version of Focus are you using?

focus version v1.4.2

How did you install Focus?

Go

What operating system are you using Focus on?

Windows 11

What is your Focus configuration?

auto_start_break: true
auto_start_work: false
break_sound: bell
dark_theme: true
long_break_duration: 25m
long_break_interval: 4
long_break_msg: Cari kegiatan lain
notify: true
session_cmd: ""
short_break_duration: 5m
short_break_msg: Jauhkan matamu dari layar
sound: "rainambience"
sound_on_break: false
strict: false
work_duration: 25m
work_msg: Cuci muka dan Fokus
work_sound: loud_bell

Describe your bug.

Focus can't read the sound file i put on the folder. I've tried two ways ;

  1. I put the file on %LOCALAPPDATA%/focus/static, the file's format is mp3. And I got an error, it says :
    open RainAmbience.mp3: The system cannot find the file specified.
  2. And then i tried another way, because i saw before, when i was changing the config at sound line to ' sound: "rain" '. It said "open files\rain.ogg: file does not exist", so i put my file into /files/ folder and covert the file to .ogg. And I still got an error. It says: "open files\rainambience.ogg: file does not exist"

And of course, the sound file always exists.

What are the steps to reproduce the behavior?

focus or focus --sound

What behaviour did you observe?

open files\rainambience.ogg: file does not exist

What is the expected behaviour?

I think the program should start to play the sound normally, or at least can found the sound file

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

1 participant