General query about compiling (2 Viewers)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    In terms of the wiki - I did find it a little confusing as it seemed to imply that I should create a file structure and use tortoise svn for each module using the listed urls above - not that all of these were listed.
    Most people are only interested in either TV Server or MediaPortal. The other particularly important module is the common module - you can't build MP or TV Server without it. People that want to build the DirectShow filters should also check out the DirectShowFilters module. You can check out as many or as few modules as you like...

    I, after help, realised that I could just create the trunk folder and then right click on this and use tortoise to get the whole shebang. I hope that this is the correct way.
    If you want everything then yes it is probably easiest. Like I said above, you don't *have* to have everything. All that you need to build TV Server is TVEngine3 and Common-MP-TVE3.

    I am following the steps outlined in the wiki and have debug compiled/run the mediaportal project and I am getting a crash which is referring to lack of language support!
    Have you got a specific error message? Which project are you trying to run?

    Could I just confirm, that apart from the identified script in the wiki (and I just used" command prompt here" at the relevant folder and ran it) that there are no other scripts to run? I only have the downloaded source code (I uninstalled the binaries) and I'm wondering about the use of mySQL etc - does this need installing or is it done as part of the configuration program that I'm trying to get running?
    As far as I'm aware you're only doing this to try and get your TV card working. To be honest, checking out the code is overkill for that. Your card is recognised and reporting no signal. Unless you're a BDA expert there would be little point in checking out the code and fiddling until you've tried the things (network provider etc.) that I suggested in the other thread.

    I can post you a DLL that reports all possible signal statistics for you. Further than that I'm pretty sure TV Server is either fundamentally incompatible for some strange reason or the problem could be solved with a simple settings change...
     

    gfmoore

    Portal Member
    May 15, 2011
    28
    0
    Stoke-on-Trent
    Home Country
    United Kingdom United Kingdom
    Thanks for the info, which makes sense.

    Have you got a specific error message? Which project are you trying to run?
    I'm just trying to figure it out first, rather than raise a new, perhaps uneccesary post. I'm just trying to follow the steps in the wiki
    Setting up Visual Studio
    Open up MediaPortal.sln in Visual Studio, right click on the included C# project "MediaPortal" and chose "Set as StartUp Project". Now set the solution configuration to "Debug" and run the solution with the green "Play" symbol or hit F5 on your keyboard.
    Configuring your Debug build
    On the first startup of your new debug build you are asked to follow the configuration wizard. Please do so, it will set up all basic functions.
    It's crashing, something about not finding a language. I'm trying to redo all the steps, but that was why I was asking about needing an installation of the actual application (which of course doesn't make sense) - unless it's needed for the databases.
    I can't remember exactly how language localisation works, but clearly I've missed something, probably some path to where the language settings are. If I can't figure it out - I'll shout :)

    As far as I'm aware you're only doing this to try and get your TV card working. To be honest, checking out the code is overkill for that. Your card is recognised and reporting no signal. Unless you're a BDA expert there would be little point in checking out the code and fiddling until you've tried the things (network provider etc.) that I suggested in the other thread.

    I can post you a DLL that reports all possible signal statistics for you. Further than that I'm pretty sure TV Server is either fundamentally incompatible for some strange reason or the problem could be solved with a simple settings change...

    Yes, I suspect that the card isn't playing ball. If the settings were wrong, then I would have thought everyone else in the uk using Astra 28.2, but using a different card would be shouting.
    Since perhaps not many have the S500, I thought I'd have a go myself - and save people time - one advantage of open source - but clearly (and as is usually the case) getting started is the major issue with any development environment.

    I will take the dll - if it's not too much trouble

    Thanks for the help, I know it's a pain when a noob starts off, but it's very much appreciated.

    Gordon
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    It's crashing, something about not finding a language. I'm trying to redo all the steps, but that was why I was asking about needing an installation of the actual application (which of course doesn't make sense) - unless it's needed for the databases.
    I can't remember exactly how language localisation works, but clearly I've missed something, probably some path to where the language settings are. If I can't figure it out - I'll shout :)

    I've never tried to run a debug build without having MP actually installed. It could definitely cause a problem. I'm quite able to build and run a debugging session here following the steps described in the wiki...

    Yes, I suspect that the card isn't playing ball. If the settings were wrong, then I would have thought everyone else in the uk using Astra 28.2, but using a different card would be shouting.
    My point was that your settings (ie. not the transponder file - other settings) could be wrong without necessarily affecting anyone else.

    Since perhaps not many have the S500, I thought I'd have a go myself - and save people time - one advantage of open source - but clearly (and as is usually the case) getting started is the major issue with any development environment.
    It is highly unusual for MP to recognise a tuner and be able to scan with it but not find any signal unless:
    1. You have signal problems.
    2. You have a setting wrong.
    3. You have a Leadtek card - for some bizzare reason they only seem to work with the Microsoft drivers.
    4. Other software is preventing TV Server from utilising the tuner.

    I will take the dll - if it's not too much trouble
    I'm more than happy to give it to you - it is just that there is no point in me doing that if you haven't got MP + TV Server installed. No database -> TV Server won't work. No settings files -> MediaPortal and TV Server won't work. Life would be easier if you put the code aside for a few days, reinstall 1.2.0b and let me try to help you troubleshoot the issue with the DLL and anything else that becomes obvious through fresh logs. At the moment you're tying my hands behind my back - I want to help you, but I can't do that with a debugging session...
     

    gfmoore

    Portal Member
    May 15, 2011
    28
    0
    Stoke-on-Trent
    Home Country
    United Kingdom United Kingdom
    I'm more than happy to give it to you - it is just that there is no point in me doing that if you haven't got MP + TV Server installed. No database -> TV Server won't work. No settings files -> MediaPortal and TV Server won't work. Life would be easier if you put the code aside for a few days, reinstall 1.2.0b and let me try to help you troubleshoot the issue with the DLL and anything else that becomes obvious through fresh logs. At the moment you're tying my hands behind my back - I want to help you, but I can't do that with a debugging session...

    I'm very grateful for any help you can give.

    I'm happy to give the code a rest, though I've now got it working, but clearly trying to debug the tvserver and set parameters is rather difficult :sigh.

    So okay, I'll leave off the code.

    I have actually re-installed the 1.2 beta from scratch and was just playing around with different parameters.

    Would it perhaps be best if we went back to the original thread? https://forum.team-mediaportal.com/...e-s500-dtv-tuner-71088/index3.html#post749373

    See you there :)

    Gordon
     

    Users who are viewing this thread

    Top Bottom