rmundaca wrote:1)
Thats barely could be the CDManager bug: it does nothing with subtitles.
rmundaca wrote:2)
Thats not a bug: as you might see "Media Folder" plugin hides all sub menu items under "Local drives" menu including the one CDManager creates. Once its impossible (or I do not know how) to reliably recognize if "Media Folder" plugin is loaded (because, depending on the loading order at the time of my initialization another plugin could possible be not loaded yet), the only possible workaround I can suggest for those who use this plugin with CDManager is to move "Eject button" one level up by replacing the code in doBuildMenus manually :
- Code: Select all
CDManagerPlugin.prototype.doBuildMenus = function() {
this.Debug.Log("[ doBuildMenus ]");
Menu.Top["$$Video"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));
Menu.Top["$$Music"]["$$Local Drives"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));
Menu.Top["$$Photos"]["$$Local Drives"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));
Menu.Top["$$Music"]["$$Local Drives"].ejectMenu.handler = function() {
CDManagerPlugin.instance.eject();
}
Menu.Top["$$Video"].ejectMenu.handler = function() {
CDManagerPlugin.instance.eject();
}
Menu.Top["$$Photos"]["$$Local Drives"].ejectMenu.handler = function() {
CDManagerPlugin.instance.eject();
}
}




