Page 1 of 2

Streamtuner+AlsaPlayer-476kb or Streamtuner+Aqualung-576kb

Posted: Wed 11 Feb 2009, 05:18
by ttuuxxx
Hi This is for Puppy 4 Series. I re-themed Streamtuner, Plus Made some themes for Aqualung. When you select a song in Streamtuner it will launch AlsaPlayer or Aqualung player, AlsaPlayer will play straight away, and Aqualung you have to press the play button. They both work great, enjoy :) I combined these players with streamtuner because, Gxine will take upto 20% of your cpu and sound playback can be choppy, While these small players of online audio streams plus cd/mp3 etc take around 1-4%CPU, It makes the sound much better, I can surf and listen to music at the same time without any sound loss or breakage, where Gxine it would happen all the time.
Enjoy :)
ttuuxxx

Just updated Aqualung with libsamplerate, which allows you change the sample rate quality. Handy if its playing slow. Or that you like higher quality. etc adds around a extra 102kb to the package
ttuuxxx

@@@ Updated @@@

If downloaded the first release of Aqualung+Streamtuner and noticed no taskbar icon, there is a patch at the bottom of the page, I've included the missing icon in the updated packages now also.

Posted: Wed 11 Feb 2009, 11:52
by ttuuxxx
Now its 3 packages one new aqualung with libsamplerate and streamtuner, about 102kb larger
ttuuxxx

Posted: Wed 11 Feb 2009, 17:22
by magerlab
i like aqualung( there was a pet with it before)
but yours misses a tray icon?
when i close the window it doesnot stop to play
and no icon in the tray

Posted: Wed 11 Feb 2009, 21:01
by ttuuxxx
magerlab wrote:i like aqualung( there was a pet with it before)
but yours misses a tray icon?
when i close the window it doesnot stop to play
and no icon in the tray
It was missing a icon, the packages have been updated and the fix for previous downloads is below
ttuuxxx

Posted: Wed 11 Feb 2009, 21:25
by aragon
hi ttuuxxx,

it works (see image below from another pet) also in jwm. maybe a missing icon?

aragon

Posted: Wed 11 Feb 2009, 21:35
by ttuuxxx
It was missing a icon, the packages have been updated and the fix for previous downloads is below
ttuuxxx

Posted: Wed 11 Feb 2009, 22:13
by ttuuxxx
Well I did remove the 64x64 icon, lol but what does a 64x64 icon have to do with a taskbar? but thats where the problem is. It already had 16x16, 24x24, 32x32, 48x48, 64x64 and a general icon 6 icons all the same, and 99.9999999% of the time you can remove the 64x64 or 128x128 if it has it, but not this time, lol Download the pet below to fix the issue and I'll update the packages above.
ttuuxxx

Posted: Thu 12 Feb 2009, 03:18
by ttuuxxx
just updated the SHOUTcast plugin thanks to Catdude, which he provided that shows all of the different genre's. So all 3 packages now have been updated. Hopefully the last time for now :)
ttuxxx

Posted: Tue 14 Apr 2009, 04:58
by panzerpuppy
ttuuxxx,there's a newer SVN snapshot of Alsaplayer available on SourceForge (~Apr 2008) ;)

Latest SVN version changelog:
--------------------------------------------------
- 2 bug fixes in the id3 tag support
- fix getting JACK sample rate
- added initial systray / icon function <- interesting :)
- removed dead code
- fix memleak with path copying
- don't stop if we cannot find plugin->stream_info

Are there any other streamtuner plugins besides Xiph and Shoutcast ?

Posted: Tue 14 Apr 2009, 05:04
by ttuuxxx
panzerpuppy wrote:ttuuxxx,there's a newer SVN snapshot of Alsaplayer available on SourceForge (~Apr 2008) ;)

Latest SVN version changelog:
--------------------------------------------------
- 2 bug fixes in the id3 tag support
- fix getting JACK sample rate
- added initial systray / icon function <- interesting :)
- removed dead code
- fix memleak with path copying
- don't stop if we cannot find plugin->stream_info

