Preventing Duplicate Recordings (1 Viewer)

Tele

Portal Member
November 24, 2006
18
0
Here are the logs. When you e.g. search for "raus aus den schulden" you will find recordings on 2011-09-28 at 21:13 and on 2011-09-29 at 0:28. Thanks for your help!
 

Attachments

  • tv.zip
    15.8 KB

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    OK please can people try the attached
    • Stop TV Service
    • Rename TVService.exe in MP folder
    • Place TVService.exe from attachment into MP folder
    • Restart TV Service

    This will not make any difference except it will add some extra logging.

    Please try and reproduce this with this executable and post logs.
     

    Tele

    Portal Member
    November 24, 2006
    18
    0
    The TVService doesn't start. I am using the MePo 1.2.0 final.
    2011-09-29 23:29:03.639637 [SetupTv(1)]: ServiceHelper: Starting TvService failed. Please check your installation.
    Error: System.InvalidOperationException: Der Dienst TVService kann nicht auf dem Computer . gestartet werden. ---> System.ComponentModel.Win32Exception: Der Dienst antwortete nicht rechtzeitig auf die Start- oder Steuerungsanforderung
    --- Ende der internen Ausnahmestapelüberwachung ---
    bei System.ServiceProcess.ServiceController.Start(String[] args)
    bei System.ServiceProcess.ServiceController.Start()
    bei SetupTv.ServiceHelper.Start(String aServiceName)
    2011-09-29 23:29:03.831648 [SetupTv(1)]: Failed to wait for Global\MPTVServiceInitializedEvent
    2011-09-29 23:29:03.833648 [SetupTv(1)]: Exception :confused:ystem.Threading.WaitHandleCannotBeOpenedException: Es gibt kein Handle mit diesem Namen.
    bei System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights)
    bei SetupTv.ServiceHelper.WaitInitialized(Int32 millisecondsTimeout)
     

    foxbenw

    MP Donator
  • Premium Supporter
  • September 12, 2011
    232
    47
    Welwyn Garden City
    Home Country
    United Kingdom United Kingdom
    Hi
    Me too. Log + error pics attached.
    Ben

    Untitled.jpg
    Untitled2.jpg
    View attachment 89676
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    arse..... I am on my dev laptop with no TV server setup so can't check but appears I have something hanging around my local code.

    MM if you are there patch is attached. This is the only place the item that is logged is written so can only be as a result of that if statement. Are you able to compile a working version (sorry is bed time here)

    Edit: One final attempt which may work
     

    Attachments

    • TvService.zip
      76.3 KB

    foxbenw

    MP Donator
  • Premium Supporter
  • September 12, 2011
    232
    47
    Welwyn Garden City
    Home Country
    United Kingdom United Kingdom
    Hi
    Files attached.
    2 recording.csvs because i noticed that end time = start time in the recordings table before the recording has finished. Don't know if that changes anything but have included it in case it means something.
    Have I missed anything?
    Ben
     

    Attachments

    • program.zip
      728 bytes
    • recording.zip
      751 bytes
    • recording2.zip
      753 bytes

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Those logs do not actually show the same thing as before (except that the program was recorded).

    That said you do have
    Code:
    2011-09-30 18:28:03.960694 [scheduler thread(10)]: TvWishList TvServer: Starting ProcessFileRenaming - file=C:\ProgramData\Team MediaPortal\MediaPortal TV server\TvWishList\FileRenameXML.xml
    As above, renaming the file will make MP forget it exists (unless TVWishList sorts this out in the database directly).

    I need logs showing the "expect previous failure and try to resume..." message you were getting before. If the option to prevent duplicate recordings was still enabled with these logs then that is a different issue.

    So I need logs using the replacement TV Service capturing the original issue (think you will need to disable TVWishList to make this happen)
     

    Users who are viewing this thread

    Top Bottom