Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#158864 - 04/05/2003 10:33 Alternate player binary?
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Anyone gotten any other player apps to compile and run on the empeg?

I have been trying to compile madplay but keep running into errors...

I wish we could pass args to /empeg/bin/player...like empeg/bin/player somesong.mp3
_________________________
-Jason

Top
#158865 - 04/05/2003 10:58 Re: Alternate player binary? [Re: suomi35]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
What are you attempting to do?

You can send the player serial commands programatically by sending the data to /proc/empeg_notify (you must have Hijack installed).

echo 'SERIAL=#100' > /proc/empeg_notify

100 would be the FID to play.
_________________________
Mark Cushman

Top
#158866 - 04/05/2003 13:58 Re: Alternate player binary? [Re: suomi35]
753
member

Registered: 25/10/1999
Posts: 149
Offtopic, but what kind of drone is that in your avatar picture?
_________________________
_______ Thomas

Top
#158867 - 04/05/2003 14:57 Re: Alternate player binary? [Re: suomi35]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
madplay should work fine since it was originally written to be used on the empeg anyway...
There is an empeg audio output module which you have to tell it to you. Can't remember how exactly, should be in the docs.

- Trevor

Top
#158868 - 05/05/2003 17:00 Re: Alternate player binary? [Re: tman]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Trying to emulate a sort of 'rio receiver' device.

I have shared out mp3s from a machine on my LAN via NFS and mounted them on the empeg.

Now I want an mp3 player app that can play those NFS mounted files via cmdline...but I haven't been able to compile any players effectively.

My avatar is one of the bots from Silent Running
_________________________
-Jason

Top
#158869 - 05/05/2003 17:05 Re: Alternate player binary? [Re: suomi35]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
The RioPlay client has been modified to run on the empeg. And you could enable NFS client support in the kernel again.
Search on this BBS for RioPlay. Somebody on here did the empeg modifications.

- Trevor

Top
#158870 - 06/05/2003 02:34 Re: Alternate player binary? [Re: suomi35]
753
member

Registered: 25/10/1999
Posts: 149
My avatar is one of the bots from Silent Running


Awh, a movie. I thought it was for real.
_________________________
_______ Thomas

Top
#158871 - 06/05/2003 13:30 Re: Alternate player binary? [Re: tman]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
I did not know that!

Will check it out tonight. Thanks for the info
_________________________
-Jason

Top
#158872 - 12/05/2003 22:11 Re: Alternate player binary? [Re: suomi35]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
which one is that, Heuy Dewy or Louie?
_________________________
Glenn

Top
#158873 - 13/05/2003 00:35 Re: Alternate player binary? [Re: gbeer]
simspos
enthusiast

Registered: 28/03/2002
Posts: 230
Loc: Dudley, UK
which one is that, Heuy Dewy or Louie?

Awww, don't go there, or I shall start crying again,... sooo sad, sooo sad

Top
#158874 - 21/05/2003 09:13 Re: Alternate player binary? [Re: simspos]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
I've been trying to compile madplay for the empeg for about a week of evenings now with no luck...

Anyone else ever get the thing to compile?

Madplay on Debian.org
_________________________
-Jason

Top
#158875 - 21/05/2003 15:30 Re: Alternate player binary? [Re: suomi35]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Yup
I'll see if I can find the binary.

- Trevor

Top
#158876 - 21/05/2003 18:14 Re: Alternate player binary? [Re: tman]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
That would be GREAT
_________________________
-Jason

Top
#158877 - 23/05/2003 22:00 Update!!!!!!! [Re: suomi35]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
Okay, I have done a little more research.

To recap, I am trying to implement a system whereby the empeg acts as 'receiver' to play files streamed to it via another machine.

My situation:

I have a large music server with about 4 or 5 times the amount of files that will fit on my empeg. I want to be able to queue the songs from my music server up on some sort of dynamic list that can be added to or taken away from on the fly and have the running order output on the empeg.

I came across EsounD tonight and it looks very promising. A plugin for winamp3 allows you to direct its output to an EsounD daemon. I have compiled the daemon for empeg and after collecting all the required libs I can report that...it runs!

But.

It refuses to bind to any port...

I have tried quiting the player, etc, but no luck. Any ideas?

This promises to be a really sweet solution once I can get it working. Any help/hints/tips are greatly appreciated.
_________________________
-Jason

Top
#158878 - 27/05/2003 08:29 Re: Update!!!!!!! [Re: suomi35]
trs24
old hand

Registered: 20/03/2002
Posts: 729
Loc: Palo Alto, CA
Do they have that plugin for winamp 2.9? Winamp3 sux the big one.

- trs
_________________________
- trs

Top
#158879 - 27/05/2003 08:34 Re: Update!!!!!!! [Re: trs24]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
I agree 100% that winamp3 bites...I was hoping to get the EsounD stuff working and then try to port the plugin over to winamp2...
_________________________
-Jason

Top
#158880 - 28/05/2003 08:47 Re: Update!!!!!!! [Re: suomi35]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
I still can't get the player to give out any ports...
_________________________
-Jason

Top
#158881 - 29/05/2003 02:36 Re: Alternate player binary? [Re: simspos]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
In reply to:

Awww, don't go there, or I shall start crying again,... sooo sad, sooo sad




Yes, the sight of a 24 year old blubbing his eyes out is not a pretty sight.
_________________________
Cheers,

Andy M

Top
#158882 - 29/05/2003 09:55 Re: Update!!!!!!! [Re: suomi35]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
When any app, including esd, is unable to bind to a port, it nearly always returns a reason for the failure as the result code. Look at the result code and see why it think's it is having trouble.

One possibility could be lack of a configured ethernet connection. On the Empeg, the player software configures the ethernet, so if you have completely disabled the player software, you may not have any ethernet.

So long as the player software is allowed to start up and run, and you don't kill it off until the ethernet has been verified (observed) to be configured and running, then things ought to work.

Cheers

Top
#158883 - 02/06/2003 21:38 Re: Update!!!!!!! [Re: mlord]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
There is nothing returned on exec...only this:

sh-2.03# ./esd
Unable to bind port 16001
sh-2.03#

I have tried to have it bind to different ports as well and this is all being done with the player software running...
_________________________
-Jason

Top
#158884 - 03/06/2003 05:38 Re: Update!!!!!!! [Re: suomi35]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
To see the result code from a failed command, do this at the shell prompt immediately after issuing the (failed) command:

echo $?

Top
#158885 - 04/06/2003 20:44 Re: Update!!!!!!! [Re: mlord]
suomi35
enthusiast

Registered: 16/02/2002
Posts: 290
Loc: Denver, CO
esd fails really quick...there isn't really time to get the echo in there...it returns a value of 1 when typed in at the next prompt.

sh-2.03# ./esd
Unable to bind port 16001
sh-2.03# echo $?
1
sh-2.03#
_________________________
-Jason

Top
#158886 - 05/06/2003 06:14 Re: Update!!!!!!! [Re: suomi35]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. bummer. 1 == EINVAL, which is not overly informative. Usually it means "bad parameters" to esd, so triple-check your command syntax, and even try the EXACT same version of ESD on your PC first.

Cheers

Top