- Moderator
- #1
New feature description
MediaPortal 1.2 allows buttons in the skin to call plugins with a parameter (OriginalThread).
A 'button' control will have a new child element 'hyperlinkParameter'.
Possible usage scenarios
A button in basic home screen that goes directly to the 'YouTube' Site of OnlineVideos.
A button in MyVideos that goes directly to 'iTunes Movie Trailers' Site and shows searchresults for the selected movie.
A button in MyTV that goes to a Site corresponding to the current TV Channel (or even the Category for the currently playing show)
Suggested implementation
Go directly to:
The category, search and return terms are optional.
Examples
1. a button in myVideo with hyperlinkParameter set to:
Will go to the searchresults for the currently selected item of the 'iTunes Movie Trailers' site and return back to this window if PreviousMenu is pressed in the searchresults view.
2. a button in myTV with hyperlinkParameter set to:
Will go to a site named like the current channel (if found) and return back to tv only when using Previous Menu from the list of all sites
Let me know what you think, if we need anything additonal/changed or if I'm totally off.
MediaPortal 1.2 allows buttons in the skin to call plugins with a parameter (OriginalThread).
A 'button' control will have a new child element 'hyperlinkParameter'.
Possible usage scenarios
A button in basic home screen that goes directly to the 'YouTube' Site of OnlineVideos.
A button in MyVideos that goes directly to 'iTunes Movie Trailers' Site and shows searchresults for the selected movie.
A button in MyTV that goes to a Site corresponding to the current TV Channel (or even the Category for the currently playing show)
Suggested implementation
Go directly to:
- a Site (not found = stay at 'All Sites view')
- a Category of a Site (not found = stay at 'All Categories View')
- the searchresults of a site (nothing found =
- a. return after showing 'Nothing Found message'
- b. open virtual keyboard with given searchstring)
- Go back up to the all sites view of OnlineVideos before returning to the window you came from (default)
- When at the view OnlineVideos was called with, PreviousMenu will return to the window you came from
Code:
site:<sitename>|category:<categoryname>|search:<searchstring>|return:<locked|root>
The category, search and return terms are optional.
Examples
1. a button in myVideo with hyperlinkParameter set to:
Code:
site:iTunes Movie Trailers|search:#selecteditem|return:locked
2. a button in myTV with hyperlinkParameter set to:
Code:
site:#TV.View.channel
Let me know what you think, if we need anything additonal/changed or if I'm totally off.