Slim Tv Service Application (1 Viewer)

Jayakanthan

Portal Member
January 16, 2014
11
1
46
Sri Lanka Sri Lanka
1. I have downloaded recent source code of MP2 and I can able to open the MP2-Server using the Visual Studio 2013 and all compiling successfully

2. I can now run it as an application and it is showing connected device window. My Default project in the Solution explorer is MediaPortal.Server.

3. After I run the solution I noticed the Datastore.s3db is generated in the C:\ProgramData\Team MediaPortal\MP2-Server\Database folder.

4. But I don't see any database MP2TVE.s3db there.

3. Also I am trying to put a break-point under SlimTvService.cs and trying to understand how is it loading and trying to understand how it is connected to database. SlimTvService project located under MP2-Server Solution.

4. But The break point is not captured. I have doubt if the SlimTVService project is running or not.

4. I am also having the Database MP2TVE.s3db and ProgramData.zip file those I downloaded separately in the other sources.

5. Some how I am trying to run the MP2-Server using VS 2013 and also wanted to run the Slim TV Service and want to modify the MP2TVE.s3db externally and understand.

6. So that I can create my own TV module as I want.

I really dont understand how the SlimTV Database is get connected here with all channel Icons.

Please give some help on this to understand.

Thanks
 

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,399
    6,970
    Germany Germany
    Country flag
    Ok, there are different things to consider:
    1. Development of TVE3.5 is done inside MP1-repository, not inside MP2-repository.
    2. Published testbuilds contain a "manually assembled" build (binaries from MP1 branch compilation).
    If you like to get a current version you can:
    1. Download a full installer, it also brings the SlimTV.Service plugin including templated database (MP2TVE.s3dv): this is the simplest way https://forum.team-mediaportal.com/...mp2-tv-updated-for-alpha-4-2014-01-26.114068/

      Attention: to build a snapshot, you have to do many steps manually!

    2. Compile binaries yourself: best is to use my fork https://github.com/morpheusxx/MediaPortal-1/tree/EXP-TVE3.5-MP1-MP2-20140118:
    3. You can run MP2-Server as console for debugging by using "-c" as argument

    I really dont understand how the SlimTV Database is get connected here with all channel Icons.
    This is a very different topic:
    The distribution of channel logos is currently reworked, see https://forum.team-mediaportal.com/threads/idea-port-logomanager-into-mp2-server-plugin.123231/.

    In general we are working hard to improve the way of integration of TVE35 into MP2 building and deploy process, but it takes time and many small steps.

    If you have further questions, please ask.
     

    Jayakanthan

    Portal Member
    January 16, 2014
    11
    1
    46
    Sri Lanka Sri Lanka
    Thank a lot. Let me study all your information and links given and come back to you. Thanks again.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,399
    6,970
    Germany Germany
    Country flag
    Was my information useful? Could you get further with your tests?
     

    Jayakanthan

    Portal Member
    January 16, 2014
    11
    1
    46
    Sri Lanka Sri Lanka
    I could not work on this to test for two weeks. Now I am going to continue working on this. Before begin, in your explanation you have said two options.

    1. Download a full installer.......
    2. Compile binaries yourself....

    Do you want me to try one of this or try first one and continue with the second one to add server.

    Please verify.

    Thanks.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,399
    6,970
    Germany Germany
    Country flag
    The first way is much easier to get a running installation first.

    The 2nd one would allow you to compile, change and debug the TVE3.5 binaries in detail.

    So depending on your planned work you should take the easier way first.
     

    Jayakanthan

    Portal Member
    January 16, 2014
    11
    1
    46
    Sri Lanka Sri Lanka
    Hi,
    I though that I would better first totally understand the MP1 and understand and complete flow.

    I have downloaded the Source as instructed in
    http://wiki.team-mediaportal.com/1_.../Building_MediaPortal_from_source/1_Git_Setup
    http://wiki.team-mediaportal.com/1_...ing_MediaPortal_from_source/Developer_Install

    Since my Pc is Windos 8. I did not setup I set only WINDOWS_SDK and not DXSDK_DIR.

    Then using the command prompt I went to the folder C:XXXXXXX\MediaPortal-1\Build and run the following bat file.

    MSBUILD_Rebuild_All_MediaPortal_Debug.bat

    But in the middle I got the following message.

    =============
    -= MediaPortal =-
    -= build mode: Release =-

    File not found - _BuildReport_Files
    0 File(s) copied
    Microsoft (R) Build Engine version 4.0.30319.33440
    [Microsoft .NET Framework, version 4.0.30319.34011]
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 2/26/2014 11:29:01 AM.
    .....
    ....
    ...
    ..

    Build succeeded.
    0 Warning(s)
    0 Error(s)

    Time Elapsed 00:00:11.67

    Writing GIT revision assemblies...

    Building native components...

    -= DirectShowFilters =-
    -= build mode: Debug =-

    File not found - _BuildReport_Files
    0 File(s) copied
    Microsoft (R) Build Engine version 4.0.30319.33440
    [Microsoft .NET Framework, version 4.0.30319.34011]
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 2/26/2014 11:29:17 AM.
    Project "C:\Users\Administrator\Downloads\MP1\source\MediaPortal-1\Build\Restor
    ePackages.targets" on node 1 (default targets).
    CustomRestorePackages:
    ....
    ....
    ....
    ....

    Build succeeded.
    0 Warning(s)
    0 Error(s)

    Time Elapsed 00:00:00.85

    Building DirectShowFilters
    'BuildReport\msxsl' is not recognized as an internal or external command,
    operable program or batch file.

    Building MediaPortal...
    'BuildReport\msxsl' is not recognized as an internal or external command,
    operable program or batch file.

    Reverting assemblies...

    Reading the git revision...
    The process cannot access the file because it is being used by another process.

    Building Installer...
    The process cannot access the file because it is being used by another process.

    -= MediaPortal =-
    -= build mode: Debug =-

    File not found - _BuildReport_Files
    0 File(s) copied
    Microsoft (R) Build Engine version 4.0.30319.33440
    [Microsoft .NET Framework, version 4.0.30319.34011]
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 2/26/2014 11:29:19 AM.
    Project "C:\Users\Administrator\Downloads\MP1\source\MediaPortal-1\Build\Restor
    ePackages.targets" on node 1 (default targets).
    CustomRestorePackages:
    ....
    ....
    ...
    ...
    ...


    Build succeeded.
    0 Warning(s)
    0 Error(s)

    Time Elapsed 00:00:00.82

    Writing GIT revision assemblies...

    Building MediaPortal...
    The process cannot access the file because it is being used by another process.
    'BuildReport\msxsl' is not recognized as an internal or external command,
    operable program or batch file.

    Reverting assemblies...
    The process cannot access the file because it is being used by another process.

    Reading the git revision...
    The process cannot access the file because it is being used by another process.

    Building Installer...
    The process cannot access the file because it is being used by another process.

    -= TVServer_Client =-
    -= build mode: Debug =-

    File not found - _BuildReport_Files
    0 File(s) copied
    Microsoft (R) Build Engine version 4.0.30319.33440
    [Microsoft .NET Framework, version 4.0.30319.34011]
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 2/26/2014 11:29:20 AM.
    Project "C:\Users\Administrator\Downloads\MP1\source\MediaPortal-1\Build\Restor
    ePackages.targets" on node 1 (default targets).
    CustomRestorePackages:
    ....
    ....
    .....
    ..

    Build succeeded.
    0 Warning(s)
    0 Error(s)

    Time Elapsed 00:00:01.00

    Writing GIT revision assemblies...

    Building TV Server...
    The process cannot access the file because it is being used by another process.
    'BuildReport\msxsl' is not recognized as an internal or external command,
    operable program or batch file.

    Building TV Client plugin...
    The process cannot access the file because it is being used by another process.
    'BuildReport\msxsl' is not recognized as an internal or external command,
    operable program or batch file.


    Reverting assemblies...
    The process cannot access the file because it is being used by another process.

    Reading the GIT revision...

    Building Installer...
    The system cannot find the path specified.

    ====================
    What could be the issue. Please advice.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,399
    6,970
    Germany Germany
    Country flag
    I have no direct answer for this. But I would recommend you only open the TvServer solution in Visual Studio, disable the TvPlugin from building (it has references to RELEASE-compiled MP1 client) and compile the project. This should work, as no C++ parts will be compiled, only .NET stuff.
     

    Jayakanthan

    Portal Member
    January 16, 2014
    11
    1
    46
    Sri Lanka Sri Lanka
    Hi,

    I could able to compile and now the issue is When I run the application it get stuck with the MediaPortal.Configuration Solutions. and throws an error

    "Cross-thread operation not valid: Control 'DlgConfigModeHint' accessed from a thread other than the thread it was created on.'

    Also I goggled and found a same thread discussion about the issue

    https://forum.team-mediaportal.com/...es-when-it-runs-the-initial-config-app.96966/

    So I installed the MP1 Installer and checked. In all the way I am getting same error. My PC is Windows 8.

    Please advice
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    L Service keeps crashing General 3
    X [solved] Display needs to be turned on for TV services to function General 1
    T [solved] failed to-startup tvservice Installation, configuration support 1
    F [solved] Could not find the MediaPortal.Common.Logging.ILogger service after upgrading from 2.2.2 to 2.2.3 General 2
    DHosein Mediaportal & Antimalware Service High CPU issue General Support 2
    Z TV-Service in falscher Version Installationsprobleme? 9
    T Missing sound in online streaming service (SVTPlay) General Support 3
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    K sudden complication watching recorded TV Newcomers Forum 6
    P [solved] MP2 fails to install: "Insufficient privileges to start services" General 11
    J TV service not available General 7
    M [solved] Setup Issue - Hanging on Starting Services General 3
    ajs Sync databases by Media Sync Service MediaPortal 1 Talk 26
    BlueMax1916 [Question] What does MP2 Server Service have to do with ...microsoft.com/filestreamingservice...? MediaPortal 2 3
    Holzi [solved] MediaPortal 2 will not install - Failed to start services MediaPortal 2 1
    Stéphane Lenclud [solved] TV Server Service preventing sleep General Support 18
    D Remove "Old" client names from Service Monitor? General 5
    B Server service on the service monitor keeps stopping randomly. Client can't see server status. 2.2 Archive 5
    D Upgrade to MP2.2 pre release fails with failure to start service 2.2 Archive 32
    T MP2.2 Pre Release fails installation with not starting the MP2-service 2.2 Archive 4
    F MP2 - V2.1 MP2 TV Service won't start Older releases 3
    O [Question] Advice Wanted on Developing a Client Application for a Disabled Family Member MPExtended 7
    B Application not responding General 13
    D MpeInstaller.exe Application Error General Support 18
    Similar threads
























    Top Bottom