TV Service Dying watching tv less than 5 minutes (1 Viewer)

mikeyp

Portal Member
August 23, 2015
29
3
Leicester
Home Country
Great Britain (UK) Great Britain (UK)
Would anyone please be able to shed any light on why my TV Service has suddenly started dieing 5 minutes into watching live tv today?
The service is stopped. Logs attached.

Thanks in advance.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    It looks like you've somehow managed to get into a situation where you have a recording schedule for a channel that no longer exists.

    Have you deleted some channels recently?
     

    mikeyp

    Portal Member
    August 23, 2015
    29
    3
    Leicester
    Home Country
    Great Britain (UK) Great Britain (UK)
    It looks like you've somehow managed to get into a situation where you have a recording schedule for a channel that no longer exists.

    Have you deleted some channels recently?

    Quite possibly. The UK Freesat and Freeview lineup changes every so often and I did update my channels about a month ago.

    Oddly I can get into Scheduled recordings in Media Portal, but everything looks as it should on channels I know have not changed.

    More oddly I can't see anything under Schedules in TV Server Configuration. I have used it before so know it has worked. Now, when I select it, the banner at the top changes to schedules, but the window contents remain whatever was previously selected.

    Do you think I have a corrupt database?

    Do you think this might be the nudge that finally pushes me to using MediaPortal 2.1? I've been trying it every so often and I have to say the Pre2 release is looking good. Oh, before I go off on a tangent, I have a question about MP2 that I'll look up and post if I can't find the answer.
     

    mikeyp

    Portal Member
    August 23, 2015
    29
    3
    Leicester
    Home Country
    Great Britain (UK) Great Britain (UK)
    Thank you for pointing me in the right direction. I found this below in similar threads: TVSERVER service crashing constantly

    The result of the commands is below:
    Code:
    C:\Program Files\MySQL\MySQL Server 5.6\bin>mysql.exe -h localhost -u root -p
    Enter password: ***********
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 12
    Server version: 5.6.10 MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql> use MpTvDb
    Database changed
    mysql> DELETE FROM Schedule WHERE NOT EXISTS (SELECT * FROM Channel WHERE Channel.idChannel = Schedule.idChannel);
    Query OK, 1 row affected (0.00 sec)
    
    mysql> DELETE FROM Schedule WHERE NOT EXISTS (SELECT * FROM Channel WHERE Channel.idChannel = Schedule.idChannel);
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> commit
        -> ;
    Query OK, 0 rows affected (0.00 sec)
    
    mysql> \q
    Bye
     

    mikeyp

    Portal Member
    August 23, 2015
    29
    3
    Leicester
    Home Country
    Great Britain (UK) Great Britain (UK)
    I can confirm that after a reboot, that has fixed the Schedules window in TV Server Configuration.
     

    Users who are viewing this thread

    Similar threads

    I have recently updated from MP 1.30 to 1.31 on a Win 11 PC slightly different to your software set up but given Win 10 is still supported I doubt there are many major differences regarding the ".NET Runtime Optimization Service". On my setup I am not seeing any significant CPU usuage MP takes around 3% and the TV Service is...
    I have recently updated from MP 1.30 to 1.31 on a Win 11 PC slightly different to your software set up but given Win 10 is still...
    Hi, I have a single seat setup with MP 1.31 on a Win10 machine. Since the last automated Windows update the TV-Service produces a...
    Replies
    7
    Views
    1K
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11. Saved me a lot of time having to debug the code. Thanks for the tip!
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11...
    Hello, I spent a couple of days trying to resolve this issue and cannot figure it out. I have set up MediaPortal Server on an old...
    Replies
    2
    Views
    908
    Hi CyberSimian I've tried not using WebEPG at all for a few days and can confirm what you said: that broadcast EPG retrieves 7 days at a time in the UK by default. I have had no issues at all using DVB EPG this way, retrieving the EPG when the system is idle.. I think I am going to stick with doing things this way and expect...
    Hi CyberSimian I've tried not using WebEPG at all for a few days and can confirm what you said: that broadcast EPG retrieves 7...
    The TV Service on my MediaPortal server machine stopped unexpectedly and generated the attached log. Can someone please explain...
    Replies
    24
    Views
    3K
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    70
    Views
    5K
    Azzuro and doskabouter, got it working. Resetting the database worked. And after linking to the server via current IP and making a new db, I relinked to the original db and all settings were restored. Thanks again and Happy New Year to all!
    Azzuro and doskabouter, got it working. Resetting the database worked. And after linking to the server via current IP and making a...
    A couple weeks ago the TV server service stopped working. Not urgent, so waited till today to research it. Did an upgrade to 1.26...
    Replies
    4
    Views
    1K
    Top Bottom