Unoffical empeg BBS

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

Topic Options
#73564 - 20/02/2002 17:05 Player APIs
rearviewmirror
journeyman

Registered: 30/07/2001
Posts: 84
Loc: Bangalore, India
Are there any public APIs for the player? For e.g., can I start the player with a particular mp3 or m3u file?
Thanks,
~Yogi

Top
#73565 - 20/02/2002 17:21 Re: Player APIs [Re: rearviewmirror]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
For what you're asking to do, yes, more or less. You can send commands to the player, in a variety of different ways, to get it to do things. This is documented on the developer info section of www.riocar.org .

However there is not a direct "API" to really hook your own software directly into the player software under the linux operating system. All we can do is send certain commands to the player software and overlay the screen. But you'd be surprised what you can accomplish with just this.

I think maybe you didn't really mean to say "API" in your post.
_________________________
Tony Fabris

Top
#73566 - 20/02/2002 17:35 Re: Player APIs [Re: tfabris]
rearviewmirror
journeyman

Registered: 30/07/2001
Posts: 84
Loc: Bangalore, India
I was looking for something like the serial port command '#' where the player plays the given FID; so that I can play FID 'n' by calling, say ./player #n (or something to that effect), programmatically.

~Yogi

Top
#73567 - 20/02/2002 17:38 Re: Player APIs [Re: rearviewmirror]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
There's probably a way to stuff that serial command into the serial port strean without having to exit the player software. That's already part of the Hijack kernel, so you might want to look into how he's doing it.
_________________________
Tony Fabris

Top
#73568 - 20/02/2002 17:41 Re: Player APIs [Re: tfabris]
rearviewmirror
journeyman

Registered: 30/07/2001
Posts: 84
Loc: Bangalore, India
Will do.

Thanks,
~Yogi

Top
#73569 - 21/02/2002 11:08 Re: Player APIs [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I'll be adding something like this to the ir_translate stuff someday soon, along with the sony-stalk interface support. This means you'll be able to do button translations that send to the IR input, stalk input, and/or serial input streams.

-ml

Top