Need help running Media Portal from source (2 Viewers)

J

jamie marchant

Guest
I downloaded the source code Media Portal so that I could evechully contribute to it. When I ran it I got the normal menu but no TV button, so I tried the configuration utility and it crashes with this debug message:
"Unable to load DLL 'bass_wadsp.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)",. My question is what library do I need to install to get this DLL?
 
Last edited by a moderator:

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,269
    Saratov
    Home Country
    Russian Federation Russian Federation
    If you have no Tv in Mediportal then TVPlugin.dll is not in your plugins subfolder
     
    J

    jamie marchant

    Guest
    Oh shoot! I have no plugins folder for I am only using Vistaul C# express and the project type the folder is, is not supported :(.

    EDIT: Looks like I can use the FOSS SharpDevelop to compile MediaPortal accoding to the Wiki. I will give that a try.
     
    Last edited by a moderator:

    mm1352000

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

    If you want to run MP from source you first have to install MP. This is so that configuration is available in the places that the code expects to find it.

    mm
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    So to clarify: VS Express should be fine. Just make sure you install MP first.
     
    J

    jamie marchant

    Guest
    I have Media Portal installed already but I still have this issue. In VS Express I get this error " ---------------------------
    Microsoft Visual C# 2010 Express
    ---------------------------
    Solution folders are not supported in this version of the application.

    Solution folder 'Plugins' will be displayed as unavailable.
    ---------------------------
    OK
    ---------------------------
    "
    I can not load "MusicShareWatcher", "HcwHelper" or "MPE" for the same reason.
     
    Last edited by a moderator:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,269
    Saratov
    Home Country
    Russian Federation Russian Federation
    I think this error can't stop you. If you need some of unavailable project just locate their csproj files and open it directly
     
    J

    jamie marchant

    Guest
    But how do I accesses my plugins folder from Media portal then or does it not care about this resticktion? back on topic, you are correct there is no TVPlugin.dll in the plugin folder, where do I get/build it from?
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,958
    1,269
    Saratov
    Home Country
    Russian Federation Russian Federation
    Tvplugin project is in \MediaPortal-1\TvEngine3\TVLibrary
    If you want to debug TVPlugin you need to compile it and put dll+pdb in plugin folder of your normal mp installation, edit or create csproj user file and run code from vsexpress.
    As for Mp itself you should try to mark Mediaportal.Application as startup project and run code. If running mp from you project's bin folder is not possible in vsexpress you could try to compile only needed part of mp, replace default files from mp installation with your dll+pdb and run code as I wrote for TvPlugin.
    Also you could use different build script included in mp sources.
     
    J

    jamie marchant

    Guest
    I can compile media portal just fine in SharpDevopler and VS Express, I just needed that plugin. Thank you for your help.
     

    Users who are viewing this thread

    Top Bottom