[WIP] Boxee Inspirat

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
newbra Offline
Junior Member
Posts: 49
Joined: May 2008
Reputation: 1
Post: #11
Is there a way to activate dialogs like "set-content" and "edit source" from a custom button?

Since simple remotes like Boxee have no way to access the context menu for a folder item, I am looking to place buttons in the side menu.

I found this works:
<onclick>ActivateWindow(contentsettings)</onclick>

But this opens the content dialog without knowing what folder is being edited. Need to find a way to parse the current folder.

I tried:
ActivateWindow(contentsettings,$INFO[Container.FolderName])

no luck...

Any ideas?

[Image: boxee_inspirat_set_content.jpg]
find quote
zedika Offline
Member
Posts: 52
Joined: Sep 2011
Reputation: 0
Post: #12
+1 for me would love to see this skin! You got my vote!
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #13
newbra Wrote:Is there a way to activate dialogs like "set-content" and "edit source" from a custom button?

Since simple remotes like Boxee have no way to access the context menu for a folder item, I am looking to place buttons in the side menu.

I found this works:
<onclick>ActivateWindow(contentsettings)</onclick>

But this opens the content dialog without knowing what folder is being edited. Need to find a way to parse the current folder.

I tried:
ActivateWindow(contentsettings,$INFO[Container.FolderName])

no luck...

Any ideas?

[Image: boxee_inspirat_set_content.jpg]

I don't think there's anyway around this because the context menu is based on which control currently has focus and by moving to a button it's lost the list.

Can't the remote be setup like an ATV one where you press and hold to bring up the context menu?

[Image: sig_zps3af3b48e.jpg]
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,570
Joined: Oct 2003
Reputation: 138
Post: #14
The only way is to send the contextmenu action to the list (eg you might try focusing the list, then contextmenu)?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
`Black Offline
Skilled Skinner
Posts: 2,072
Joined: Apr 2009
Reputation: 51
Location: Germany
Post: #15
I would do it with a script... as jmarshall said set focus to the list, then action© followed by a sendclick to the set content button. You might need to do a loop over the buttons, check for name and select the correct button because it's not always on the same position (I think). I would also hide the contextmenu while doing that, you could set the visibility with a window property. The user should not be able to notice something because it's done in a couple of ms.

[Image: xp1080-21.png]
(This post was last modified: 2012-02-25 00:28 by `Black.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #16
No good for these views though as you'll have to navigate to the left side to reach the button and only the items on that side can have the last focus.

[Image: boxee_inspirat_videos_thumb.jpg]

[Image: boxee_inspirat_movies_poster.jpg]

So can't you hold the menu button for context menu?

[Image: sig_zps3af3b48e.jpg]
find quote
pecinko Offline
Member+
Posts: 3,068
Joined: Dec 2008
Reputation: 29
Location: Prague / Belgrade
Post: #17
...or remap spare remote button to it.

My skins:

Quartz
Amber
(This post was last modified: 2012-02-25 01:31 by pecinko.)
find quote
newbra Offline
Junior Member
Posts: 49
Joined: May 2008
Reputation: 1
Post: #18
Thanks for the suggestions... It doesn't work yet, what i tried now.

- Set content has 2 actions, focus back on "list" group & call dialog.
<onclick>SetFocus(50)</onclick> <onclick>ActivateWindow(contentsettings)</onclick>

Doesn't work, but i can see it setting the focus to the list before the content-dialog comes up. When using ActivateWindow(contextmenu) instead, I do get the menu to pop up but with no buttons. Oddly, within my context menu I have a label $INFO[Listitem.Label] which it does show correctly.

Also a dummy label $INFO[Container.FolderName] within the set-content-dialog, does show the current folder.

I will give up on this idea for now. Otherwise its very close to release.
find quote
newbra Offline
Junior Member
Posts: 49
Joined: May 2008
Reputation: 1
Post: #19
Hitcher Wrote:So can't you hold the menu button for context menu?

I haven't looked into that. The Boxee remote just works as a keyboard using the XMBC's keyboard keymap. The Remote's Select button just sends "Enter".

I am assuming the press and hold you're talking about involves some type of Eventghost, Autokey etc stuff? I used Eventghost with my older MCE type remotes, but I'm really happy just having a plain "keyboard-remote" like Boxee's. Makes life much easier setting up family members etc.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,570
Joined: Oct 2003
Reputation: 138
Post: #20
@newbra: Perhaps a "More..." could be added (if it's not already) to the context menu that pops up when you set the default action to "choose" ?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote