GIT is not checking out all files (1 Viewer)

Snoopy87

Portal Pro
August 12, 2012
470
167
Home Country
Germany Germany
Hi,

today I create my build environment on my HTPC to build MediaPortal.

I followed the WIKI how-to and compiling works great. Now I am trying to run the TestApp in TvLibrary.sln.

It is impossible to build this app because the first error is, that the app.config could not found, so I removed this link in the project file. Then I got the error, that TvCardCollection could not be found. I found out that there should be a file under: TvEngine3\TVLibrary\TVLibrary\Implementations, but there are only 3 files: BaseSubCHannel.cs, DeviceDetector.cs and TvCardBase.cs.

But if I look here:https://issues.team-mediaportal.com...TVLibrary/Implementations/TvCardCollection.cs

there are a lot of more files in this folder. So why are those files not downloaded by TortoiseGit? Maybe there are more files in other directories which are missing too. But as said everything is compiling (excep the TestApp) so no important files are missing...

btw: is it normal that building the DirectShowFilters takes about 3-5 minutes? First I thought it hangs or is doing nothing.

Regards,
Sascha
 

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    The Test App is obsolete and is planned for removal as far as I know ;)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    And turtoise git sometimes aborts during checkout so you just have to pull again until you have everything, but if it compiles you probably have already everything ;)
     

    Snoopy87

    Portal Pro
    August 12, 2012
    470
    167
    Home Country
    Germany Germany
    I clicked on "Pull" several times, but no new files were received. So all those missing files (not only the one file from TestApp) are not used anymore? How comes that they are visible with the above url? Hope everything is fine on my system. I hoped to use the TestApp to directly start with investigating and improving the EPG grabber.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    ahh, I was on my mobile as I wrote teh answer above, now I'm on my desktop PC.
    As you can see the file is gray in the left menu and if you take a look in the right panel you will see the word "Deleted". That means it isn't available anymore in the current version, because it isn't needed anymore :)
    If FishEye confuses you just go to: https://github.com/MediaPortal/MediaPortal-1/
    directly ;)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I hoped to use the TestApp to directly start with investigating and improving the EPG grabber.
    Since I'm a team member the Test App is obsolete because the functionality is gone into Setup Tv directly.
    There you have the possibility under manual control to strat/stop time shifting or to refresh the EPG ;)
     

    Snoopy87

    Portal Pro
    August 12, 2012
    470
    167
    Home Country
    Germany Germany
    Hi again!

    What is the best way to debug the TV Service? MediaPortal Client and both Configuration apps are no problem, but the local installed TV Service is already intsalled and running in the background (ok, it can be stopped), but how can I debug the TV Service from Visual Studio? Is there a way to directly start the modified TV Service from Visual Studio to debug the code with breakpoints? Or do I have to install the modified TV Service every time, and if yes how? And after intallation how to debug with breakpoints or do I only have the log file to find out what is going on? Thanks! :)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I know TVE 3.5 can start in a console for debugging purpose, but from the code I guess that TVE3 can this, too.
    First have a look into the wiki:
    http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/1_Command_Line_Options
    There is a debug switch mentioned.
    Now looking at the code (Project: TvService, file: Service1.cs):
    // When using /DEBUG switch (in visual studio) the TvService is not run as a service
    // Make sure the real TvService is disabled before debugging with /DEBUG
    if (opt != null && opt.ToUpperInvariant() == "/DEBUG")
    {
    Service1 s = new Service1();
    s.DoStart(new string[] { "/DEBUG" });
    do
    {
    Thread.Sleep(100);
    } while (true);
    }
    If you now look into the Projectsettings of the TvService Project and select there the Debug Configuration you will see this under teh Debug tab:
    commandlien arguments: /debug
    So it should be enough to do the following:
    - Stop your TvService
    - select Debug as solution configuration (next to the little green play arrow in VS)
    - select the TvService Project as start up project (right click -> set as start up project)
    - press the little green play arrow in VS and you should see the TvService comming up in a console :)
     

    Snoopy87

    Portal Pro
    August 12, 2012
    470
    167
    Home Country
    Germany Germany
    Thanks, I tried that already but keeping a lot of errors while starting the TV Service from Visual Studio. I got errors: PInvokeStackImbalance, e.g. on this line:

    result = StreamSetupEx(selectedAddress.ToString(), port); (RTSPStreaming.cs, line:130)

    and after that on other code lines too.
     

    Users who are viewing this thread

    Top Bottom