[résolu]Tnt: Carte Ou Clé (1 Viewer)

Status
Not open for further replies.

Scubefr

Portal Pro
May 19, 2004
8,603
4
ailleurs
Home Country
France France
normalement elle ne l'ai pas...
tu utilises une version "normale" de windows XP ?
as tu un firewall actif ?
 

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,924
    1,996
    South of France
    Home Country
    France France
    <div class='quotetop'>CITATION(Bef @ 10 Jan 2008, 17:17 ) <{POST_SNAPBACK}></div>
    Je croyais avoir tout suivi, mais apparement non. Dans l'outil de config de MP, dans la partie "Télévision/Client TV", le champ "hostname" est grisé: ça veut dire quoi?[/b]
    Salut Bef, :)
    ça veut dire que la partie serveur n'est pas correctement installée.
    Vu que tu fais partie de l'équipe de dev, je pense que tu comprendras sans mal ça ;) :

    Code:
    TVClient.cs :
    
          if (System.IO.File.Exists(Config.GetFolder(Config.Dir.Plugins) + "\\Windows\\TvPlugin.dll"))
          {
            // Enable this Panel if the TvPlugin exists in the plug-in Directory
            this.Enabled = true;
            .........................................
          }
          else this.Enabled = false;
    A+
     

    Bef

    Portal Pro
    February 15, 2006
    85
    0
    48
    Pas de Calais
    Merci pour le code, effectivement, je comprends.
    Initialement, je n'ai pas de "TvPlugin.dll" dans "c:\Windows" mais dans "c:\...\Mediaportal". J'ai donc recopié cette "TvPlugin.dll" dans "c:\Windows". J'ai rebooté; ça ne marche toujours pas. J'ai essayé d'enregistrer cette dll via regsvr32, mais il ne veut pas. Que faire?
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,924
    1,996
    South of France
    Home Country
    France France
    Config.Dir.Plugins, c'est ...\mediaportal\plugins\Windows.
    Donc, c'est dans ce dossier que tu dois avoir la dll.
    Quelle version de MP et du tvserveur utilises-tu ?
     

    Bef

    Portal Pro
    February 15, 2006
    85
    0
    48
    Pas de Calais
    J'avance, mais c'est pas encore ça ...
    J'ai mis un "Tvplugin.dll" dans "...\mediaportal\plugins\Windows" et la case localhost est dégrisée dans l'outil de config de MP, partie télévision, partie TV Client.
    Pourtant, quand je renseigne ce localhost (avec le nom réseau ou l'adresse IP), il me met "Unable to locate assemply 'TVDatabase, Version=1.0.0.16693, Culture=neutral, PublicKeyToken=null' Note that the configuration program must be executed from/reside the MediaPortal folder. The execution is now ended."
    Je sais pas quoi faire vu que j'ai un "TVDatabaseV21.db3" dans "...\mediaportal\database" ....

    Quelle version de MP et du tvserveur utilises-tu ?
    Je suis sous MP 0.2.3 et le TVEngine 3
     

    Scubefr

    Portal Pro
    May 19, 2004
    8,603
    4
    ailleurs
    Home Country
    France France
    le fichier "Tvplugin.dll" n'etait pas dans le dossier /plugins/windows/ apres l'install de SetupPlugin.exe? bizarre quand même !
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,924
    1,996
    South of France
    Home Country
    France France
    Bef, tu n'as pas à bidouiller avec le fichier tvplugin.dll, comme le dit scube.
    Si tu as tout ça, c'est très certainement que l'install du TVserveur s'est mal passée.
    Réinstalle donc.
    A+
     

    mazou

    Portal Pro
    October 19, 2005
    1,008
    0
    48
    Brest
    Home Country
    France France
    Tu as bien installé le client dans le même répertoire que mediaportal ?
    Pas dans le répertoire du TVserveur ?
     

    Bef

    Portal Pro
    February 15, 2006
    85
    0
    48
    Pas de Calais
    J'avance, mais c'est pas encore ça ...
    J'ai installé TV Engine dans "../MediaPortal/MediaPortal TV Serveur" (comme recommandé) mais ça ne marche pas!
    J'ai donc réinstallé TV Engine en le mettant directement à la racine soit dans "../MediaPortal". C'est un peu mieux: la dll est dans "../MediaPortal/plugins/window" et "TuningParameters" est renseigné. Malgrè cela, quand j'ouvre l'outil de config de MP, il me met ça:
    <div class='quotetop'>CITATION</div>
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Configuration.Sections.Music.SaveSettings()
    at MediaPortal.Configuration.SettingsForm.SaveSectionSettings(TreeNode currentNode)
    at MediaPortal.Configuration.SettingsForm.SaveAllSettings()
    at MediaPortal.Configuration.SettingsForm.applyButton_Click(Object sender, EventArgs e)
    at MediaPortal.Configuration.SettingsForm.okButton_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    [/b]
    J'espère que ça vous dit qqchose
     

    Scubefr

    Portal Pro
    May 19, 2004
    8,603
    4
    ailleurs
    Home Country
    France France
    Bef je crois que tu es tres mal parti !

    je te conseil de tout reprendre a zero en reprenant le wiki pas a pas ... car la je comprends rien de ce que tu as fais !!!!
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom