TV Service Dying watching tv less than 5 minutes (4 Viewers)

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,544
    8,236
    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
    3K
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do something, but it would be 10's of seconds before the action happened. Doing an Alt-Tab would flush the actions. Too weird lol!! So, with some flak from the family, I had to give in. I just did a...
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do...
    So, this one has me quite stumped. Have tried ) and a few things - driver updates, kicking the box, threatening it with a static...
    Replies
    8
    Views
    2K
    Many thanks for the answer. So far I've used Logitech's Harmony hub. This allows you to control all components (including the media portal). I have now contacted the Sofabaton hotline. It should also work here like with the Harmony. Unfortunately, not all of the IR codes are correct. You can also learn commands here. But that doesn't...
    Many thanks for the answer. So far I've used Logitech's Harmony hub. This allows you to control all components (including the...
    I don't have a complicated A/V system - a Sony A8H TV, Yamaha receiver, and a HTPC on which I run most media through MediaPortal. I...
    Replies
    8
    Views
    7K
    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
    3K
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG grabbing configuration, thanks again for all the assistance, wow so much faster on everything now that MSE is out of the picture...MP WAF is now restored and FetchTV STB sits in the corner collecting dust :)
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG...
    Long time MP user, and recently upgraded to MP1.34, prior to this upgrade, i have for many years successfully used MP with fast and...
    Replies
    20
    Views
    6K
    Top Bottom