Tiny Core Base > CorePlus

Run Mplayer after boot

<< < (2/2)

Misalf:
In the thread you posted the link to, they ping the server until it pongs back.
Might make sense.

--- Code: ---{
while true; do ping -c1 91.221.151.155 && break || sleep 1; done
xterm -e mplayer "http://91.221.151.155:80/;?.mp3"
} &

--- End code ---

evertvaningen:

--- Quote from: Misalf on June 14, 2017, 10:34:27 AM ---In the thread you posted the link to, they ping the server until it pongs back.
Might make sense.

--- Code: ---{
while true; do ping -c1 91.221.151.155 && break || sleep 1; done
xterm -e mplayer "http://91.221.151.155:80/;?.mp3"
} &

--- End code ---

--- End quote ---

It does open after boot but there is no sound. AlsaMixer tells me there is sound.
speaker-test: not found... :s

Getting tired of all these weird problems all the time...
Reinstalling and try again.

Install alsa.tcz

$echo "amixer set "Master" 39 unmute" > ~/.X.d/alsaunmute

To test the audio
$ speaker-test -Ddefault:0 -c2 -t wav -l1

After clean install speaker-test still missing?

evertvaningen:

--- Quote from: evertvaningen on June 14, 2017, 10:59:55 AM ---
--- Quote from: Misalf on June 14, 2017, 10:34:27 AM ---In the thread you posted the link to, they ping the server until it pongs back.
Might make sense.

--- Code: ---{
while true; do ping -c1 91.221.151.155 && break || sleep 1; done
xterm -e mplayer "http://91.221.151.155:80/;?.mp3"
} &

--- End code ---

--- End quote ---

It does open after boot but there is no sound. AlsaMixer tells me there is sound.
speaker-test: not found... :s

Getting tired of all these weird problems all the time...
Reinstalling and try again.

Install alsa.tcz

$echo "amixer set "Master" 39 unmute" > ~/.X.d/alsaunmute

To test the audio
$ speaker-test -Ddefault:0 -c2 -t wav -l1

After clean install speaker-test still missing?

--- End quote ---

Auto play Mplayer is now with sound so all is good.

I installed Alsa-Config...

evertvaningen:
I get the error

Cache empty, consider increasing -cache and/or -cash=min. [performance issue]

then it resumes 0.1 sec... get the error again and then the program exits.

Any way to fix this?

Something like...?
$mplayer http://91.221.151.155:80/;?.mp3 -cache

curaga:
That's not why it exits. Look at the whole log.

Navigation

[0] Message Index

[*] Previous page

Go to full version