antisuck wrote:Open it with a text editor, not with whatever Windows wants to run it with.
Thank you, thank you! that worked! I'll try to reload the plugin.
antisuck wrote:Open it with a text editor, not with whatever Windows wants to run it with.
tkorth wrote:Here is a pair of plugins that add YouTube and Pandora menu selections to the main menu.
HomePagePandora.plugin.js
Adds a Pandora icon to the main menu that starts Pandora immediately when clicked.
This plugin needs to be customized with your Pandora login email address before it will work. See the Readme.txt
HomePageYouTube.plugin.js
This will add a YouTube icon to the main menu that will open the YouTube menu.
Get both from here:
http://www.megaupload.com/?d=LZ44Y4L6
*******
recliq let me know there was a much easier way to put submenu items on the Top Menu. See here:
http://forum.wdlxtv.com/viewtopic.php?f=46&t=954#p6970
tkorth wrote:Here is a pair of plugins that add YouTube and Pandora menu selections to the main menu.
HomePagePandora.plugin.js
Adds a Pandora icon to the main menu that starts Pandora immediately when clicked.
This plugin needs to be customized with your Pandora login email address before it will work. See the Readme.txt
HomePageYouTube.plugin.js
This will add a YouTube icon to the main menu that will open the YouTube menu.
Get both from here:
http://www.megaupload.com/?d=LZ44Y4L6
*******
recliq let me know there was a much easier way to put submenu items on the Top Menu. See here:
http://forum.wdlxtv.com/viewtopic.php?f=46&t=954#p6970
recliq wrote:Read the posts from the link in your paste and you will be able to create this plugin yourself (it's the most simple plugin one can write for WDTVExt).
Some more help on the wiki:
http://wiki.wdlxtv.com/DevelopWDTVExtPlugin
// hide Photos top menu
Menu.Top["$$Photos"].visible = false
// add Pandora to top level menu
Menu.Top.addChild(Menu.top["$$Music"]["$$Pandora"]["user@server"])
traceln("RebootPlugin.doBuildMenus... done.")
}
/*
# meta-name="Pandora Menu"
# meta-desc="Add Pandora to Top Menu"
# meta-author="recliq"
# meta-date="2010-06-24"
# meta-version="1.0.0"
# meta-type="wdtvext"
# meta-url="http://"
# meta-filename="PandoraMenu.plugin.js"
*/
var myPandora = new Menu("My Pandora","$$My Pandora","/osd/image/villa/home_pandora_icon_n.png","/osd/image/villa/home_pandora_icon_f.png", true);
MediaFolderPlugin.prototype.doBuildMenus = function() {
traceln("MediaFolder: [ doBuildMenus ]")
myPandora.handler = function(){
Menu.Top["$$Music"]["$$Pandora"]["user@server"].handler()
};
Menu.Top.addChild(myPandora);
MediaFolderPlugin.prototype.doBuildMenus = function() {
traceln("MediaFolder: [ doBuildMenus ]")
Menu.Top["$$Video"].handler = function() {
Menu.Top["$$Video"]["$$Local Drives"]["$$Folders"].handler()
}
Menu.Top["$$Video"]["$$Local Drives"].title = "Movies"
Menu.Top["$$Video"]["$$Local Drives"].image = Menu.Top["$$Video"]["$$Local Drives"]["$$Folders"].image
Menu.Top["$$Video"]["$$Local Drives"].focusedImage = Menu.Top["$$Video"]["$$Local Drives"]["$$Folders"].focusedImage
}
var myPandora = new Menu("My Pandora","$$My Pandora","/osd/image/villa/home_pandora_icon_n.png","/osd/image/villa/home_pandora_icon_f.png", true);
myPandora.handler = function(){
Menu.Top["$$Music"]["$$Pandora"]["user@server"].handler()
};
Menu.Top.addChild(myPandora);
MediaFolderPlugin.instance = new MediaFolderPlugin(scriptPath)
Plugin.registerPlugin(MediaFolderPlugin.instance)
traceln("MediaFolder: End loading MediaFolder plugin")
recliq wrote:You can't link to a list item within the pandora section as you can't link to a folder inside all drives. You're stuck one level above the dest folder you intetnd to use and there's nothing we can do about that because dmaosd compiles those list entries AFTER the plugin code to generate the menus is executed, so when you rebuild your menus in the plugin there is no eg. "user@host" menu entry in pandora.
/*
# meta-name="Pandora Menu"
# meta-desc="Add Pandora to Top Menu"
# meta-author="leetwanker"
# meta-date="2015-01-13"
# meta-version="1.0.0"
# meta-type="wdtvext"
# meta-url="http://"
# meta-filename="PandoraMenu.plugin.js"
*/
traceln("Start loading PandoraMenu plugin")
function PandoraMenuPlugin(path) {
this.rootPath = path;
traceln("PandoraMenu plugin : base path is " + this.rootPath);
}
PandoraMenuPlugin.prototype = new Plugin()
PandoraMenuPlugin.prototype.constructor = PandoraMenuPlugin;
PandoraMenuPlugin.prototype.doBuildMenus = function() {
traceln("PandoraMenuPlugin.doBuildMenus...");
//add Pandora
var topMenu = new Menu("My Pandora", "$$My Pandora", "/osd/image/villa/home_pandora_icon_n.png","/osd/image/villa/home_pandora_icon_f.png", true);
Menu.Top.addChild(topMenu);
topMenu.handler = function(){
Menu.Top["$$Music"]["$$Pandora"]["pandoralogin@email.com"].handler()
}
traceln("PandoraMenuPlugin.doBuildMenus... done.")
}
PandoraMenuPlugin.instance = new PandoraMenuPlugin(scriptPath)
Plugin.registerPlugin(PandoraMenuPlugin.instance)
traceln("End loading PandoraMenu plugin")
Users browsing this forum: No registered users and 0 guests