PeasyMP3 - a Minimal Media Player

Audio editors, music players, video players, burning software, etc.
Message
Author
Pelo

and it works fine !

#81 Post by Pelo »

and it works fine ! This morning i fed it with a cinquantaine* of new songs. Gracias RCRSN 51 to deal with las aplliccaciones de los aficinados de musica. Es un trabajo util.
Useful applications.
*cinquantaine > About fifty songs
Some VIPs in the forum can tell what they want, but they have nothing more professional to provides (and working in Puppy, of course).
What i am looking for since weeks is a CD player that can search on the web titles of songs playing. It looks so easy ... :!:
A CD player, not a Mp3 player.
There was no topic for Gnome Player on our forum 'Multimedia' :!: :!: :!:
Attachments
FreeBSD.jpg
Gnome is really not Bad. How-to find images (album, artists) on the web ?
(26.67 KiB) Downloaded 396 times
Last edited by Pelo on Fri 27 May 2016, 01:44, edited 1 time in total.

Pelo

Peasy MP3 does the job.. OB-Precise

#82 Post by Pelo »

Peasy MP3 does the job.. OB-Precise That is enough for me. Excepted when i look for a player for my sunday afternoons.
Saturday : a foolish idea, i want to use a jukebox for ... my Pyppies CDs
Trying to use the Puppy's names as a play list, With CD cover..
Stp No answer needed. Peasy MP3 for standard usage is enough, that has to be known.
Ah music play list does not change when song changes to next... :?:

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#83 Post by rcrsn51 »

See the update on the first page.

-------------------------

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

PeasyMP3

#84 Post by Yogi »

Hello rcrsn51,

I'm remastering Quirky 1.4.2 Baby and want to use Peasy cause it's small and makes use of /usr/bin/aplay. No problem playing mp3 files but it will not stream internet stations. I guess I could use Cmus or mplayer for that purpose but I would really like to figure this out. I've followed your instructions every way possible. I stream internet radio all the time using a variety of apps but this one had got me stumped! What am I not seeing?

Thanks
Attachments
puppy_screen.jpg
(102.98 KiB) Downloaded 202 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#85 Post by rcrsn51 »

PeasyMP3 definitely plays internet radio streams, but it needs mplayer.

It only uses aplay for a few formats like mp3 or wav.

Code: Select all

case "$EXT" in
			mp3) lame --decode -h "$FULLPATH" - 2>/dev/null | aplay >/dev/null 2>&1 ;;
			wav|au) aplay "$FULLPATH" >/dev/null 2>&1 ;;
			cd) cdda2wav -H $(cat "$FULLPATH") - 2>/dev/null | aplay -f cd >/dev/null 2>&1 ;;
			url) mplayer -ao alsa $(cat "$FULLPATH" | tr -d [:cntrl:]) >/dev/null 2>&1 ;; 
			pls|m3u|asx) mplayer -ao alsa -playlist "$FULLPATH" >/dev/null 2>&1 ;; 
			mid) timidity -Ow -o- "$FULLPATH" 2>/dev/null | aplay >/dev/null 2>&1 ;;
			*) mplayer -ao alsa "$FULLPATH" >/dev/null 2>&1 ;;
esac

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#86 Post by Yogi »

OK. I have mplayer and it does play internet radio streams. Obviously, Peasy recognizes the .mp3 file and then uses aplay. But for some reason it's not recognizing the .m3u file and triggering mplayer. How does PeasyMP3 call mplayer for this?
Attachments
mplayer_screen.jpg
(108.61 KiB) Downloaded 142 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#87 Post by rcrsn51 »

Right-click on the m3u file and use Open With > PeasyMP3.

Or set the run action to: peasymp3 "$@"

I made my own rustradio.m3u file and it works for me.

I don't recognize the GUI front-end that you found for mplayer, but you don't need it. PeasyMP3 will be the front-end.

Do you actually have mplayer installed? Type: mplayer

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#88 Post by Yogi »

Have already done as you suggested. Mp3 files play fine but .m3u or .pls will not, even though they are shown in the playlist. How did you make your rustradio.m3u file? Mine is simply like this:

#EXTM3U

http://rustradio.org:8000

Shouldn't need anything else. Works in Cmus, Mocp and Mplayer.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#89 Post by rcrsn51 »

I have the same .m3u file as you.

Go to where the file is located, open a terminal and type:

mplayer -playlist rustradio.m3u

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#90 Post by Yogi »

That's interesting - in the attached image, the upper terminal was opened from the desktop and failed. The lower terminal was opened where the .m3u file was located and worked. So it's not an mplayer issue. But I thought that when peasymp3 sees an .m3u/.pls file it's supposed to execute the following script:

pls|m3u|asx) mplayer -ao alsa -playlist "$FULLPATH" >/dev/null 2>&1 ;;

And it doesn't appear to do that.
Attachments
m3u_screen.jpg
(117.22 KiB) Downloaded 77 times

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#91 Post by Yogi »

Also, the .m3u files contain the URL/HTTP address of the radio station, so why should a "path" even matter?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#92 Post by rcrsn51 »

My command was: mplayer -playlist rustradio.m3u

It just names the file, not the full path to its location on your hard drive. So you need to run the command where the file is located. All Linux commands work that way.

Run: mplayer -ao alsa -playlist rustradio.m3u

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#93 Post by Yogi »

Okay. I understand the terminal/path procedure. But, even when using peasymp3carousel to specify the folder where the mp3 and m3u files are located, peasymp3 will only play the mp3s and not the m3u. Notice that the /mnt/sda2/mp3 folder is listed in peasymp3carousel, peasymp3 playlist, and the symbolic links are in /tmp/peasymp3/peasycarousel. So there shouldn't be an issue with the "path". The locations of the files are there. It appears to be a hand-off/recognition issue with peasy. I don't know, for me, this is harder than it should be.
Attachments
m3u_screen.jpg
(103.75 KiB) Downloaded 186 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#94 Post by rcrsn51 »

Here is what I would suggest.

Get a standard Puppy that already has mplayer, like a Slacko.

Install PeasyMP3.

Don't worry about the carousel. Run your .m3u file with the right-click procedure.

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#95 Post by Yogi »

OK. Will let you know. Thanks.

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#96 Post by Yogi »

Tested PeasyMP3 in Thin Slacko and it works fine. Streams all my internet radio stations. Who knows? The one thing I've discovered with Linux is this, it's always something! Don't know if I'll ever figure out why but I've already spent more time than I care, But, hey, that's how you learn.

Thanks again, rcrsn51!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#97 Post by rcrsn51 »

I located Quirky 1.4 and it works fine there too.

I suspect that something has gone wrong in your remaster.

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#98 Post by Yogi »

You know, that could very well be. Think I'll try the original iso and see what happens. Will let you know.

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#99 Post by Yogi »

Tried PeasyMP3 in the original Quirky 1.4.2 Baby iso and it has the same issue with not playing internet radio streams. Oh well, it still makes a good lightweight mp3 player. Very low on resources, too. CPU usage for lame and aplay < 2% and memory usage 0%. Think I'll keep it.

Thanks

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#100 Post by rcrsn51 »

I hunted for the quirky 1.4.2 baby iso but it has disappeared. So I guess this will remain a mystery.

Post Reply