Are there other stream plugins for Streamtuner besides Xiph and Shoutcast ?
only a python plugin, never tried it due to the needed python library.
Next time I have 4.2 up and running I'll compile the svn model.
working on dpup right now
ttuuxxx

Posted: Tue 14 Apr 2009, 05:13
by panzerpuppy
I get frequent audio skips when playing net radio streams even when the buffer is 90% full and CPU usage is 0%.

I tried to start Alsaplayer in real-time mode with the -r switch - even that doesn't help :(

Posted: Tue 14 Apr 2009, 06:02
by ttuuxxx

Posted: Tue 14 Apr 2009, 06:28
by panzerpuppy
Similar problem with Gxine...but I can't monitor the buffer level with this player,so I don't know if it's due to buffer underruns this time.

ttuuxxx,try this stream (play it for a few hours) and see if you get any of those annoying skips / breaks:
http://91.121.211.208:8418

Posted: Tue 14 Apr 2009, 11:49
by synth
Here's a nice tip for the audiophiles using AlsaPlayer / Puppy:

If you have integrated AC'97 / HDA audio or a Creative soundcard (Live,Audigy,Audigy2 etc.), then run alsaplayer like this:

Code: Select all

alsaplayer --frequency 48000
The difference in the sound quality is like night and day.

What you're doing with this trick is bypassing the shitty resampling algorithm of the Creative / onboard crap and using much better (software) resampling.

The CPU overhead is minimal.

And just for fun,try this one:

Code: Select all

alsaplayer --frequency 8000
for that awesome 'LoFi' sound.

Posted: Tue 14 Apr 2009, 14:26
by ttuuxxx
panzerpuppy wrote:Similar problem with Gxine...but I can't monitor the buffer level with this player,so I don't know if it's due to buffer underruns this time.

ttuuxxx,try this stream (play it for a few hours) and see if you get any of those annoying skips / breaks:
http://91.121.211.208:8418
Hi I'm using Dpup right now and I loaded that link on a old/small version of BMP Beep media player I compiled on dpup and it plays perfect, been playing it for about 30mins, I'll tell you if there's any change :)
ttuuxxx

Posted: Sun 19 Apr 2009, 09:51
by panzerpuppy
Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?

Posted: Sun 19 Apr 2009, 09:59
by ttuuxxx
panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx

Posted: Sun 19 Apr 2009, 10:09
by panzerpuppy
ttuuxxx wrote:
panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx
Try this (low quality) stream for example:

mms://66.90.103.45:80/golden

(Gxine can play it, but Alsaplayer fails to open the stream)

Posted: Sun 19 Apr 2009, 10:23
by ttuuxxx
panzerpuppy wrote:
ttuuxxx wrote:
panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx
Try this (low quality) stream for example:

mms://66.90.103.45:80/golden

(Gxine can play it, but Alsaplayer fails to open the stream)
the actual streams for that mms file is
http://66.90.103.45:80/golden?MSWMExt=.asf
and no that didn't play in bmp maybe with a plugin, but not by default, That would play with bigbass's release of xmms for gtk2 puppy 4.0 http://www.murga-linux.com/puppy/viewto ... 51&t=29529
he included wma format and gtk1 libs
ttuuxxx

Posted: Sun 19 Apr 2009, 11:24
by trapster
ttuuxxx wrote:
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon...
Why build for different players? This is what I have for bmp.
Just add the script (ie. streamtuner2bmp) for whichever player to /usr/local/streamtuner.

streamtuner2bmp:

Code: Select all

#!/bin/sh
sed -i -r '/#M3U/d' $1
bmp $1 &
exit
Of course, make sure you symlink beep-media-player to bmp

Now, when you get streamripper incorporated...

these work:

Code: Select all

mplayer mms://66.90.103.45:80/golden

Code: Select all

gxine mms://66.90.103.45:80/golden

Code: Select all

xine mms://66.90.103.45:80/golden
(with xine-ui)