Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)! (2 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    i.e. we have a keybinding "F" for Fullscreen, which is available during video playback.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    I don't seem to have any EPG data. I installed yesterday and started a manual scan although that might have been interrupted before it finished but I have the EPG grabbing whilst Idle option ticked as well as everything else, except Grab EPG only for channels on same transponder.

    I'm using the same EPG technique that's required in MP1, for UK Freeview at least, which is to tick only BBC One and untick "Store data only for selected channels" but perhaps this has been changed in MP2? https://forum.team-mediaportal.com/threads/epg-grabber-not-grabbing-as-expected.114470/

    I note that the server.log shows:

    Code:
    [2013-03-05 02:38:56,603] [3439617] [32	  ] [INFO ] - EPG: grabber initialized for 1 transponders..
    [2013-03-05 02:38:56,665] [3439679] [32	  ] [DEBUG] - UserFactory setting PriorityEPG : 1
    [2013-03-05 02:38:56,665] [3439679] [32	  ] [DEBUG] - UserFactory setting PriorityUser : 2
    [2013-03-05 02:38:56,665] [3439679] [32	  ] [DEBUG] - UserFactory setting PriorityScheduler : 100
    [2013-03-05 02:38:57,675] [3440689] [DVB EPG timer] [INFO ] - Grab for card:#2 transponder #1/1 channel: BBC ONE
    [2013-03-05 02:38:57,675] [3440689] [DVB EPG timer] [INFO ] - EpgCard: grab epg on card: #2 transponder: #0 ch:BBC ONE
    [2013-03-05 02:38:57,715] [3440729] [DVB EPG timer] [DEBUG] - CardReservationBase.RequestCardTuneReservation: placed reservation with id=1, tuningdetails=DVBT:TV Sky News Freq:482000 ONID:9018 TSID:20544 SID:22080 PMT:0x2BD FTA:True LCN:82 BandWidth:8
    [2013-03-05 02:38:57,715] [3440729] [DVB EPG timer] [DEBUG] - TvServerEventDispatcher.DoOnTvServerEventAsynch : tvserver event received but no users found...
    [2013-03-05 02:38:57,725] [3440739] [DVB EPG timer] [INFO ] - card: Tune on card 2 to subchannel Sky News
    [2013-03-05 02:38:57,725] [3440739] [DVB EPG timer] [DEBUG] - card: user: epg:2:-1 tune DVBT:TV Sky News Freq:482000 ONID:9018 TSID:20544 SID:22080 PMT:0x2BD FTA:True LCN:82 BandWidth:8
    [2013-03-05 02:38:57,725] [3440739] [DVB EPG timer] [DEBUG] - TvCardBase: tune channel, DVBT:TV Sky News Freq:482000 ONID:9018 TSID:20544 SID:22080 PMT:0x2BD FTA:True LCN:82 BandWidth:8

    So it seems to be starting the grabber on BBC One but then using Sky News for some reason.

    I also note TV Server config says it's running in restricted mode, despite me running Single-Seat in an Admin account. I recall I had this issue with MP1 a long time ago but can't recall what was the problem unfortunately.

    Also, if I set the Streaming Server IP address to 192.168.2.1 (my loopback adapter) when I leave that tab and come back, it's reset to (auto).
     

    sab-to-go

    Portal Pro
    October 18, 2012
    80
    3
    Home Country
    Australia Australia
    thanks for the shift-f info worked great.
    im also finding my EPG is not working as expected it seems to be grabbing the epg for the first channel in list but it will never grab the other channels?

    also with tvguide in multi guide the tvguide info runs off the right hand side of the screen?
     

    Attachments

    • multitvguide.jpg
      multitvguide.jpg
      159.3 KB

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Hey @morpheus_xx ,
    I was reading the internal discussion and wanted to test something for Steven (TBS) anyway and I think I found a issue...
    With the TBS card I can't tune encrypted channels, only FTA ones, I always get an "unknown Error" if I try to tune an encrypted one... But it is working in the TBS software and it was working with mm's tuner_hardware_.... branch, so it must be something wrong in the current TVE3.5 build... I think so atleast

    Can you figure something out from the logs? I don't do.. also the CI Menu doesn't work with this version (in mm's branch that worked, too)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @morpheus_xx
    I fixed the issue :) I couldn't sleep the whole night thinking about the issue, than I found this in the logs:
    Turbosight: failed to load the DLL
    I had a look at the source:
    https://github.com/MediaPortal/Medi...s/CustomDevices/Turbosight/Turbosight.cs#L400
    Line 388 - 411
    you want to open the target dll:
    _libHandle = NativeMethods.LoadLibrary(targetFilename);
    if (_libHandle == IntPtr.Zero || _libHandle == null)
    but in line 394 you check if the source file does NOT exists and if it does NOT exist you try to copy it...
    if (!File.Exists(sourceFilename))
    {
    try
    {
    File.Copy(sourceFilename, targetFilename);
    }
    so this if must be:
    if (!File.Exists(targetFilename))
    and now it works :)

    you can also compare it to mm's original code:
    https://github.com/MediaPortal/Medi...lugins/CustomDevices/Turbosight/Turbosight.cs
    Line 390
    if (!File.Exists("Plugins\\CustomDevices\\Resources\\tbsCIapi" + _apiIndex + ".dll"))
    {
    try
    {
    File.Copy("Plugins\\CustomDevices\\Resources\\tbsCIapi.dll", "Plugins\\CustomDevices\\Resources\\tbsCIapi" + _apiIndex + ".dll");
    }
    this path is equal to: targetFilename in the tve3.5 source:
    string targetFilename = Path.Combine(resourcesFolder, "tbsCIapi" + _apiIndex + ".dll");
    would be nice if you could make the change in the source and than commit it ;)
    As I already said it above, I tested it and now it works :) No "unknown Error" anymore :p
     

    MaxMan23

    MP Donator
  • Premium Supporter
  • September 8, 2007
    380
    48
    Home Country
    Germany Germany
    Hi at all,

    i would like to know how long it takes until the combined TV Server (MP1 / MP2) approximately would be realesed?

    (es sei mir verziehen auf deutsch zu schreiben, alles zu übersetzen ist mir zu viel heute morgen ;). Ich würde gerne MP2 mehr nutzen, dafür muss aber der TV Server für beide gehen, weil MP2 noch viele Funktionen fehlen -was ja auch verständlich ist-. Den Umweg über MP extended ist, finde ich, keine glückliche Lösung. Deshalb würde mich halt interessieren wie so grob die Pläne sind. Finde es auch etwas schade weshalb ihr (morpheus und chefkoch) nicht mehr Unterstützung bei der Entwickung bekommt. Ihr macht eine super Arbeit und ich freu mich auf MP2 :) )
     
    Last edited:

    Users who are viewing this thread

    Top Bottom