Enable TV/Radio in client for debug build (1 Viewer)

Stéphane Lenclud

Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Hi,

    I would like to enable TV/Radio in my debug build. How do I do that?
    When I run the configuration the TV/Radio section is missing.

    Cheers,
    S.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    You have to have installed the TV plugin in order for it to be available. This can be done by installing as standalone rather than client only, or by manually copying the required DLLs into the required locations.

    mm
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I'm debugging from the VS solution. How do I build the TV plugin and have it output its binaries in that bin\debug folder?
    Is it a different git repository?[DOUBLEPOST=1393492723][/DOUBLEPOST]Now that I think of it the binaries might be there already and I just need to enable the plugin through the configuration. I'll have to check that.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Can't find it in the plugin list so I guess it needs to be built and installed somehow.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Ok, I did manage to build it but copying all the binaries from TvPlugin into bin\Debug did not seem to make that plugin appear in my configure.
    Help appreciated @Developers anyone?
     

    arion_p

    Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    In TVEngine3\TVLibrary there are two batch files that do the necessary copies:

    Collect Debug Files.bat
    and
    Copy TvPluginDebug To MP Debug.bat

    You have to run both in that order.
    I don't know if they are still up to date, but some time ago that i used them it worked OK.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    OH :)
    That's real nice info :)
    I was always build and copy files on program files folder and run from that.
    ofc we always need to do that for debug tvservice but with above information, it works for TVPlugins.

    Thanks Arion :)

    The "Copy Filters To MP Debug & Register.bat" is surely not up to date lol.

    So i confirm it works and i do the following.

    1- Install a working version of MP with TVServer. (so Mysql etc. should be working with MP and TV as normal)
    2- build MP solution release/debug
    3- build Tvlibrary/tvplugins debug
    4- execute both batch like explain Arion.

    And we have all files in local GIT and we can debug from their :p

    off topic, on TVE35, if all tvserver is build, build MP solution will copy all needed files in auto and with tve35 we can start tvservice as command line (so from git local repo :)
     

    Marcus Venturi

    MP Donator
  • Premium Supporter
  • March 23, 2012
    614
    745
    57
    Home Country
    Germany Germany
    I never copy files.

    If I want to debug a plugin, that is not contained in MediaPortal I just create symbolic links from the output directory of that project into the MediaPortal plugin directory. Through the symbolic link the file is always up to date, because the symbolic link always points to the original file.

    And if you often have to change configuration, creating a symbolic link is way faster then writing batch files. ;)

    There is a tool for easy creating symbolic links from the Windows Explorer.

    http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html

    @Sebastii: There is even a page in French: http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension_fr.html :)
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    In TVEngine3\TVLibrary there are two batch files that do the necessary copies:

    Collect Debug Files.bat
    and
    Copy TvPluginDebug To MP Debug.bat

    You have to run both in that order.
    I don't know if they are still up to date, but some time ago that i used them it worked OK.

    This seems to be broken now.
     
    Last edited:

    Users who are viewing this thread


    Write your reply...

    Similar threads

    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this change :). I hope that it will be included in the next release. -- from CyberSimian in the UK
    I installed the new EXE on my MP 1.36 64-bit system (Win 10 laptop), and... it works fine. (y) :) Thank you for making this...
    In "MP Config" the following setting enables the display of channel numbers in the TV EPG: But there is no equivalent setting in...
    Replies
    4
    Views
    909
    Thanks @ajs, no more crash for me when changing channels with DVB subtitles switched on :). Well done and thanks to all involved.
    Thanks @ajs, no more crash for me when changing channels with DVB subtitles switched on :). Well done and thanks to all involved.
    I'm a long-term MP user based in the UK using Freeview (DVB-T) and Freesat (DVB-S). A few weeks ago I upgraded to the MP 1.37...
    Replies
    25
    Views
    3K
    fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to re-scan the episodes. The series appears for just a few seconds and disappears again.
    fixed the episode naming above ^. There was no error in the naming of the file itself. Every time I enter TV Series, it tries to...
    I recorded all 6 episodes of "Walking With Dinosaurs (2025)" from PBS, edited the non essential stuff out and saved them as MKV. I...
    Replies
    1
    Views
    320
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    343
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    Hello, Name need to be the same as computer name. Also, logs could be useful.
    It is a bit of a long story! I successfully installed MP2 on my old PC as client/server with client on my laptop to confirm my...
    Replies
    2
    Views
    205
    Top Bottom