Plugin "Padding" (3 Viewers)

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,022
    2,114
    South of France
    Home Country
    France France
    hum, vinch, après tests, je crois avoir vu pas mal de petits problèmes.
    Mais avant de les expliquer ici, je voudrais savoir si, comme je le pense, tu joues carrèment avec le recorder engine ou, juste avec le recorded database et/ou les 2.
    En fonction de ta réponse, j'expliquerai ici ce que j'ai vu.
    A+
     

    vinch100

    MP Donator
  • Premium Supporter
  • August 21, 2006
    107
    8
    Home Country
    Switzerland Switzerland
    Originally posted by framug+23 Sep 2006, 16:17 --><div class='quotetop'>CITATION(framug @ 23 Sep 2006, 16:17 )</div>
    hum, vinch, après tests, je crois avoir vu pas mal de petits problèmes.[/b]

    Merci pour les tests, je vais essayer de les résoudre

    Originally posted by framug@23 Sep 2006, 16:17
    Mais avant de les expliquer ici, je voudrais savoir si, comme je le pense, tu joues carrèment avec le recorder engine ou, juste avec le recorded database et/ou les 2.

    Je ne touche qu'à la DB.

    En gros, un timer tourne en continu et fais des tests toutes les 30 secondes.
    Si on est moins de 2 minutes avant le début d'un enregistrement (prepadding compris) et qu'un enregistrement va suivre ce dernier, les paddings sont modifiés dans la base uniquement.
    Une fois l'enregistrement débuté, le paddings est remis à -1 (par défaut), spécialement pour les séries car le prochain épisode aura peut-être besoin des paddings entiers

    <!--QuoteBegin-framug
    @23 Sep 2006, 16:17
    En fonction de ta réponse, j'expliquerai ici ce que j'ai vu.
    A+
    <div align="right"><{POST_SNAPBACK}>
    [/quote]

    J'attend ton feedback
    <
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,022
    2,114
    South of France
    Home Country
    France France
    OK alors voilà
    <

    La config de ton plugin est positionnée chez moi en mode multi-tuner
    Les paddings sont par défaut, c'est à dire 5mn avant et 5mn après
    soit 2 enregistrements consécutifs programmés :

    11H35-12H05 FAN DE (on s'en fout du prog, c'est juste pour les tests)
    <

    12H05-12H15 METEO

    on devrait donc avoir au final :

    11H30-12H05 FAN DE
    12H05-12H20 METEO

    Déjà, j'ai l'impression que le times-shifting n'est pas géré.
    C'est à dire, que en visualisant la télé avec timeshift, j'ai ça :

    23/09/2006 11:28:30 578 [Info.] Recorder: Send announcement for recording:Record once Fan de on M6 from 23/09/2006 11:35 - 23/09/2006 12:05
    23/09/2006 11:28:31 406 [Info.] add cmd:MediaPortal.TV.Recording.TimeShiftTvCommand #1
    23/09/2006 11:28:31 421 [Info.] Recorder: StartTimeshift tv Arte
    23/09/2006 11:28:31 421 [Info.] Recorder: find free card
    23/09/2006 11:28:31 437 [Info.] Command:confused:top all card except card:1
    23/09/2006 11:28:31 437 [Info.] Recorder: found free card 2 prio:4 name:Hauppauge PVR500MCE (
    <

    23/09/2006 11:28:31 437 [Info.] Recorder: start timeshifting card Hauppauge PVR500MCE (
    <
    channel:Arte
    23/09/2006 11:28:33 125 [Info.] Recorder: tv channel changed:Arte
    23/09/2006 11:28:33 156 [Info.] Command:MediaPortal.TV.Recording.TimeShiftTvCommand time:1750 msec
    23/09/2006 11:28:33 156 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) idle
    23/09/2006 11:28:33 171 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:28:33 171 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:28:33 171 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:28:33 671 [Info.] Recorder: start viewing timeshift file of card Hauppauge PVR500MCE (
    <

    23/09/2006 11:28:33 671 [Info.] add cmd:MediaPortal.TV.Recording.StopRadioCommand #1
    23/09/2006 11:28:33 687 [Info.] Command:confused:top radio
    23/09/2006 11:28:33 687 [Info.] Command:MediaPortal.TV.Recording.StopRadioCommand time:0 msec
    23/09/2006 11:28:33 687 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) idle
    23/09/2006 11:28:33 687 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:28:33 687 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:28:33 687 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:30:30 812 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:30:30 812 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:30:30 828 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:30:32 812 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:30:32 812 [Info.] Recorder: recording state changed
    23/09/2006 11:30:32 812 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:30:32 812 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:30:32 812 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:30:32 812 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:30:32 812 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/117,208000183105
    23/09/2006 11:30:33 500 [Info.] Recorder: recording ended 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:30:33 500 [Info.] diskmanagement: recording Fan de ended. type:Once max episodes:2147483647
    23/09/2006 11:30:33 500 [Info.] Recorder: recording state changed
    23/09/2006 11:31:31 156 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:31:31 156 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:31:31 156 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:31:32 703 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:31:32 703 [Info.] Recorder: recording state changed
    23/09/2006 11:31:32 703 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:31:32 703 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:31:32 703 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:31:32 703 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:31:32 703 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/177,146987915039
    23/09/2006 11:31:33 312 [Info.] Recorder: recording ended 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:31:33 312 [Info.] diskmanagement: recording Fan de ended. type:Once max episodes:2147483647
    23/09/2006 11:31:33 312 [Info.] Recorder: recording state changed
    23/09/2006 11:32:31 468 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:32:31 468 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:32:31 468 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:32:32 859 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:32:32 859 [Info.] Recorder: recording state changed
    23/09/2006 11:32:32 859 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:32:32 859 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:32:32 859 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:32:32 859 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:32:32 859 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/237,633010864258
    23/09/2006 11:32:33 468 [Info.] Recorder: recording ended 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:32:33 468 [Info.] diskmanagement: recording Fan de ended. type:Once max episodes:2147483647
    23/09/2006 11:32:33 468 [Info.] Recorder: recording state changed
    23/09/2006 11:33:31 546 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:33:31 546 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:33:31 562 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:33:32 968 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:33:32 968 [Info.] Recorder: recording state changed
    23/09/2006 11:33:32 968 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:33:32 984 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:33:32 984 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:33:32 984 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:33:32 984 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/297,316009521484
    23/09/2006 11:33:33 593 [Info.] Recorder: recording ended 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:33:33 593 [Info.] diskmanagement: recording Fan de ended. type:Once max episodes:2147483647
    23/09/2006 11:33:33 593 [Info.] Recorder: recording state changed
    23/09/2006 11:34:31 734 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:34:31 734 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:34:31 734 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:34:33 140 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:34:33 140 [Info.] Recorder: recording state changed
    23/09/2006 11:34:33 140 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:34:33 140 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:34:33 156 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:34:33 156 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:34:33 156 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/357,670013427734
    23/09/2006 11:34:33 781 [Info.] Recorder: recording ended 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:34:33 781 [Info.] diskmanagement: recording Fan de ended. type:Once max episodes:2147483647
    23/09/2006 11:34:33 781 [Info.] Recorder: recording state changed
    23/09/2006 11:35:31 859 [Info.] Recorder: time to record 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet Once
    23/09/2006 11:35:31 859 [Info.] Recorder: program:11:35:00-12:05:00
    23/09/2006 11:35:31 859 [Info.] Recorder: using card:Hauppauge PVR500MCE (a) prio:3
    23/09/2006 11:35:33 312 [Info.] Recorder: recording started 'Fan de' on channel:M6 from 11:35:00-12:05:00 id:1 priority:2147483647 quality:NotSet
    23/09/2006 11:35:33 312 [Info.] Recorder: recording state changed
    23/09/2006 11:35:33 328 [Info.] Recorder: Card:Hauppauge PVR500MCE (a) recording tv channel:M6
    23/09/2006 11:35:33 328 [Info.] Recorder: Card:Hauppauge PVR500MCE (
    <
    timeshift tv channel:Arte
    23/09/2006 11:35:33 328 [Info.] Recorder: Card:Hauppauge PVR 350 idle
    23/09/2006 11:35:33 328 [Info.] Recorder: Card:Miro PCTV idle
    23/09/2006 11:35:33 328 [Info.] Recorder: currently playing:F:\Télé\card2\live.tv pos:F:\Télé\card2\live.tv/417,361022949219

    C'est à dire que de 11H30 à 11H34, ton plugin stop-restart le recorder engine.
    C'est peut-être pour ça qu'après, dans les programmes enregistrés, je me retrouve avec 5 enregistrements :
    11H30 durée 0:00 FAN DE
    11H31 durée 0:00 FAN DE
    11H32 durée 0:00 FAN DE
    11H33 durée 0:00 FAN DE
    11H34 durée 0:00 FAN DE
    11H35 durée 0:30 FAN DE (au passage, tu devrais tester les secondes car l'enregistrement ne commence qu'à 11H35 et 33 secondes donc, le fichier video fait au final 29mn 30 secondes.

    Voilà pour un premier test sinon, c'est pas mal !!!
    <
     

    vinch100

    MP Donator
  • Premium Supporter
  • August 21, 2006
    107
    8
    Home Country
    Switzerland Switzerland
    Originally posted by framug@24 Sep 2006, 16:07
    Déjà, j'ai l'impression que le times-shifting n'est pas géré.

    Est-ce que tu pourrais me préciser stp ? Ca veut dire que lorsque tu enregistres un programme tu ne peux plus le regarder en même temps avec le timeshift activé ?
    <


    Parce qu'en fait ce plugin n'aurait normalement pas grand chose à voir avec le timeshift, puisque le timeshift n'a pas de paddings et que je ne touche pas au TV Engine...
    <


    Originally posted by framug@24 Sep 2006, 16:07
    C'est à dire que de 11H30 à 11H34, ton plugin stop-restart le recorder engine.
    C'est peut-être pour ça qu'après, dans les programmes enregistrés, je me retrouve avec 5 enregistrements :
    11H30 durée 0:00 FAN DE
    11H31 durée 0:00 FAN DE
    11H32 durée 0:00 FAN DE
    11H33 durée 0:00 FAN DE
    11H34 durée 0:00 FAN DE
    11H35 durée 0:30 FAN DE (au passage, tu devrais tester les secondes car l'enregistrement ne commence qu'à 11H35 et 33 secondes donc, le fichier video fait au final 29mn 30 secondes.

    Voilà pour un premier test sinon, c'est pas mal !!! 
    <

    <div align="right"><{POST_SNAPBACK}>
    [/quote]

    Alors là, c'est vraiment étrange (sans relever le choix du programme
    <
    ).

    Comme indiqué plus haut je n'agit pas du tout sur le TV Engine, donc ca ne devrait pas se produire. Tu n'as pas le même problème avec le plugin déscativé j'imagine ?

    En fait le tv engine va vérifier tous les x secondes si un enregistrement doit commencer.
    Si c'est le cas, il récupère entre autre les paddings. Si il vaut -1, il utilise le padding par défaut, sinon c'est sa valeur en minute.

    Tout ce que je fais, c'est vérifier (comme le TV Engine) si un enregistrement va bientot démarrer, mais je modifie uniquement la base pour que le TV engine ait autre chose que -1.
    Et c'est fait 2 minutes avant un enregistrement, ce qui évite les eventuels conflits d'accès auy données avec le TV Engine.

    Je ne peux malheureusment plus faire de tests j'ai un problème depuis 2 jours mes enregistrements ne fonctionnent plus (suite à l'installation de Cucusoft video converter ! - à déconseiller !), mais dès que j'ai reglé ca je te tiens au courant

    Originally posted by framug@24 Sep 2006, 16:07
    11H35 durée 0:30 FAN DE (au passage, tu devrais tester les secondes car l'enregistrement ne commence qu'à 11H35 et 33 secondes donc, le fichier video fait au final 29mn 30 secondes.

    Toujours pour la même raison, mon plugin ne devrait pas poser de problème, et de tête ca m'a toujours fait ca chez moi (j'en maitrais pas ma main a couper mais il me semble)

    Mais comme je ne sait pas les implications que peut avoir un action sur la DB, je vais effectivement tester ca au plus vite !

    En tout cas merci beaucoup pour ton test et ton retour complet !!
    <
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,022
    2,114
    South of France
    Home Country
    France France
    Originally posted by vinch100@24 Sep 2006, 14:28
    Est-ce que tu pourrais me préciser stp ? Ca veut dire que lorsque tu enregistres un programme tu ne peux plus le regarder en même temps avec le timeshift activé ? 
    <
    si si, je peux le regarder, bien sûr mais, le timeshifting est perçu comme un enregistrement, au niveau du recorder.
    Originally posted by vinch100@24 Sep 2006, 14:28
    Parce qu'en fait ce plugin n'aurait normalement pas grand chose à voir avec le timeshift, puisque le timeshift n'a pas de paddings et que je ne touche pas au TV Engine... 
    <
    oui, j'ai bien compris ce que tu m'as dit plus haut mais j'ai justement l'impression que de modifier la DB modifie le fonctionnement du recorder.
    Originally posted by vinch100+24 Sep 2006, 14:28 --><div class='quotetop'>CITATION(vinch100 @ 24 Sep 2006, 14:28 )</div>
    Comme indiqué plus haut je n'agit pas du tout sur le TV Engine, donc ca ne devrait pas se produire. Tu n'as pas le même problème avec le plugin déscativé j'imagine ?[/b]
    Voir réponse juste au dessus.
    Bien évidemment, je n'ai pas le même résultat avec ton plugin désactivé.
    <!--QuoteBegin-vinch100
    @24 Sep 2006, 14:28
    En fait le tv engine va vérifier tous les x secondes si un enregistrement doit commencer.
    Si c'est le cas, il récupère entre autre les paddings. Si il vaut -1, il utilise le padding par défaut, sinon c'est sa valeur en minute.
    Alors, comment expliquer que le recorder fait des start/stop pendant les 5 premières minutes ? Ne serait-ce pas suite à la modif de la DB ?
    <


    Bonne chance pour remettre ta config sur pied .
    <

    Je reste à ta dispo si tu as besoin d'autres tests car, ce plugin me semble être vraiment une très bonne fonctionalité.
    <

    A+
     

    Users who are viewing this thread

    Top Bottom