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 21 Dec 2014, 06:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Simple audio player needed
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [51 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Sun 02 Jun 2013, 03:47    Post subject:  Simple audio player needed  

I need a very simple audio player that will just play the contents of a directory (i.e no playlists, visualisation or any 'add-ons').

All that is required is to be able to browse to a directory and choose play with the ability to pause/stop/next/previous.

PlayMusic (http://puppylinux.info/topic/playmusic-a-simple-lightweight-gui-for-audio-players) is pretty much what I'm after - it works but for some reason it always stops after playing the first track.

I don't want to install anthing >10Mb !

TIA

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


Joined: 07 Feb 2011
Posts: 90
Location: Valley of the Sun

PostPosted: Sun 02 Jun 2013, 05:34    Post subject:  

OscarTalks has compiled the latest DeaDBeeF player for various Puppies here. It may be more feature-rich than what you want, but it's a reasonable 2.5mb and it plays directories via SendTo in Rox flawlessly.
capture9777.png
 Description   
 Filesize   12.03 KB
 Viewed   1080 Time(s)

capture9777.png


_________________
Primary - Intel Pentium 4 2.40GHz, 571MB RAM, ATI Radeon 7000. Linux Mint 17 Qiana installed.
Secondary - Pentium 3 533MHz, 385MB RAM, ATI Rage 128 Pro ULTRA TF. Precise Puppy 5.7.1 Retro full install.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Sun 02 Jun 2013, 05:59    Post subject:  

This should be handled by pMusic, so I made a brief test (pmusic /root), but it fails to use a directory as music source. This is a bug, and will be fixed for the upcoming pMusic 4. On the other hand - pmusic /root/*.mp3 works well.

How the gui looks, is handled by the frontend, and can be whatever you like.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Sun 02 Jun 2013, 12:40    Post subject:  

Thanks both Very Happy

Session, I'll give that a try.

Zigbert, I thought PMusic required tracks to be added to a playlist? (I'm sure I read that on the wiki??). Ideally I just want the user to use a gui to browse to the folder she requires and click play. Personally I like PMusic but I need something uber-simple for this person.

Cheers

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


Joined: 29 Mar 2006
Posts: 5813
Location: Valåmoen, Norway

PostPosted: Sun 02 Jun 2013, 15:02    Post subject:  

Paul
There is no problem building a pMusic after your specifications.
Of course it require an evening with work to build the frontend, but all in all that should not be a hard task.

If you get what you want with Deadbeaf (or anything else), go for it. Maybe Thunor want to fix PlayMusic...

But if you don't get what you want, please make a draft of how you want the gui to look/work, and I can take a look...


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Sun 02 Jun 2013, 15:24    Post subject:  

zigbert wrote:

But if you don't get what you want, please make a draft of how you want the gui to look/work, and I can take a look...


That's great thank you - I'll report back here Very Happy

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


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

PostPosted: Sun 02 Jun 2013, 16:12    Post subject:  

@PaulR: Is this the kind of thing you are looking for?

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

Discussion moved here.

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

Last edited by rcrsn51 on Sat 15 Jun 2013, 05:57; edited 56 times in total
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Mon 03 Jun 2013, 13:25    Post subject:  

Thanks rcrsn51 - that is pretty much precisely what is needed and beautifully compact! (I started bulding a quick version using BaCon but knowing nothing about aply/ffplay etc couldn't figure out how to pause/resume).

I'd add one request if you ever fancy modifying it - is it possible to kill the volume temporarily when resuming to avoid the 'fast forward' noise? (I'm guessing that it's seeking the nearest sort of 'key frame')

EDIT: Showing a list of mp3 files in the directory in a list or combo box might be useful (or maybe showing the current song in the window titlebar and track titles as tooltips over the next/prev buttons - sorry I have no idea if any of that is possible using gtk etc)

Many thanks

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


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

PostPosted: Mon 03 Jun 2013, 14:06    Post subject:  

PaulR wrote:
is it possible to kill the volume temporarily when resuming to avoid the 'fast forward' noise?

I don't hear anything like this. Maybe it's an artifact of your particular sound card. There is no difference in the code between playing a file normally and resuming it.

Quote:
(i.e no playlists, visualisation or any 'add-ons').

Quote:
Showing a list of mp3 files in the directory in a list or combo box might be useful (or maybe showing the current song in the window titlebar and track titles as tooltips over the next/prev buttons - sorry I have no idea if any of that is possible using gtk etc)

Make up your mind. Wink
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Mon 03 Jun 2013, 14:56    Post subject:  

Yes, I thought that wouldn't slip by you Very Happy

The difference between what I meant and a 'normal' playlist:

You wouldn't need (or be able) to add, delete or re-order tracks but you would have a visual indication of the running order (or what's next/before if shown as tooltips or somesuch). Essentially the program would just list any mp3 files in the directory in a listbox - and possibly indicate the current track by highlighting an item in that list.

You could add a simple on/off toggle or radio button labelled 'repeat' for when there's lots of washing up to do or wallpaper to be hung Very Happy

My it's getting fancy now! Razz

Paul
screenie2.jpg
 Description   
 Filesize   25.33 KB
 Viewed   893 Time(s)

screenie2.jpg

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4465
Location: Gatineau (Qc), Canada

PostPosted: Tue 04 Jun 2013, 13:32    Post subject:  

Hi, PaulR.

Your playlist is funny. How many "salty dogs"* did you have before writing it?! Laughing (To continue the dog metaphor!)

Cheers!

musher0

~~~~~~~
* http://www.drinxo.com/cocktail-salty-dog-2178.html

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Tue 04 Jun 2013, 15:01    Post subject:  

musher0 wrote:

Your playlist is funny. How many "salty dogs"* did you have before writing it?! Laughing (To continue the dog metaphor!)


Very Happy

Last edited by PaulR on Mon 10 Jun 2013, 17:02; edited 1 time in total
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 248
Location: UK

PostPosted: Mon 10 Jun 2013, 13:09    Post subject:    

rcrsn51:

The milestone version works perfectly for me - it does just what I need it to and will be much used I'm sure. Thank you very much Very Happy

One idea for more functionality -> allow skipping to a track by selecting it in the playlist window as the user currently has to 'work out' where the jump function will land.

I suspect this may not be possible as multiple instances of the playlist dialog are possible (actually is there a way to prevent that? Maybe disable/enable the button as the playlist is opened/closed?) and I'm not sure what those dialogs can feed back to the main program.

Probably too involved for the minimalist aims of the program.

Cheers

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


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

PostPosted: Mon 10 Jun 2013, 14:41    Post subject:  

Thanks for testing this.

I looked at many ways of handling the playlist while keeping the code as simple as possible. Currently, the Playlist window disconnects from the main program so you can browse it without affecting the playback. It is meant to be read-only. You will notice that when you select Jump, the playback stops in preparation for selecting a new track. Maybe the Playlist screen should have a message that explains this.

In spite of my claiming that v2.5 is a milestone, there will soon be a v2.6. It will auto-play a file when you select it in ROX. Now you can set PeasyMP3 as your default audio/video player in /usr/local/bin and play files by left-clicking on them.

Bill
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Wed 12 Jun 2013, 07:22    Post subject:  

Perhaps a bit off-topic, but one thing I've always missed in Linux is the "directory player" 1by1. When I saw the "file browser" plugin for deadbeef I hoped that was it, but unfortunately not Sad
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [51 Posts]   Goto page: 1, 2, 3, 4 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.0839s ][ Queries: 12 (0.0052s) ][ GZIP on ]