Configoration Mpcontrolplugin (1 Viewer)

doclaurent

Portal Member
May 17, 2008
9
0
Modifier les listes déroulantes

Bonjour,

je suis nouveau sur le forum et avec MP.
Depuis plusieurs semaines j'essaye tout un tas de petites choses pour réussir à faire de MP la meilleure chose qui soit arrivée à mon HTPC :)

Bon il me reste un problème sur lequel je bloque et j'aimerais vous demander un conseil :

J'ai une telco harmony avec un boitier fusion équipé d'un IR Imon. J'ai installé IR Server Suite en suivant pas à pas le tuto de Geert-Jan : http://htpc.pandagor.com/archives/25-IR-Se...l-Problems.html

j'ai également le super plugin MyFilms et j'aimerais pouvoir y accéder par ma telco.

J'essaye donc d'associer, par le menu de configuration du plugin MP COntrol Plugin for IR Server, une action ou une fenêtre pour lancer myFilms.

Et dans la liste déroulante (voir photo) du pavé Action, option Action ou Window, MyFilms n'apparait pas :(
Du coup, je ne sais pas comment lancer MyFilms...

http://masteen.free.fr/Capturer.JPG

Si quelqu'un a une idée, ce serait sympa.

Ah oui, j'utilise MP 1.0.0.0 avec le SVN du 23/05/2008.

Laulo
 

Scubefr

Portal Pro
May 19, 2004
8,603
4
ailleurs
Home Country
France France
je suis pas sur que ce soit possible comme ca... il faudrait appeller directement l'ID du plugin, or je ne crois pas que MP contol plugin permette ca ...
 

doclaurent

Portal Member
May 17, 2008
9
0
Cette liste déroulante est bien initialisée quelque part ? C'est un développement MP ou externe ? Je vais désassembler la DLL pour voir si cette liste est codée en dur, je n'espère pas...

Laulo
 

zebons

Portal Pro
January 2, 2006
1,484
114
<div class='quotetop'>CITATION(laulo @ 14 Jun 2008, 16:20 ) <{POST_SNAPBACK}></div>
Cette liste déroulante est bien initialisée quelque part ? C'est un développement MP ou externe ? Je vais désassembler la DLL pour voir si cette liste est codée en dur, je n'espère pas...

