LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xmms speeds threw songs (https://www.linuxquestions.org/questions/linux-software-2/xmms-speeds-threw-songs-151002/)

sporkit 02-26-2004 10:56 PM

xmms speeds threw songs
 
hey whats up. i think im making this place my posting place. basicly everytime justlinux.org (formerly linuxnoobie.org or something like that) doesnt or wont answer my question i find the answer here.

anyway i downloaded and installed the new version of xmms from rpm. i also for some reason installed xmms from tars the day before.

soooo, now if i run xmms as root it plays just fine. however when i run as a non root user it just scrolls threw my songs silently. i wouldnt mind running the program as root but i use fluxbox and the config file that controlls my menu is in my other account.

it looks like this

Code:

[exec] (xmms player) {xmms}
is there a way i could make it look like this?


Code:

[exec] (xmms player) {su | xmms}
or should i work on installing xmms as a regular user?


anyway thanks in advance

:newbie:

jlturbos 02-26-2004 11:21 PM

You shouldn't need to run any program as root in order to make it work properly! That's called a kludge and we will work on a real solution.

What do you mean it scrolls through the songs silently? Do you mean it scrolls slowly, as tho they are playing, except no sound comes out.
Post the output of this command and see what you get:
# ls -log /dev/dsp
I get:
lr-xr-xr-x 1 9 Feb 25 20:40 /dev/dsp -> sound/dsp
so then I do:
# ls -l /dev/sound/dsp
and I get:
crw-rw-rw- 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp
meaning I can write to the audio device.
If you get something like:
crw------- 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp
That means you can't write to the sound card and you need to do as root:
# chmod 666 /dev/sound/dsp

If when you say it scrolls through songs, it scrolls very quickly, that could mean that you don't have read permissions on the directory where the songs are held.
Then do:
# chmod a+r /your/song/directory/
and that should work.

JL

doralsoral 02-26-2004 11:31 PM

dude you shouldnt be running X as root, bad things can happen

king_nothingzzz 02-27-2004 12:20 AM

The way i see it, there is no problem with the permissions etc...
I think when running as a normal user, you havent selected the proper input/output plugin.

1. Run Xmms as a normal user

2. Cntrl + P

3. Under Input Plugins, make sure all the plugins are enabled (like mp3, wav, ogg etc..)

4. In outout plugin, it should be either *OSS Driver* or *eSound Output Plugin* and NOT Disk Writer Plugin

What is probably happening is that you have Disk writer Plugin as your output plugin and xmms is converting all your mp3s into wav files and placing them in your home directory....

This is the solution to your problem if songs run 2-3 times faster than normal and no sound is output...

Cheers

king_nothingzzz

sporkit 02-27-2004 08:49 AM

Quote:

Originally posted by king_nothingzzz
What is probably happening is that you have Disk writer Plugin as your output plugin and xmms is converting all your mp3s into wav files and placing them in your home directory....
unbelievable. that was exactly it. i love this site. :D


thanks so much!

king_nothingzzz 02-28-2004 12:34 AM

No worries,

Thanks anyways for letting other people know what the prob was...

Cheers:)

king_nothingzzz


All times are GMT -5. The time now is 11:51 PM.