My TVSeries makes my MP crash (1 Viewer)

z3us

Portal Pro
December 4, 2007
1,047
123
44
Home Country
Spain Spain
This only happens with TVSeries enabled, so I assume this is related to this plugin
Thanks
 

DerPrinz82

Portal Pro
September 3, 2011
112
15
Home Country
Germany Germany
Why does the tv-series database get corrupted so often?
More than 90% of the time my MP crashes, the tv-series database causes it.
Is there an issue with that database in special?
It has definitely become more often and regular the last months.
Does it have to do with the size of the db file?
I feel like: the bigger the file gets, the more often it causes MP to crash.

Greetings...
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Why does the tv-series database get corrupted so often?

    Are you running anything non-standard? Conflicts with other plugins?

    MP-TVSeries does way more SQLite transactions than most other plugins, so if you have other issues on your system, it is an easy one to go corrupt, especially if your system forces a shutdown before it is done flushing all the data. As a workaround I have written an auto-backup/auto-restore script though that uses an SQLite PRAGMA INTEGRITY scan to verify if all the databases are intact. Should be easy to find on the forum if you search.

    It shouldn't be needed, but out of thousands of users only a few experience db3 corruption. That means it is a combination of things that causes it, which makes the bug a small needle in a big haystack.
     

    DerPrinz82

    Portal Pro
    September 3, 2011
    112
    15
    Home Country
    Germany Germany
    Thanks for your response.

    Actually, I don't experience other major issues on my system, excepting those after major MP or skin updates which may be caused by incompatibility of some plugins or something like that. As I mentioned, it's the db issue which is problematic for me.
    Of course, I sometimes reboot my system or send it to standby. But how should I ever know if the system has "flushed" all the data?
    When I'm done watching TV, an episode oder a movie, I send the system to standby.
    I really don't know how the db corruption can be prevented if it is really caused by a standby or reboot action.

    Greetings....
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Could be a thousand of things, ranging from driver, controller, drive, even cable or setting or combination.

    All it takes is 1 bit out of a billion to be corruption and you got issues. Maybe you have a single bit wrong in your RAM modules, that only gets used in extreme rare conditions due to the massive amount of other bits available.

    After you finish watching a movie, MP-TVSeries has to do a ton of updates to the database, as well as sync with the cloud if you use follw.it/trakt. Issues with TCP connections could cause delays in the seconds, and if you put system into standby fast then not everything might have finished. Logs should be able to tell you.

    Are you using fast SSD media that can keep up for the software/database side? or mechanical HDDs? never mind, I just noticed the M4 SSD spec in your profile.

    It is all guesswork, because you have not provided a single useful log file that might narrow down the cause from thousands to at least a dozen or so.
     

    Users who are viewing this thread

    Similar threads

    https://forum.team-mediaportal.com/threads/5154-mediaportal-1-x64-sharpdx.140955/ Attached as extension.zip in first post.
    https://forum.team-mediaportal.com/threads/5154-mediaportal-1-x64-sharpdx.140955/ Attached as extension.zip in first post.
    I installed the x64 1.32 Version and eveything seems fine. But where are the MovingPictures and MP-TVSeries Plugins? I can still...
    Replies
    1
    Views
    425
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted during the reinstall of MP. I also had to do the same with TRAKT which had some issues too that were not apparent at the time. All is well once again. :cool:
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted...
    After much trial and error and comparing this computer with another that was working, I finally found out that Fanarthandler...
    Replies
    1
    Views
    835
    MP1 MP2 Dropping Episodes DE
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in French), season 20 only displays the first 3 episodes, I couldn't find any difference in the file names between these first 3 episodes and the following ones except for the episode number of course. By going...
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in...
    Hi all, this seems to be a bit of a follow up on an issue I was having a couple of years ago. That issue just seemed to resolve...
    Replies
    3
    Views
    745
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV audiodecoder shows status 'bistreaming' on the output. What is your LAV status?
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    13
    Views
    1K
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism of working with playlists in online broadcasts. Well, here you need to look at what is happening in the Media Portal player. And find someone who understands how it works.
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism...
    I am running the latest "any cpu" version of the Radio Time plugin with MP 1.33 x64 which is working well except some of my...
    Replies
    22
    Views
    1K
    Top Bottom