Laulo[/b]
C'est la liste des fenêtres du Core de MP; il n'y a pas les plugins !
Cette liste est en dur dans le GUIWindow.cs de MP Core->Guilib->GuiWindow.cs
Code:
        public enum Window
        {
            WINDOW_INVALID = -1,
            WINDOW_HOME = 0,
            WINDOW_TV = 1,
            WINDOW_PICTURES = 2,
            WINDOW_FILES = 3,
            WINDOW_SETTINGS = 4,
            WINDOW_MUSIC = 5,
            WINDOW_VIDEOS = 6,
            WINDOW_SYSTEM_INFORMATION = 7,
            WINDOW_SETTINGS_GENERAL = 8,
            WINDOW_SETTINGS_SCREEN = 9,
            WINDOW_UI_CALIBRATION = 10,
            WINDOW_MOVIE_CALIBRATION = 11,
            WINDOW_SETTINGS_SLIDESHOW = 12,
            WINDOW_SETTINGS_FILTER = 13,
            WINDOW_SETTINGS_MUSIC = 14,
            WINDOW_SETTINGS_SUBTITLES = 15,
            WINDOW_SETTINGS_SCREENSAVER = 16,
            WINDOW_WEATHER_SETTINGS = 17,
            WINDOW_SETTINGS_OSD = 18,
            WINDOW_SCRIPTS = 20,
            WINDOW_VIDEO_GENRE = 21,
            WINDOW_VIDEO_ACTOR = 22,
            WINDOW_VIDEO_YEAR = 23,
            WINDOW_SETTINGS_PROGRAMS = 24,
            WINDOW_VIDEO_TITLE = 25,
            WINDOW_SETTINGS_CACHE = 26,
            WINDOW_SETTINGS_AUTORUN = 27,
            WINDOW_VIDEO_PLAYLIST = 28,
            WINDOW_SETTINGS_LCD = 29,
            WINDOW_RADIO = 30,
            WINDOW_SETTINGS_GUI = 31,
            WINDOW_MSN = 32,
            WINDOW_MSN_CHAT = 33,
            WINDOW_MYPLUGINS = 34,
            WINDOW_SECOND_HOME = 35,
            WINDOW_DIALOG_YES_NO = 100,
            WINDOW_DIALOG_PROGRESS = 101,
            WINDOW_MUSIC_PLAYLIST = 500,
            WINDOW_MUSIC_FILES = 501,
            WINDOW_MUSIC_ALBUM = 502,
            WINDOW_MUSIC_ARTIST = 503,
            WINDOW_MUSIC_GENRE = 504,
            WINDOW_MUSIC_TOP100 = 505,
            WINDOW_MUSIC_FAVORITES = 506,
            WINDOW_MUSIC_YEARS = 507,
            WINDOW_MUSIC_COVERART_GRABBER_RESULTS = 508,
            WINDOW_MUSIC_COVERART_GRABBER_PROGRESS = 509,
            WINDOW_MUSIC_PLAYING_NOW = 510,
            WINDOW_FULLSCREEN_MUSIC = 511,
            WINDOW_TVGUIDE = 600,
            WINDOW_SCHEDULER = 601,
            WINDOW_TVFULLSCREEN = 602,
            WINDOW_RECORDEDTV = 603,
            WINDOW_SEARCHTV = 604,
            WINDOW_RECORDEDTVGENRE = 605,
            WINDOW_RECORDEDTVCHANNEL = 606,
            WINDOW_TV_SCHEDULER_PRIORITIES = 607,
            WINDOW_TV_CONFLICTS = 608,
            WINDOW_TV_COMPRESS_MAIN = 609,
            WINDOW_TV_COMPRESS_SETTINGS = 610,
            WINDOW_TV_COMPRESS_AUTO = 611,
            WINDOW_TV_COMPRESS_COMPRESS = 612,
            WINDOW_TV_COMPRESS_COMPRESS_STATUS = 613,
            WINDOW_VIDEO_ARTIST_INFO = 614,
            WINDOW_WIZARD_WELCOME = 615,
            WINDOW_WIZARD_CARDS_DETECTED = 616,
            WINDOW_WIZARD_DVBT_COUNTRY = 617,
            WINDOW_WIZARD_DVBT_SCAN = 618,
            WINDOW_WIZARD_DVBC_COUNTRY = 619,
            WINDOW_WIZARD_DVBC_SCAN = 620,
            WINDOW_WIZARD_DVBS_SELECT_LNB = 621,
            WINDOW_WIZARD_DVBS_SELECT_DETAILS = 622,
            WINDOW_WIZARD_DVBS_SELECT_TRANSPONDER = 623,
            WINDOW_WIZARD_DVBS_SCAN = 624,
            WINDOW_WIZARD_ATSC_SCAN = 625,
            WINDOW_WIZARD_ANALOG_COUNTRY = 626,
            WINDOW_WIZARD_ANALOG_CITY = 627,
            WINDOW_WIZARD_ANALOG_IMPORTED = 628,
            WINDOW_WIZARD_ANALOG_MANUAL_TUNE = 629,
            WINDOW_WIZARD_ANALOG_TUNE = 630,
            WINDOW_WIZARD_ANALOG_RENAME = 631,
            WINDOW_WIZARD_ANALOG_SCAN_RADIO = 632,
            WINDOW_WIZARD_ANALOG_RENAME_RADIO = 633,
            WINDOW_WIZARD_REMOTE = 634,
            WINDOW_WIZARD_EPG_SELECT = 635,
            WINDOW_WIZARD_GENERAL = 636,
            WINDOW_WIZARD_FINISHED = 699,
            WINDOW_SETTINGS_TV = 700,
            WINDOW_SETTINGS_RECORDINGS = 701,
            WINDOW_SETTINGS_SORT_CHANNELS = 702,
            WINDOW_SETTINGS_MOVIES = 703,
            WINDOW_SETTINGS_DVD = 704,
            WINDOW_SETTINGS_SKIN = 705,
            WINDOW_SETTINGS_TV_EPG = 706,
            WINDOW_SETTINGS_TV_EPG_MAPPING = 707,
            WINDOW_SETTINGS_SKIPSTEPS = 708,
            WINDOW_SETTINGS_TVENGINE = 709,
            WINDOW_TV_SEARCHTYPE = 746,
            WINDOW_TV_SEARCH = 747,
            WINDOW_TV_PROGRAM_INFO = 748,
            WINDOW_TV_NO_SIGNAL = 749,
            WINDOW_MY_RECIPIES = 750,
            WINDOW_STATUS = 755,
            WINDOW_STATUS_DETAILS = 756,
            WINDOW_STATUS_PREFS = 757,
            WINDOW_DIALOG_FILE = 758,
            WINDOW_TV_RECORDED_INFO = 759,
            WINDOW_MY_BURNER = 760,
            WINDOW_DIALOG_TVGUIDE = 761,
            WINDOW_RADIO_GUIDE = 762,
            WINDOW_VIRTUAL_KEYBOARD = 1002,
            WINDOW_VIRTUAL_WEB_KEYBOARD = 1003,
            WINDOW_DIALOG_SELECT = 2000,
            WINDOW_MUSIC_INFO = 2001,
            WINDOW_DIALOG_OK = 2002,
            WINDOW_VIDEO_INFO = 2003,
            WINDOW_MUSIC_OVERLAY = 2004,
            WINDOW_FULLSCREEN_VIDEO = 2005,
            WINDOW_VISUALISATION = 2006,
            WINDOW_SLIDESHOW = 2007,
            WINDOW_DIALOG_FILESTACKING = 2008,
            WINDOW_DIALOG_SELECT2 = 2009,
            WINDOW_DIALOG_DATETIME = 2010,
            WINDOW_ARTIST_INFO = 2011,
            WINDOW_DIALOG_MENU = 2012,
            WINDOW_DIALOG_RATING = 2013,
            WINDOW_DIALOG_EXIF = 2014,
            WINDOW_DIALOG_MENU_BOTTOM_RIGHT = 2015,
            WINDOW_DIALOG_NOTIFY = 2016,
            WINDOW_DIALOG_TVCONFLICT = 2017,
            WINDOW_WEATHER = 2600,
            WINDOW_SCREENSAVER = 2900,
            WINDOW_OSD = 2901,
            WINDOW_MSNOSD = 2902,
            WINDOW_VIDEO_EDITOR = 2959,
            WINDOW_VIDEO_EDITOR_COMPRESSSETTINGS = 2960,
            WINDOW_VIDEO_OVERLAY = 3000,
            WINDOW_DVD = 3001,
            WINDOW_TV_OVERLAY = 3002,
            WINDOW_TVOSD = 3003,
            WINDOW_TOPBAR = 3005,
            WINDOW_TVMSNOSD = 3006,
            WINDOW_TVZAPOSD = 3007,
            WINDOW_VIDEO_OVERLAY_TOP = 3008,
            WINDOW_MINI_GUIDE = 3009,
            WINDOW_ACTIONMENU = 3010,
            WINDOW_TV_CROP_SETTINGS = 3011,
            WINDOW_TV_TUNING_DETAILS = 3012,
            WINDOW_WIKIPEDIA = 4711,
            WINDOW_WEBBROWSER = 5500,
            WINDOW_TRAILERS = 5900,
            WINDOW_PSCLIENTPLUGIN_UNATTENDED = 6666,
            WINDOW_TELETEXT = 7700,
            WINDOW_FULLSCREEN_TELETEXT = 7701,
            WINDOW_TETRIS = 7776,
            WINDOW_NUMBERPLACE = 7777,
            WINDOW_CARTOONS = 7800,
            WINDOW_RADIO_LASTFM = 7890,
            WINDOW_DIALOG_TEXT = 7900,
            WINDOW_SUNCLOCK = 8000,
            WINDOW_MUSIC_MENU = 8888,
        }
 

titof

Portal Pro
March 3, 2008
2,248
63
Home Country
France France
<div class='quotetop'>CITATION(laulo @ 14 Jun 2008, 15:20 ) <{POST_SNAPBACK}></div>
Cette liste déroulante est bien initialisée quelque part ? C'est un développement MP ou externe ? Je vais désassembler la DLL pour voir si cette liste est codée en dur, je n'espère pas...

Laulo[/b]

Je te rappelle que MP est un logiciel libre et que les sources sont disponible à tout le monde : https://mediaportal.svn.sourceforge.net/svn...unk/mediaportal

Alors te lance pas dans du désassemblage !!!!!!!!!!!!! :D
 

doclaurent

Portal Member
May 17, 2008
9
0
Lol, c'est génial :)

En plus ca tombe bien, ca fait un moment que je veux passer au C#, alors là je me jette à l'eau.
Je vous tiens au courant.

Je pense que les valeurs, dans GuiWindow.cs, correspondent aux ID ?

Laulo
 

Users who are viewing this thread

Top Bottom