TV Server problms with DVB-T USB Dongle (1 Viewer)

ninja 12

MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    Right then ,

    I've rebooted and here's what happened -

    When MediaPortal was loading , it sat with the message "Waiting for TV Servise to start" for about 45 seconds . My network connection was not working , and sat there with the Windows "waiting" icon , just like my first post .

    When MediaPortal had finished loading , I got a message "Connection to TV Service Lost " and I had no channels listed in my EPG .

    After another minute or so , my network had connected .

    Logs are included from both MediaPortal and TV Server (Log.zip and MPlog.zip)

    I then logged off instead of rebooting , and logged back on . All my channels were listed in my EPG so I tuned to a channel from my DVB-S card (BBC HD) and then tried a channel from my dongle (RTE News) . Both worked perfectly !!!
    Logs from this are included - "log off log.zip"

    Very strange , If I boot from completely powered off , wait a few minutes for everything to settle down , then log off and then log on , everything works .
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    Yeah, I'm not sure that you even need to log off and log back in. The issue is that it just takes some time to figure out how to build the connections to the USB tuner correctly. The tuner is somewhat unusual in that it doesn't have a capture filter. That probably makes no sense to you. Let's just say that in the process of figuring that out, MediaPortal tries to connect a part of the satellite tuner with a part of the USB tuner. That will never work of course. It eventually fails, but it takes a couple of minutes to give up. While that is happening the TV Service won't respond... which is why the network connection locks up, MediaPortal client can't connect to the TV Server, and the guide doesn't update. If you wait it out then the problem will resolve itself and you shouldn't experience any further issues...

    There is already a hard-coded list of tuners that don't have capture filters (like yours) in the TV Server code. Your tuner is not included yet. Perhaps we can add it or find a better solution. I'll speak to the rest of the team and get back to you...
     

    ninja 12

    MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    If I just let my system sit and wait for my network connection to sort itself out , My Imon manager (lcd display and remote ) crashes , I assume this is because it uses a network connection as well .

    Logging off and then back on fixes this . (edit - Logging off and then back on (when my network connection has sorted itself out) fixes this )
    I have some more logs for you , give me a minute or two ,

    Thanks again for helping .
     

    ninja 12

    MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    Now that I have logged off and on again , I can exit MediaPortal , and restart it with no problem .

    If I select a channel from my dongle , it works , including teletext .

    The logs for MediaPortal however , include an error log file , but I got no error message on screen .

    Logs are attached .


    When you say you can add my tuner to the list , what would that do ?
    Sorry if it's a stupid question .

    There is already a hard-coded list of tuners that don't have capture filters (like yours) in the TV Server code. Your tuner is not included yet. Perhaps we can add it or find a better solution. I'll speak to the rest of the team and get back to you...

    Obviously , plugging in my mouse so that I can log off and then back on every time I turn on my media pc is not very user friendly , so would adding the tuner to the list mean MediaPortal would know how to use the tuner properly ?


    Again , Thanks for your help .:D
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    I've talked to the team really quickly and we've agreed on what to do. I hope to fix this problem nicely for 1.2.0, but in the meantime you'd be stuck with this annoying issue until 1.2.0 is released sometime next year. I don't want to do that to you so I've attached a "quick and dirty" patch for 1.1.2. Instructions for use are the same as for installing the debug DLL that I gave you earlier...

    [Edit: please let me know if the patch works]

    When you say you can add my tuner to the list , what would that do ?
    Sorry if it's a stupid question .
    No such thing as a stupid question :)
    It would make TV Server use your tuner properly, which would fix all the associated problems (networking hang, Imon and remote crash, EPG issues...).

    There is already a hard-coded list of tuners that don't have capture filters (like yours) in the TV Server code. Your tuner is not included yet. Perhaps we can add it or find a better solution. I'll speak to the rest of the team and get back to you...

    Obviously , plugging in my mouse so that I can log off and then back on every time I turn on my media pc is not very user friendly , so would adding the tuner to the list mean MediaPortal would know how to use the tuner properly ?
    Absolutely - very unfriendly! Yes adding the tuner to the list would mean MP knows how to use the tuner properly as described above.

    Again , Thanks for your help .:D
    You're most welcome. Thank you for reporting the problem and providing logs.
    :D

    @Hamco: I'm presuming that you're affected by the same problem. If you're not using MP 1.1.2 then please let me know which version you're using and I'll provide a patch for you too :)
     

    Attachments

    • TVLibrary[Winfast_USB_tuner_no_capture_filter_1.1.2].zip
      150.2 KB

    ninja 12

    MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    It Works !!!!!!!

    It Works !!!!!!! :D


    I've replaced the .dll as before and rebooted .

    I waited with baited breath , and when MediaPortal had loaded I tried a channel fron my DVB-T dongle .
    It worked first time :D:D

    I don't have to log off and on again either !!!

    Thanks a million for your help with this .

    I've included logs for you , to help with any further issues .

    "restart tv service log.zip" is from when I restarted the TV Service


    The other two are from when I deleted all logs and rebooted . then tried tv from my dongle .

    The MediaPortal log has an error log file , but I didn't get an error message on screen , and the tv still worked perfectly .


    I still have the tv cards set to preload , should I untick this option or leave it as it is ? ( especially as it is working properly )

    Again , Thanks for you help :D:D:D


    - Off topic , but I see you're in New Zealand . I visited there in 2004 , and loved every minute of it . It's a fantastic country and friendly, welcoming people !!!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Re: It Works !!!!!!!

    It Works !!!!!!! :D


    I've replaced the .dll as before and rebooted .

    I waited with baited breath , and when MediaPortal had loaded I tried a channel fron my DVB-T dongle .
    It worked first time :D:D

    I don't have to log off and on again either !!!

    Thanks a million for your help with this .

    I've included logs for you , to help with any further issues .

    "restart tv service log.zip" is from when I restarted the TV Service


    The other two are from when I deleted all logs and rebooted . then tried tv from my dongle .

    Fantastic! :D

    The MediaPortal log has an error log file , but I didn't get an error message on screen , and the tv still worked perfectly .
    Did you clear that log when you cleared the other logs? The errors themselves are really outside my area of expertise (I'm really a TV Server/hardware specialist), but from what I do know about TsReader they seem *very* strange.


    I still have the tv cards set to preload , should I untick this option or leave it as it is ? ( especially as it is working properly )
    Again , Thanks for you help :D:D:D
    Up to you. It should work either way :)

    - Off topic , but I see you're in New Zealand . I visited there in 2004 , and loved every minute of it . It's a fantastic country and friendly, welcoming people !!!
    We like to help when we can :)
    It is actually 4:30am here so I should really get to bed. I just wanted to make sure that your issue was sorted. I'll post here again when I have put together the "nicer" patch for 1.2.0. I'd appreciate it if you could help me by testing to make sure it works (I'll create a special version for 1.1.2). Until then, happy TV watching :D
     

    ninja 12

    MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    Me again ,

    It still works but I thought I'd do a little experiment .

    I started Windows 7 Media Centre and tuned to a tv channel from my dongle . It worked , so I exited Media Centre and started MediaPortal .
    I then tried to tune to a channel from my dongle and got a, "unknown error" message on screen .

    I have included logs for this .

    A reboot sorted this and all is working perfectly with MediaPortal again .
    I assume Windows Media Centre didn't let go of the usb DVB-T dongle properly and MediaPortal couldn't access it .

    It's not an issue for me as I don't use Media Centre , but the logs might come in useful for yourself or other developers .

    Thanks again :D
     

    ninja 12

    MP Donator
  • Premium Supporter
  • April 22, 2009
    126
    42
    Home Country
    Ireland Ireland
    Re: It Works !!!!!!!

    The MediaPortal log has an error log file , but I didn't get an error message on screen , and the tv still worked perfectly .
    Did you clear that log when you cleared the other logs? The errors themselves are really outside my area of expertise (I'm really a TV Server/hardware specialist), but from what I do know about TsReader they seem *very* strange.
    I think I cleared all logs , and included any new log files in the .zip file

    - Off topic , but I see you're in New Zealand . I visited there in 2004 , and loved every minute of it . It's a fantastic country and friendly, welcoming people !!!
    We like to help when we can :)
    It is actually 4:30am here so I should really get to bed. I just wanted to make sure that your issue was sorted. I'll post here again when I have put together the "nicer" patch for 1.2.0. I'd appreciate it if you could help me by testing to make sure it works (I'll create a special version for 1.1.2). Until then, happy TV watching :D

    I was typing another post at the same time as you !!

    I'll be happy to test and help in any way .

    Just let me know what you want me to do .

    Thanks again .
     

    Users who are viewing this thread

    Top Bottom