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,577
    8,223
    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
    56
    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

    Thanks for that. I found "Chnlineup" in the Sky grab and "FreesatEPG" in the Freesat grab and enabled them both in EPG Collector, and also set them as the EPG grabber for radio in MP2. But here's the odd thing: The next time I opened the XMLTV EPG mapper (where you map actual channels to channels available in the EPG), the radio...
    Thanks for that. I found "Chnlineup" in the Sky grab and "FreesatEPG" in the Freesat grab and enabled them both in EPG Collector...
    Following on from this thread: Previously I used EPG Collector very successfully to grab a 7 day OTA EPG which included the EPG...
    Replies
    4
    Views
    351
    OK, I didn't know you had modo rights. I let you play with these posts, then. Not necessary to spend time and to generate others misunderstanding. ;)
    OK, I didn't know you had modo rights. I let you play with these posts, then. Not necessary to spend time and to generate others...
    Hi, I am working on a project that is being based on MediaPortal 1. I can install and run the application via the installer but I...
    Replies
    26
    Views
    3K
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11. Saved me a lot of time having to debug the code. Thanks for the tip!
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11...
    Hello, I spent a couple of days trying to resolve this issue and cannot figure it out. I have set up MediaPortal Server on an old...
    Replies
    2
    Views
    365
    Can anyone help with this?
    Can anyone help with this?
    Hi, How do I create a music view in the MP1 configuration tool music views section to list all my song tracks under a heading of...
    Replies
    1
    Views
    812
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live stream from server to MP. If anyone has a similar problem - disable all old plugins and then enable one after another :-)
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live...
    After using MP for more than 10 years with regularly updates - this is the first time that after an update MP is not working...
    Replies
    3
    Views
    467
    Top Bottom