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

    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
    606
    I haven't installed the MP v1.37 release version yet, but will do so tonight and repeat the same test as before. It's encouraging (for me) that I'm not the only one experiencing this issue ;).
    I haven't installed the MP v1.37 release version yet, but will do so tonight and repeat the same test as before. It's encouraging...
    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
    17
    Views
    1K
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
    This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
    Replies
    1
    Views
    800
    It is possible to have both MP1 and MP2 installed on the same drive (I have a test partition with just such an arrangement). However... The TV Server parts of MP1 and MP2 start when the system boots, and TV Server runs all of the time, even when it is not recording and live TV is not being viewed. If both TV Servers were active, they...
    It is possible to have both MP1 and MP2 installed on the same drive (I have a test partition with just such an arrangement)...
    Help Please. Yesterday upon switch-on, I had this issue with MP2: When I clicked on the [REC] icon in the following Image...
    Replies
    26
    Views
    3K
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism of working with playlists in online broadcasts. Well, here you need to look at what is happening in the Media Portal player. And find someone who understands how it works.
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism...
    I am running the latest "any cpu" version of the Radio Time plugin with MP 1.33 x64 which is working well except some of my...
    Replies
    22
    Views
    3K
    Top Bottom