Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#107387 - 25/07/2002 18:35 Hijack v284: INFO-SEEK fixed
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Okay, I've just put out Hijack v284.

Changes are:

(1) the Knob-press to activate/deactivate the SEEK-TOOL in beta13 now works again.

(2) The S/PDIF patch is now included in empeg-mixer.c

Cheers

Top
#107388 - 25/07/2002 18:43 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
How does it handle cycling past seektool if you've got the buttonpress set to INFO?
_________________________
Tony Fabris

Top
#107389 - 26/07/2002 06:50 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
I suppose that once it hits Seek Tool, it will no longer cycle, kinda like a black hole, that. Suggestions?

I suppose we could have an option to remap the seek-tool press to the down button instead of the knob. Not quite as convenience for the rare use of seek-tool, but still very workable for all.

?

Top
#107390 - 26/07/2002 07:46 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Although it would require a lot of screen scraping and special-case coding to work, how about this:

- If they have reached the seektool screen, and they are obviously cycling through all of the info modes quickly (they've just changed from the last info mode and now they've pressed the button again within 1 sec or so), then treat it like they wanted to change info modes again, it's just another infomode press.

- If they have been on the seektool screen for a while (say, more than 1 sec or so) without pressing the button, then assume they want to enter/exit seektool mode and the button does the empeg default behavior.

- If they enter and exit seektool mode quickly without turning the knob, then assume they want to go back to cycling the info mdes again and do the hijack info press.

This sounds complicated, but I think it would work well.

Either that or we could lobby then to put it back to the original behavior (no volume in seektool mode).
_________________________
Tony Fabris

Top
#107391 - 26/07/2002 08:09 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Aw, nevermind. I figured it out.

Hijack allows nested popups, so when the Knob is pressed AND a hijack function has been associated with the knob, then it will popup a choice between seektool and the "other" function (which for most of us is probably PopUp0, but it could be any of the other choices).

The choice doesn't pop-up when exiting seektool.

Hijack v285, shortly.

Cheers

Top
#107392 - 26/07/2002 09:09 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Much more elegant plan.
_________________________
Tony Fabris

Top
#107393 - 26/07/2002 13:31 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
This goes along with a long standing wish list item for me, and maybe hijack could do it. Basicially, I dislike the fact that if I cycle through the info modes in the car quickly to get to a visual one, on reboot in the car, it tends to go to the last text mode one touched, Now and Next I believe. I then have to browse the info modes again to get it back to my preferred text mode one, the main information page.

Can hijack somehow work around this? I see it as being similar to the restore visuals hack, but a bit more coding would need to be done to determain if the user was really using now and next, or just going by it.

Top
#107394 - 26/07/2002 13:45 Re: Hijack v284: INFO-SEEK fixed [Re: drakino]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
It would be nice if Hijack could just echo a bottom-button-longpress to the player at bootup instead of the cycle-through thing. That would take care of it for me.

The fact that the toggle gets switched from track/transient to nownext/transient is the reason I don't use the restore DC visuals option.
_________________________
Tony Fabris

Top
#107395 - 26/07/2002 14:22 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Wouldn't adding this to your config.ini work?
[ir_translate]

;@DC Initial=bottom.L
_________________________
Bitt Faulk

Top
#107396 - 26/07/2002 14:26 Re: Hijack v284: INFO-SEEK fixed [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
/me tries...
_________________________
Tony Fabris

Top
#107397 - 26/07/2002 14:30 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Didn't seem to do anything.
_________________________
Tony Fabris

Top
#107398 - 26/07/2002 14:35 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Hmmmm. That's odd. I have an ``;@AC Initial=top.L'' in mine that works fine. (99% of the time I have the player plugged in, it's not for music.)

Edit: And the one I told you to do works for me in AC mode, just to test. Maybe it's a Hijack bug?

Edit again: I forgot. You need to enable notify to get Initial ir_translates to work. Read at the end of this FAQ.


Edited by wfaulk (26/07/2002 14:40)
_________________________
Bitt Faulk

Top
#107399 - 26/07/2002 14:39 Re: Hijack v284: INFO-SEEK fixed [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I also tried:

[ir_translate]
initial.C=Bottom.L

which according to the FAQ should have worked, too. Still nothing.

Note that I'm testing this by doing a force DC/Car mode while it's on the AC adapter, but that should still do OK...
_________________________
Tony Fabris

Top
#107400 - 26/07/2002 14:40 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Read my second edit above.
_________________________
Bitt Faulk

Top
#107401 - 26/07/2002 14:41 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Oh wait. The FAQ also states that before any of this will work, you have to have
[output]
notify=1
Which I don't have. So I'll add that now. That'll probably make it work.
_________________________
Tony Fabris

Top
#107402 - 26/07/2002 14:43 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
No, no, no. I FAQed you first. You can't weasel out of it that easily.
_________________________
Bitt Faulk

Top
#107403 - 26/07/2002 14:45 Re: Hijack v284: INFO-SEEK fixed [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Hmm, still doesn't work.

This runs:

[ir_translate]
initial.C=Bottom.L

But the Bottom.L isn't L enough, it just opens the main menu. Can I double the length of the L somehow?
_________________________
Tony Fabris

Top
#107404 - 26/07/2002 14:49 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Okay,

