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,224
    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

    Here is the URL for BBC Radio 4 provided via TuneIn Desktop app. where it plays without problem and was found using the search function (bbc radio) but from the MP plugin "Search" it is not found, furthmore the remove from favourites option does not work for exisiting favourites although if deleted in the desktop app it is also no...
    Here is the URL for BBC Radio 4 provided via TuneIn Desktop app. where it plays without problem and was found using the search...
    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
    7
    Views
    257
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I did it this way so I didn't have to edit the channel names every time tested a new TV-server install. Anyway, it works. I don't know if this would get you past the BDA driver issue. I'll provide more...
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I...
    I am brand new to MediaPortal. I have installed MP 2.4.1 on Windows 10. It is a fresh install and fully up to date. I have an...
    Replies
    19
    Views
    1K
    MP1 MP2 Delete recordings DE
    Hi, please check the yellow box (almost bottom of the page) about deleting recordings in the wiki. It’s possible to delete recordings, if access is guaranted. I’m not sure which connection problems you have. Normally the client is directly connected to the server on startup. In case you feel it’s too long, please describe the issue...
    Hi, please check the yellow box (almost bottom of the page) about deleting recordings in the wiki. It’s possible to delete...
    Hi, I can't seem to find any posts in this forum or on the wiki on deleting recordings. I am currently running 2.4.1 and there...
    Replies
    1
    Views
    334
    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
    993
    MP1 MP2 MP2 - V2.5 No genres after upgrade to 2.5 DE
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and music are part of the NET6 version as for NET4. If you have issues with it further infos would be good.
    You need to check the wiki for TVMosaic, you have recordings as source available once TVM is installed. And of course images and...
    Make sure that your system (Windows, codecs and drivers) is up to date, matching the Requirements and you've filled in your System...
    Replies
    10
    Views
    874
    Top Bottom