TBS: CI/CAM support and other improvements (4 Viewers)

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    can I include the DLL in the TVServer.Base directory in the repo (with most of the other 3rd party DLLs)?

    Yes, that;s OK.

    (I don't know how to add files via NuGet anyway....)

    P.S. Progress is good, but the changes are taking a little longer than expected. I hope to have a patch available for testing in the next 24 to 48 hours.

    No problem.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    After a bit of a struggle I managed to publish the newest version of the DLL on our MyGet feed:
    mediaportal - TBS.CI.API 1.0.2.3 | MyGet

    Now I need to also remember how to include a NuGet package in a project... and then update the installer.
    Slow progress, but I'm getting there.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello everybody

    First, sorry this took a little longer than expected.

    I'm happy to say that the first version of a prospective patch to ensure all TBS tuners are supported straight after install is attached.

    The code is pushed to this branch:
    MediaPortal/MediaPortal-1

    @Owlsroost and @morpheus_xx , I'd appreciate a review, if you have a little time.

    @Mark Lejeune
    Please could you test that the patch works for you.
    To be clear, the patch installation process is roughly:
    1. Stop the TV service.
      1. Open TV Server Configuration.
      2. Go to the "manual control" section.
      3. Click "stop service".
      4. Close TV Server Configuration.
    2. Open Windows Explorer.
    3. Navigate to your TV Server install directory (default c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server).
    4. Make a backup of TVLibrary.dll and TbsCIapi.dll.
    5. Delete all files named like "TbsCIapi<number>.dll" (case insensitive) in the TV Server install directory. This is important.
    6. Download and extract the attached DLLs into your TV Server install directory to replace the existing files.
    7. Start the TV service.
      1. Attempt to open TV Server Configuration.
      2. Click "yes" to start the TV service.
    Regardless of whether the patch appears to work perfectly or not, please supply [at least] debug-level TVService.log showing decryption and CAM menu navigation. I ask for this because I haven't been able to test the patch locally.

    Of course anybody else is also welcome and encouraged to test this patch to make sure your tuner is still working. :)

    The patch should work with MP 1.22. I'm not sure about older versions.

    Kind regards,
    mm
     

    Attachments

    • TBS_[mp_1.22].zip
      357.8 KB

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    @Owlsroost and @morpheus_xx , I'd appreciate a review, if you have a little time.

    I've had a quick look at the code (looks OK to me), and run a build of the branch on TeamCity - it built OK.

    As I don't have any TBS hardware myself I can't test that part of it, but if I have time I'll try installing/uninstalling the build on my TV Server test PC over the weekend to check the installer changes are OK.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    but if I have time I'll try installing/uninstalling the build on my TV Server test PC over the weekend to check the installer changes are OK.
    On that front, key things to check are:
    1. After install, new TbsCIapi.dll should be present in the TV Server install directory.
    2. Copies of TbsCIapi.dll named like "TbsCiApi[0-9]+.dll" created in the TV Server install directory when TV Server loads the TBS CI API for a tuner. Since you don't have a TBS tuner, you could simulate this by simply making a few copies of the DLL.
    3. After uninstall, TbsCIapi.dll and all copies per point 2 should be deleted.
    Thank you!
     

    te3hpurp

    Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Hi

    Thank you for this effort !!.

    I have
    TBS6618 DVBC CI BDA Tuner
    Which worked fine so far with new tvlibrary and tbsciapi dlls
    Logs attached, with tvserver in debug mode. frontend is normalerror mode.

    Br,
     

    Attachments

    • MediaPortalLogs_25_05_19__14_30.zip
      1,017.7 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello! Nice to hear from you. I hope you're well. :)

    Thank you for this effort !!.
    You're welcome.

    I have
    TBS6618 DVBC CI BDA Tuner
    Which worked fine so far with new tvlibrary and tbsciapi dlls
    Logs attached, with tvserver in debug mode. frontend is normalerror mode.
    Loading, decryption and unloading look good, thanks! (y)
    Did you happen to also check whether the CI/CAM menu is working as expected?
     

    te3hpurp

    Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Hello! Nice to hear from you. I hope you're well. :)


    You're welcome.


    Loading, decryption and unloading look good, thanks! (y)
    Did you happen to also check whether the CI/CAM menu is working as expected?
    Hi.

    Im fine, thanks. Still using Mp as main pvr, It must be way over 10 years now.

    No I did not check cam menu
    I'll do that on tuesday. Now at sumner home

    Br
     

    Users who are viewing this thread

    Top Bottom