QuincyWork / pomodairo

Automatically exported from code.google.com/p/pomodairo
0 stars 0 forks source link

The custom sound doesn't work #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Changing the alarm sound

What is the expected output? What do you see instead?
I expect the selected sound file to work, but the timer just stops at 00:00 and 
nothing happens.

What version of the product are you using? On what operating system?
I'm using version 1.9 in Ubuntu 10.04 "Lucid Lynx".

Please provide any additional information below.

I thought the problem might be spaces in the file path, but it doesn't work 
even if I try paths with no spaces, "-", or "_"s. I can use the default, but 
I'd rather not. A friend of mine also has the same problem (in the same version 
and OS), and I have tested it in Ubuntu 8.10 "Intrepid Ibex" as well, with the 
same result.

Original issue reported on code.google.com by medvi...@gmail.com on 3 Jan 2011 at 6:22

GoogleCodeExporter commented 8 years ago
Hmmm... I am not running Ubuntu, perhaps I can get Viktor or someone else 
reading this to try this one out?

Can you try to place a valid mp3 file in the same directory as the app and just 
enter the filename without any '/'s. Then at least we can rule out file 
delimiters. 

What does the sound file location textbox say after you have selected the mp3? 

Finally (stupid question but), have you tried multiple mp3's?

Original comment by fredrikj...@gmail.com on 4 Jan 2011 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by fredrikj...@gmail.com on 4 Jan 2011 at 9:58

GoogleCodeExporter commented 8 years ago
Hey, great idea! It worked! :)

I should maybe mention that the file name was all lowercase Latin characters, 
although I doubt that has anything to do with it.

The textbox specifies the correct filepath when the file is selected.

I have. Same result on all of them.

Since it works without "/"s, I suppose that's where the problem lies. At least 
there is a solution. :) Thank you!

Original comment by medvi...@gmail.com on 4 Jan 2011 at 10:19

GoogleCodeExporter commented 8 years ago
OK, I've done some more testing. I have no idea why, but it stopped working. I 
tested whether it would work for files that had " ", "_", "-", or longer 
filenames, and I didn't have success at either. I decided to go back to my 
original file, but now that doesn't work either! :S

Original comment by medvi...@gmail.com on 4 Jan 2011 at 10:45

GoogleCodeExporter commented 8 years ago
Hmm that's really weird. Since I running Windows and Mac only I can only try 
with those systems. Either we find someone else trying this on Ubuntu or muck 
around some more and see if you can find some reproducible behavior out of this?

For instance; does the working mp3 only work once (file lock)?
Does the selected mp3 (locally) work and then stop only when restarting 
Pomodairo?
etc.

Sorry not to be able to help more, but without being to reproduce it myself I 
am stumbling in the dark pretty much...

Original comment by fredrikj...@gmail.com on 5 Jan 2011 at 4:44

GoogleCodeExporter commented 8 years ago
Not working for me either, on Ubuntu 10.04. Haven't tried a lot of mp3s though..

Original comment by viktor.n...@gmail.com on 5 Jan 2011 at 4:52

GoogleCodeExporter commented 8 years ago
The mp3 worked several times before it stopped working. I think I tried it 
around 8-10 times before renaming it, and then it stopped working. I didn't 
restart Pomodairo until after I figured it was the only way to potentially make 
it work.

I tried another mp3 just now, but it didn't work with this fresh one either.

Original comment by medvi...@gmail.com on 6 Jan 2011 at 12:43

GoogleCodeExporter commented 8 years ago

Original comment by fredrikj...@gmail.com on 19 Jan 2011 at 10:43

GoogleCodeExporter commented 8 years ago
"OK, I've done some more testing. I have no idea why, but it stopped working. I 
tested whether it would work for files that had " ", "_", "-", or longer 
filenames, and I didn't have success at either. I decided to go back to my 
original file, but now that doesn't work either! :S"

I am in the same boat on all three of my computers that I have tried on OS X 
10.6.5 and 10.6.6.  Where is the original sounds stored?   

Original comment by studiopr...@gmail.com on 1 Feb 2011 at 10:21

GoogleCodeExporter commented 8 years ago
On Ubuntu 11.04 I got this working by storing my custom mp3 in 
/opt/pomodairo/share (note: NOT in the bin folder) and referencing it in the 
configuration by just its filename (no path).

Original comment by bjorn.ma...@gmail.com on 30 Apr 2011 at 8:04

GoogleCodeExporter commented 8 years ago
I have also had problems with this. I'm using Mac OS X 10.6.7 with Version 1.9. 
I place two files 'beepin.mp3' and 'beepout.mp3' in many places since I don't 
know of documentation that tells me where they need to go and since selecting 
them through 'Browse' doesn't work I'm not sure what else to do. I put copies 
of the files in 'Contents' 'Contents>MacOS' 'Contents>Resources' and 
'Contents>Resources>assets'. If I refer to them as 'Alarm Sound: beepin' and 
'Alarm Sound: beepout', they will not work. They need to be 'Alarm Sound: 
beepin.mp3' and 'Alarm Sound: beepout.mp3'. I have to say it's quite fun to 
figure these things out by trial and error. Also, I don't take the point that 
the original thing couldn't have been explored because it was occurring on 
Ubuntu and you only have M and W. That only really holds if you assume it only 
happens on U, something I assume you didn't confirm.

Original comment by jhedg...@gmail.com on 24 May 2011 at 8:31

GoogleCodeExporter commented 8 years ago
Has this issue been clarified? I'm on a Mac and have followed this thread with 
no success no matter what directory I put my mp3s in or how i structure the 
paths. Thanks.

Original comment by jayme.de...@gmail.com on 16 Jan 2012 at 8:04

GoogleCodeExporter commented 8 years ago
Having the same problem on mac os x 10.7.3. When I add a custom sound file 
everything is mute. This happens no matter where the file is located or how i 
structure the paths as well. 

Original comment by rrto...@gmail.com on 23 Feb 2012 at 5:04

GoogleCodeExporter commented 8 years ago
Had the same problem (FWIW, I'm on Mac 10.7.5)

Seems the issue is about file path.
Followed the tip from Jan 4 2011 and the file path on Mac for "the app" is:
/Applications/pomodairo.app/Contents/Resources

So, view the app's package
Add the mp3 file, it needs to be in the same path as the .swf file.
Reluanch the app, change the file path setting for the sound to just be the 
file name.
And it works.

Original comment by danlator...@gmail.com on 24 Nov 2012 at 8:48

GoogleCodeExporter commented 8 years ago
Just wanted to say that the solution listed in #14 worked for me. I'm on OS X 
10.7.5. Thanks!

Original comment by ptriku...@gmail.com on 5 Sep 2013 at 7:52