Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 10:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
PeasyMP3 - a Minimal Media Player
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Sun 15 Sep 2013, 10:13    Post subject:  

A tip for novices like me:

You can save a step if you play directories via the 'open with' route. Customise the Rox menu to 'Play with peasymp3' when you right-click any folder. Brilliant!

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Sun 15 Sep 2013, 12:37    Post subject:  

Thanks for that tip.

I have posted a new version on Page 1 that has improved support for Internet radio streams.
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Mon 16 Sep 2013, 14:08    Post subject:  

Another thought occurred to me - would it be possible to detect when the program was fed a directory from a customised Rox context menu and if so automatically start playing? I can thing of no logical reason not to do this from the users perspective!

Cheers

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Mon 16 Sep 2013, 16:28    Post subject:  

PaulR wrote:
Another thought occurred to me - would it be possible to detect when the program was fed a directory from a customised Rox context menu and if so automatically start playing?

I looked at this idea once and decided against it.

For example, my default .peasymp3 folder has a bunch of Internet radio stations. I rarely want to auto-play the first alphabetical entry in the playlist.

It's only one more mouse click to start playback.
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Tue 17 Sep 2013, 02:32    Post subject:  

Maybe if the first file in the directory is an mp3 etc rather than a link? Or perhaps a command line switch?? Just thoughts...

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Tue 17 Sep 2013, 10:37    Post subject:  

PeasyMP3 v3.5 now plays MIDI files through Timidity. Here are the instructions for installing Timidity.

1. Install the timidity_wary53-2.13.1.pet. Click the grey Download button on the left.

2. Download this soundfont package to a temporary location.

3. Copy the file soundfont.sf2 to the folder /usr/share/timidity (or link it).

4. Using one of your MIDI files, test Timidity from the command line: timidity xxx.mid

5. Make PeasyMP3 the default player for MIDI files.
a. Right-click on a MIDI file
b. Select: Set Run Action
c. Enter the command: peasymp3 "$@"
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Thu 19 Sep 2013, 10:01    Post subject:  

Would it make sense to have a 'stop' button?

With streamed media this would allow one to temporarily suspend the stream instead of having to quit the program or fiddle with a volume control. Pressing 'start' afterwards would reconnect the stream (or restart an mp3).

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Thu 19 Sep 2013, 10:14    Post subject:  

PaulR wrote:
With streamed media this would allow one to temporarily suspend the stream instead of having to quit the program or fiddle with a volume control.

The Pause/Resume buttons do this for me. Do they not work with your streams?
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Thu 19 Sep 2013, 12:48    Post subject:  

rcrsn51 wrote:
The Pause/Resume buttons do this for me. Do they not work with your streams?


No, I get a constantly repeating sound if I pause a stream; the only way to silence it is to exit the program. I suppose it's related to the eeepc hardware.

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Thu 19 Sep 2013, 12:52    Post subject:  

Can you give me a link to one of these streams? Do you get the same thing with mp3s?

[Edit] I tested this with an Acer netbook and Pause/Resume worked OK. However, here is a work-around for your eeepc.

1. Go to /usr/sbin and open peasymp3 in a text editor.

2. In geany, turn on line numbering with View > Editor > Show Line Numbers

3. Go to line 152. Change the word PAUSE to STOP

4. Go to line 156. Change RESUME to CONTROL 0

5. Save and exit.
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Thu 19 Sep 2013, 13:33    Post subject:  

Pausing/resuming an mp3 works flawlessly every time, whereas pausing a stream causes the same problem every time - the last fraction of a second of whatever sound was broadcast is repeated ad infinitum.

Here's one stream I've tried:
http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls

I obtained the link from the online database linked to from the PupRadio/PupTelly program - I haven't looked for an alternative link for the same station as yet.

Paul
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Thu 19 Sep 2013, 13:40    Post subject:  

That stream pauses/resumes OK for me.

Try my suggestion above. However, it will affect pause/resume of other media types too.
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Thu 19 Sep 2013, 14:22    Post subject:  

Right, thanks - I'll decide which is most likely to require a pause and edit the script accordingly if necessary. Thanks again for the help.

Paul
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 854

PostPosted: Fri 20 Sep 2013, 13:17    Post subject:  

After years of using sound cards which had built-in synthesisers, I currently have one with none, so searched the Additional Software forum for Timidity. Happily I found your above post, with links for Timidity and the sound font, as the first hit.

And, of course, while here I tried out the new version of PeasyMP3 with support for Timidity.

I can report that all works well on Racy 5.2.2 (although I did a bit of head-scratching before I noticed that the first .mid file that I tried was actually a .MID file).


(By the way, I can report that the PaulR's BBC link works fine for me. Pause brings silence, and Resume picks up cleanly from where it left off. I do remember years ago occasionally running into the same symptom that he is experiencing, but I had different hardware then. If I remember correctly, it was inconsistent, and often happened after listening for a long time. I had no trouble with PeasyMP3 even after listening for about an hour.)

Thanks for PeasyMP3.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8557
Location: Stratford, Ontario

PostPosted: Fri 20 Sep 2013, 13:26    Post subject:  

Thanks for testing
Quote:
(although I did a bit of head-scratching before I noticed that the first .mid file that I tried was actually a .MID file).

I never got around to dealing with this - maybe it's time to do so.
Quote:
Pause brings silence, and Resume picks up cleanly from where it left off.

I may have a solution to Paul's problem and am waiting for him to test it.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 5 [64 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0667s ][ Queries: 13 (0.0072s) ][ GZIP on ]