←  [EN] Third-Party Development

Forums

»

DVDPlayer and MediaPlayer plugins there in...

ims's Photo ims 24 Jan 2012

I know, that somebody hate plugins there in main menu, but why could not be this plugins optionaly displayed there in main menu ? Let user choose, what he want.
Main menu have 5 item only and for all must users to submenues. All who have children know, that is better prepare DVD into drive and child can easy select playback with DVDPlayer from main menu, than leave child operate in Movieplayer (Video), where it can easy remove anything. Similar it is with MediaPlayer and playlist.
Quote

daddelfalk's Photo daddelfalk 24 Jan 2012

Hi,

won't work for DVDPlayer as

+ if config.plugins.showinmenu_dvdplayer.value:
+ list.append(PluginDescriptor(name = "DVDPlayer", description = "Play DVDs", where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc = menu))

Function menu does not exist in plugin.py anymore. Also adding DVDPlayer to MainMenu won't add any new functionality because obsolete DVD FileBrowser has been removed during DVDPlayer Screen move...
Edited by daddelfalk, 24 January 2012 - 17:14.
Quote

ims's Photo ims 24 Jan 2012

strange, for me it works well 2 weeks :-)
Edited by ims, 24 January 2012 - 17:18.
Quote

daddelfalk's Photo daddelfalk 24 Jan 2012

Hi,

maybe you use some kind of custom plugin.py for the DVDPlayer which added def menu Support

On latest plugin.py it is not included anymore, oi am i getting blind? ;)

http://openpli.git.s...bc0a8bb;hb=HEAD

Quote

ims's Photo ims 24 Jan 2012

But it works for me. Must saw, what i forgot add into patch...
Edited by ims, 24 January 2012 - 17:33.
Quote

ims's Photo ims 24 Jan 2012

I am forgot add into DVDPlugin's plugin.py lines:
def menu(menuid, **kwargs):
if menuid == "mainmenu":
  return [(_("DVD Player"), main, "dvd_player", 46)]
return []
Quote

daddelfalk's Photo daddelfalk 24 Jan 2012

Hi,

so i am ok ;) But calling DVDPlayer Plugin from Main Menu does not add any functionalty, as previously embedded Filebrowser has beend removed. ...
Quote

ims's Photo ims 24 Jan 2012

Added.

Attached Files

Quote

ims's Photo ims 24 Jan 2012

Hi,

so i am ok ;) But calling DVDPlayer Plugin from Main Menu does not add any functionalty, as previously embedded Filebrowser has beend removed. ...


Yes, but child can easy playback DVD from DVD driver. Must not open/close or must not use MoviePlayer (Video). In addition, overlay screen for menu and subtitles works from it well, from MoviePlayer does not...
Quote

sek1973's Photo sek1973 26 Jan 2012

I think it's not only important for children. I've noticed that people who are not dealing frequently with Enigma STBs have difficulites in using it. I think multimedia features should be available in main menu - playing movies, recordings, music, CD, DVD, pictures, browsing files etc. Direct access to movie player would solve a lot of those questions. I know that there is "video" key but it's not too intuitive.
Let's take into account that many devices have such menu architecture nowadays.
Obviously it could be configurable by user in settings.
Regards.
Quote

ims's Photo ims 26 Jan 2012

Now is DVDPlayer set: if is DVD there in driver, then is DVDPlayer in menu.
It is not so much happy solution imho , when somebody using "shortcuts" as me (f.eg. Menu-5-..., Menu-3 etc), because then are this shortcuts changing :-(
Quote

bobby1234's Photo bobby1234 26 Jan 2012

Sorry for being a newbie. But how do I install this patch on my DM8000? I am missing the Media Player option on the main menu.
Quote

ims's Photo ims 26 Jan 2012

with:
git clone git://openpli.git.sourceforge.net/gitroot/openpli/enigma2
you get sources, then you can use: gitt apply wanted_patch
then replace files in box with modified files and restart gui.
Quote

thomas2000's Photo thomas2000 31 Jan 2012

Im also newbie, and im trying to install this, but no luck till now. If i instal it with dream explorer nothing is happening...
When i telnet: git clone git://openpli.git.sourceforge.net/gitroot/openpli/enigma2
I get:Git not found

Anybody knows what to do?
Quote

ims's Photo ims 31 Jan 2012

this is patch for source files, when you have they on your linux pc (you get is with git clone ... ).
Quote

thomas2000's Photo thomas2000 1 Feb 2012

Thankyou ims,

Is there a way to do this without a linux pc?
Quote

ims's Photo ims 1 Feb 2012

Try it, but i never worked with it ... http://code.google.c...&q=official Git

You can add it manualy to files listed there in patch too. But in UltraEdit (or some editor, which can read and save unix/linux format / without 0x0D 0x0A / ).
Quote

thomas2000's Photo thomas2000 1 Feb 2012

Thank you very much for helping :) , but its too difficult for me.

Maybe if I have some more time I'll go trying again.
Quote

ims's Photo ims 1 Feb 2012

do you want to have in menu permanently DVDPlayer only or MediaPlayer too ?
Quote

thomas2000's Photo thomas2000 1 Feb 2012

I prefer both, but Mediaplayer is most important...
Quote