Client crashing when entering live TV - logs attached (1 Viewer)

ben1210

MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Please advise - reset both server and client and still cant get the client to connect the TV server
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi,

    your TVSeriesDatabase4.db3 seems to be broken. Try to make a backup and remove it to check if it helps.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    This worked.

    This database has broken a few times. Is there any way to protect against it breaking?

    Should I not use TV Series and try something else?

    Any help greatly appreciated, trying really hard with MP, but its just problem after problem, want it to work, thanks
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Hi, this has happened again on 2 clients today. Any one provide any help to prevent this happening again?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    It looks like you're not closing down MP cleanly:
    [2014-04-09 09:01:34,696] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 2769 ms - Done starting g_Player.Play()
    [2014-04-09 09:01:34,718] [Log ] [MPMain ] [WARN ] - TVHome.OnClicked(): Total Time - 3384 ms
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 200 (window property: lblDate)
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 201 (window property: lblTime)
    [2014-04-09 09:07:13,292] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Using Directories:

    ...and then it starts:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database: TVSeriesDatabase4.db3
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:

    Same the other day:
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - loaded 3 tv groups
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD done
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-07 19:07:42,863] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!

    You have to close stuff down cleanly, otherwise expect open files to have the possibility of being corrupted.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    It looks like you're not closing down MP cleanly:
    [2014-04-09 09:01:34,696] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 2769 ms - Done starting g_Player.Play()
    [2014-04-09 09:01:34,718] [Log ] [MPMain ] [WARN ] - TVHome.OnClicked(): Total Time - 3384 ms
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 200 (window property: lblDate)
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 201 (window property: lblTime)
    [2014-04-09 09:07:13,292] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Using Directories:

    ...and then it starts:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database: TVSeriesDatabase4.db3
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:

    Same the other day:
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - loaded 3 tv groups
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD done
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-07 19:07:42,863] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!

    You have to close stuff down cleanly, otherwise expect open files to have the possibility of being corrupted.

    Thanks for the response.

    If you are saying that I should be stopping the TV service, going back to MP home and then pressing standby - that is what I do every time. I'm very careful to do this, I dont even Standby with TV service on. I think if you can see any examples of a reset whilst in use (non clean close), I'd only do that if if there is a screen freeze/crash.

    This happens too often to me. There must be something not right with my config. I'll re-enable TV series on both clients and monitor the situation, any re-occurance of the issue, I'll post logs.

    I'm no programmer but is there no way of having a 'fall back' DB. Why not lock the DB and having a copy DB being used as live and thus any corruption you could automatically go back to original copy. How would the likes of Sky Box deal with a sudden power off?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    If you are saying that I should be stopping the TV service, going back to MP home and then pressing standby - that is what I do every time. I'm very careful to do this, I dont even Standby with TV service on. I think if you can see any examples of a reset whilst in use (non clean close), I'd only do that if if there is a screen freeze/crash.
    I'm saying it has nothing to do with the TV service and everything to do with how you're going into standby. Maybe I'm wrong as I'm not an expert with stuff, but that is my read on it.

    This happens too often to me. There must be something not right with my config.
    I agree there... but not necessarily your MP config.

    How are you handling standby + resume?

    I'm no programmer but is there no way of having a 'fall back' DB.
    Point is that there shouldn't be a need for it.

    Why not lock the DB and having a copy DB being used as live and thus any corruption you could automatically go back to original copy. How would the likes of Sky Box deal with a sudden power off?
    I don't know how a Sky box works, but PCs are not Sky boxes and with all due respect you can't treat them that way. There is a procedure for recovering SQLite databases... but again I don't think this should be happening if you've configured power management properly.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    If I wasn't clear previously...
    The fact that you're not able to start live TV when this problem occurs is for all intents and purposes irrelevant. The problem is client side and nothing specifically to do with the TV functionality. MediaPortal gets locked up trying to open/close a corrupt database. In my opinion the database is prone to corruption because it is not closed or saved to disk before the PC enters standby.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Thanks for the responses. It makes sense what you say.

    Maybe I need to look in detail at Power Management - I have never used the PowerSchedular plugin.

    The way I go into standby is to finish any media that is playing, return to the MP home page and press standby on the remote - same process for all three clients. The screen then fades to black and PC goes into sleep mode. To wake the PCs straight into MP I press Standby or OK on the remote.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Just to go back on the broken TVSeriesDatabase4.db3 issue. As I was updating to 1.7.1 hotfix I just deleted all the TVSeriesDatabase4.db3 files in c drive. I had to then re-configure the file paths in My TV Series config and run the import again - all has been fine since so far
     

    Users who are viewing this thread

    Similar threads

    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    2K
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
    I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
    Replies
    5
    Views
    2K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    738
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    1K
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching live TV. I've now ticked the box to "Use EVR for LiveTV", with a default display refresh rate of 50Hz. In combination with tweaking some of the Nvidia 3D settings for the MP executable only, I now have a...
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    30
    Views
    8K
    Top Bottom