[hijack]
button_pacing=40

Seems to have done it.
_________________________
Tony Fabris

Top
#107405 - 26/07/2002 14:53 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Okay, to sum up...


[output]
notify=1

[hijack]
button_pacing=40

[ir_translate]
initial.C=Bottom.L


is what was necessary for me to get it to work.
_________________________
Tony Fabris

Top
#107406 - 26/07/2002 14:59 Re: Hijack v284: INFO-SEEK fixed [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Thanks for your help, Bitt, I think this may be a good long term solution. I like the way it works better than the Restore DC/Car feature.

Oh, and Loren, if you see this, you need to document the keypress_flash= parameter in the Hijack FAQ.
_________________________
Tony Fabris

Top
#107407 - 26/07/2002 15:48 Re: Hijack v284: INFO-SEEK fixed [Re: drakino]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmm.. the restore DC/Car visuals is supposed to fix this.

I guess maybe it stopped working at some point (?)

I'll look into it someday, unless someone else beats me to it.

-ml

Top
#107408 - 26/07/2002 17:53 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I believe that the problem was that Drakino and Tony didn't like the way Hijack did it:
    I dislike the fact that if I cycle through the info modes in the car quickly to get to a visual one, on reboot in the car, it tends to go to the last text mode one touched, Now and Next I believe. I then have to browse the info modes again to get it back to my preferred text mode one, the main information page.
And it was suggested that it would work better if it just emulated a long bottom press instead of whatever it does now (I don't know what that is, as I don't use that feature).
_________________________
Bitt Faulk

Top
#107409 - 27/07/2002 02:54 Re: Hijack v284: INFO-SEEK fixed [Re: wfaulk]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I wasn't actually commenting on any hijack feature, and prefer to keep my player in a text mode most of the time in the car, thus the normal "legal" feature of going back to a text mode on boot is fine with me.

What I was asking for is a workaround for when the player restores "Now and Next" even though I only spent a second on the screen before hitting a button to switch it to the visual mode. This is probably more approiate as a player feature, but I figured I'd drop the idea here for hijack since the idea was burried somewhere in the Wish List forum.

Top
#107410 - 27/07/2002 09:01 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
There's a mistake in the S/PDIF bits in v285. I've attached a new patch for v285 that should fix it. Must remember to use unified diff next time

- Trevor


Attachments
106182-spdif2.patch (226 downloads)


Top
#107411 - 28/07/2002 07:26 Re: Hijack v284: INFO-SEEK fixed [Re: tman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Ah, yes. Much better with the unified diff format, thanks.

Patch applied for v286.

Top
#107412 - 28/07/2002 07:41 Re: Hijack v284: INFO-SEEK fixed [Re: drakino]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Ahh, thanks for the clarification Drakino. I was wondering what you meant originally.

So, are you perhaps looking for a "car_info=track" type of setting for config.ini, or what?

cheers

Top
#107413 - 28/07/2002 07:47 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Which "toggle" is that, Tony?

Does "long-bottom-button" normally toggle back and forth between the visual and text INFO? Cool.

-ml

Top
#107414 - 28/07/2002 10:36 Re: Hijack v284: INFO-SEEK fixed [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Which "toggle" is that, Tony? Does "long-bottom-button" normally toggle back and forth between the visual and text INFO? Cool.

The long-bottom-button toggles between your last-selected-textmode, and your last-selected-visualmode, whatever they may have been.

For instance, if, from the menu, I select: "Info:Off" followed by "Info:Now and Next", then all subsequent long-bottom-buttons will toggle between those two modes.

My preference is to toggle between "Info:Transient" and "Info:Track". However, if one cycles through the info modes to land upon "Transient", then just by virtue of the ordering of the screens, the last selected textmode was "Now and Next" and that becomes the toggle.

Since the "Restore DC/Car Visuals" feature does precisely that (cycles through all the infomodes), then when it's done with its job, the toggle is left back at "Now and Next" instead of "Track".

If the "Restore DC/Car Visuals" used a long-bottom-button instead of a bunch of info presses to do its job, then it would always toggle back to whatever they left it on.

Of course, the IR_Translate trick that Bitt showed me accomplishes the same task, so it's not critical for me any more (except that the IR_Translate trick seems to still work only intermittently, I'm trying different values for button pacing to see if I can make it work better).
_________________________
Tony Fabris

Top
#107415 - 28/07/2002 10:42 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
If the "Restore DC/Car Visuals" used a long-bottom-button instead of a bunch of info presses to do its job, then it would always toggle back to whatever they left it on.

And then I go over to read the next thread and see:

-- The Restore DC/Car Visuals now just issues a down.L keypress on player startup, eliminating all of the complex logic from the past. This requires "notify=1" in config.ini.

My only fear is that the above change will only work intermittently if it uses the same mechanism as the IR_Translate trick. Of course, the cycle-through-the-info-modes trick only ever worked intermittently for me anyway.
_________________________
Tony Fabris

Top
#107416 - 28/07/2002 19:14 Re: Hijack v284: INFO-SEEK fixed [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
    except that the IR_Translate trick seems to still work only intermittently
That's odd. My top.L translation works for me 100% of the time, and I've never touched the button pacing.
_________________________
Bitt Faulk

Top
Page 1 of 2 1 2 >