Unoffical empeg BBS

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

Topic Options
#129652 - 08/12/2002 00:32 protocol specified anywhere?
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Yeah, I know I can look at source (and I am) but I'm wondering if there's anything that for instance the player binary understands that neither emptool nor jemplode know about. If the documentation exists, I'm searching for the wrong thing; I can't even really find someone asking an analogous question.

Top
#129653 - 08/12/2002 00:53 Re: protocol specified anywhere? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
And actually, assuming there's not, I just had a scary thought.

Everything I want can probably be done as IR commands. I just need to give myself a useful interface for spoofing IR commands, which it actually looks like I can do by stealing some disabled code in hijack and tweaking slightly.

What I want to do is run a crond/atd sort of thing. Near top and bottom of the hour, insert a liner to be played. Depending on (something) look at the date and insert, say, my Christmas playlist, and reshuffle. And so on.

Top
#129654 - 08/12/2002 00:57 Re: protocol specified anywhere? [Re: Daria]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Most IR commands have serial commands, which would probably be even more usefull?

Matthew

Top
#129655 - 08/12/2002 00:58 Re: protocol specified anywhere? [Re: matthew_k]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
How so? The cron job would already be running on the player. No need to involve the serial at all. Or did I miss your point?

Top
#129656 - 08/12/2002 01:02 Re: protocol specified anywhere? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
In fact I misunderstand. Maybe I should sleep now.

Top
#129657 - 08/12/2002 01:07 Re: protocol specified anywhere? [Re: matthew_k]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Actually, if the complete list is at
http://www.empeg.mars.org/devel/software/player.php3
then none of the commands I want have serial commands, and I need to esstentially reinvest fvgestel's "writable /dev/ir" hack.

Top
#129658 - 08/12/2002 01:09 Re: protocol specified anywhere? [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
The mars.org stuff is hopelessly outdated. There are new serial commands in beta13 that allow you to do things like insert/append/enqueue specific FIDs. Those are in the release notes for beta13...
_________________________
Tony Fabris

Top
#129659 - 08/12/2002 01:12 Re: protocol specified anywhere? [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Well, at least you didn't get to point me at the FAQ.

Of course, I still need to fake sending "serial" anyway.

Top
#129660 - 08/12/2002 01:13 Re: protocol specified anywhere? [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Of course, I still need to fake sending "serial" anyway.

that's already in Hijack....
_________________________
Tony Fabris

Top
#129661 - 08/12/2002 01:17 Re: protocol specified anywhere? [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Right, sorry, still being unintelligible. Reference to what I posted 4(?) messages ago, where I was talking about "not using real serial port'.

I swear, I'm just going to play with this and go to bed. Well, after I feed the hamsters.



Top
#129662 - 08/12/2002 01:48 Re: protocol specified anywhere? [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
So you'd figure if I said something like
echo "SERIAL=#13360" > /proc/empeg_notify
where FID 13360 was a playlist jEmplode stored as the result of a Wendy flag search, I'd get that, and not always a one song "playlist" where the song is FID 78688. And you might be right, except that the serial command wants the FID to be in Hex.

Good enough.

Top
#129663 - 08/12/2002 22:18 Re: protocol specified anywhere? [Re: tfabris]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Tony, can we get a FAQ entry with the serial commands listed? I've come up with a list from empeg.mars.org and a few posts on this board, and here is what I have:

q - Drop to Shell
r - Restarts Player
[ - Switch to empeg channel
] - Switch to radio
= - AUX Input
s - Full Screen On/Off (CD-MD CH button)
+ - Volume +
- - Volume -
x - Volume +
z - Volume -
C - Play
p - Previous Song (Previous Menu Item)
F - Fast forward
B - Rewind
K - Loudness down
L - Loudness up
<space> - play
W - pause
\ - Sleep On/Off
f - Seek?
v - Next Vis
b - Seek?
n - Next Song (Next Menu Item)
1-9 FM Preset
. - FM Down
; - FM UP
` - Radio preset store
O - FM preset

-------------------------------------------
(commands gleaned from posts/documentation)

m - go down a menu level
* - go up a menu level
#xxxx - Play (Replace) FID xxxx
#xxxx+ - Append FID xxxx
#xxxx- - Enqueue FID xxxx
#xxxx! - Insert FID xxxx

Are there any that I have missed? I don't know of one single place where these are all listed and thought the FAQ might be an appropriate place.
_________________________
Mark Cushman

Top
#129664 - 08/12/2002 22:31 Re: protocol specified anywhere? [Re: cushman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Serial commands are listed in the developer's section of RioCar.org, in an area which I do not maintain. I have just updated the "Hypterterminal" entry in the FAQ to link to that entry now that I looked and realized that it did not link when it should have.
_________________________
Tony Fabris

Top
#129665 - 08/12/2002 22:50 Re: protocol specified anywhere? [Re: tfabris]
cushman
veteran

Registered: 21/01/2002
Posts: 1380
Loc: Erie, CO
Thanks, Tony. I've e-mailed Drakino about the changes.
_________________________
Mark Cushman

Top
#129666 - 09/12/2002 13:53 Re: protocol specified anywhere? [Re: cushman]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
1-9 FM Preset
In tuner mode. In player mode, at least, 8 does "swap" just as it would from the remote, and 0 does "shuffle".

I mean to play some more; I need to figure out how the radio preset storage works, because if I can get it, the "set up my stations from gps" can work.

Top