View Full Version : [OSDMenu] Speech enabled menu?
mattwire
October 13th, 2002, 12:55 PM
I could make osdmenu set that variable as an item is selected if you want. That would solve your problem. But, would that cause problems for anyone else using OSDMenu? Should I create a new variable that is updated on selection instead?
mattwire
October 13th, 2002, 12:55 PM
Ok. I'll create a new variable which is filled with the caption of the current menuitem as it is selected.
Any other variables, things you would like to see in OSDMenu while I'm at it?
(I'm working on adding Menu Titles at the moment so don't ask for that ). :)
mattwire
October 13th, 2002, 12:55 PM
An 'onselected' variable is implemented, as is an autoexecute command.
They will be available with OSDMenu 1.6 which I'll release soon.
mattwire
October 13th, 2002, 12:55 PM
Yes. I'm still adding new features at the moment but I'll update the docs etc. before 1.6 final.
The only problem with the transparency is that the first time a menu is displayed the background is not updated. Any further times it works perfectly so there is obviously some variable getting set somewhere - just what that is I've been unable to trace at the moment.
Marsupial
October 13th, 2002, 12:55 PM
Ok, maybe I don't get something...
but how in the world you want to "play" or "say" the name of the selection using a multigroup if you're not OUT of the plug-in?
As I understand, you want the HTPC to SAY the selection so you can press enter only on the appropriate one, but the variable from the plug-in will only be set after the plug-in is done, AFTER SELECTION. the multigroup, by definition, do one action, and AFTER COMLPETION of the action pass to the next one.
Maybe you're seeking for a new plug-in involving not only OSD but talkingOSD menu... but I wouln't dare asking any plug-in developper to make a new one for my own goods.
This said, you can press numbers to start items from the OSD menu, so ifever you remember what number (in order) is associated with what item, then you don't have to look at the screen, and don't need the HTPC to talk to you, you just have to press the approriate number to start the approriate number.
This said, if anyone has a way to do this, I might find it quite usefull...
Marsupial
October 13th, 2002, 12:55 PM
Ok, I think I get your idea...
on one side, you call OSD Menu.
On the other side, you enable girder control on OSD Menu, and when press enter, use SimpleOSD to display the 'menustringvar'
Trouble is, there is nothing set untill the menu item is clearly selected.
That's what you're telling me isn't it?
Then I would agree another variable for selection would be Great. I would really use it as well. (I somehow like to make my computer talk (for no reason) as well, I would do an implementation close to the one you said.)
therefore I would really much agree on the creation of the new variable.
This said: I still use 250+ files on my playlists and when well organised you can manage to "know" what's where. - but sorry if you took it on the wrong way, as I said my english sucks so it might turn out looking bad when I don'T intend to. my bad. :( -
Marsupial
October 13th, 2002, 12:55 PM
Well, you're in a better position to imagine what variable could turn out usefull... :)
Marsupial
October 13th, 2002, 12:55 PM
you will put usage example on the new menu, will you?:)
BTW I'm still using the new positionned menu with no bug, I guess all is OK, but I don't use transparency to confirm that part.
:)
Moritz
October 13th, 2002, 12:55 PM
I want to create a speech enabled album selector for winamp, eg:
1. The main menu would contain a list of artists, by scrolling through the list the 'say' plugin tells the artist.
2. After selecting the artist from the mainmenu, the submenu works the same but contains a list of albums.
3. Selecting the album sends the directory name to winamp and it starts to play.
In my approach i'm using multigroup commands for UP and Down keys from OSDMenu, containing the corresponding Key and a 'say [menustringvar]' command.
Everything works except for the 'say' part, because the 'menustringvar' from OSDmenu is set after selecting a menu option.
Maybe i'm overlooking something... but is it possible to achive this one or the other way?
Moritz
October 13th, 2002, 12:55 PM
Super! :D
If you create an additional variable you won't lose the name of the submenu you're in because that one is 'static', I think this is preferable and it won't interfere with other users.
Another feature I thought off is the abillity to autoexecute a command when entering a submenu, for example send an event to girder.
But anyway that's just a thought.
Thanx so far
Moritz
October 13th, 2002, 12:55 PM
Marsupial I disagree with you. I tested the values of the OSDMenu variables by setting up a test menu structure of three levels deep.
after pressing enter on each level I set up a girder 'simple OSD' displaying the 'menustringvar', guess what? It's transparent to girder, while you're still in OSDMenu!
So the proposed dynamic variable should work.
Maybe you're seeking for a new plug-in involving not only OSD but talkingOSD menu... but I wouln't dare asking any plug-in developper to make a new one for my own goods.
Maybe I should make myself more clear, I'm not asking anyone to create a plugin for my own goods.. I'm just trying to solve my 'problem' by making use of the features from Girder and OSDMenu. If it realy isn't possible please tell me, so I can start over and try a different approach...
Anyway it's still pointing in the right direction, I'm almost there.
...then you don't have to look at the screen, and don't need the HTPC to talk to you, you just have to press the approriate number to start the approriate number.
The reason I want the HTPC to talk to me is that I have a convenient way to put on a CD from a certain artist(all in MP3) when I'm in my living room(far away from the HTPC) with my X10 remote.
I created a vbs script to generate the menu.ini for OSDmenu from my MP3 database. The list contains approx 500 albums so remembering the number is out of the question. (at least for me :D )
Moritz
October 13th, 2002, 12:55 PM
Another feature I thought off is the abillity to autoexecute a command when entering a submenu, for example send an event to girder.
This about the only thing I can think of, because you can trigger something when entering a menu.
[MENU]
autoexecute=#18#event_string
Back=%main
Moritz
October 13th, 2002, 12:55 PM
Did anybody say service? Thanks :D
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.