Custom (3D) Filter disappeared from menu editor

Discussion in 'Moving Pictures' started by sHiKoRa, January 10, 2014.

  1. sHiKoRa
    • Premium Supporter

    sHiKoRa MP Donator

    Joined:
    May 19, 2008
    Messages:
    13
    Likes Received:
    0
    Location:
    Limburg
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I created a custom filter for my 3D movies (screenshot#1). After I added the filter it shows up nicely in MP (screenshot#2), and works great. Unfortunately I can't edit the filter anymore because it disappeared from the menu editor (screenshot#3). Maybe it's a small issue which can easily be resolved, if nobody has any clue I'll have to reinstall the plugin.

    MediaPortal: 1.6.0
    Moving Pictures: 1.5.1.1487
    Skin: Titan Extended

    Thx for the help in advance! :)


     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,451
    Likes Received:
    4,231
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,371 / 0
    Home Country:
    Australia Australia
    Re-installing the plugin won't solve your issue. I have no clue why it's gone, never had a problem like this before myself.

    I suggest you re-create the category/filter and see if you can re-produce the issue. Your screenshot #3 looks like the default set of categories.
     
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,153
    Likes Received:
    1,294
    Ratings:
    +1,659 / 2
    Check to see if the custom category accidently got itself as a subcategory into another, so expand all the others, you can then drag and drop to re-arrange. When you initially created the category, you were supposed to enable the checkbox for "blank menu item", so this might have gone wrong. Or like @ltfearme suggested, just write it up to a gremlin and recreate it.
     
  5. sHiKoRa
    • Premium Supporter

    sHiKoRa MP Donator

    Joined:
    May 19, 2008
    Messages:
    13
    Likes Received:
    0
    Location:
    Limburg
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thx for the quick reply! :) Besides the 3D Movies filter I use the default set of categories. I recreated the filter, but it disappeared again. The filter works fine so far so I'll just leave it. If I would do a clean install of Moving Pictures and recreate the database, would that have no effect?
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,153
    Likes Received:
    1,294
    Ratings:
    +1,659 / 2
    SQLite is the database system of choice for Moving-Pictures and many other plugins such as MP-TVSeries, mainly based on the fact that MediaPortal used it as well (recently you can switch to more robust solutions such as MySQL).

    What it means is that corruption on a database can occur without you sometimes even knowing it, which can lead to weird/random behaviour. Since filters/custom-categories do not dissapear for the majority of users, you are clearly dealing with gremlins, which then makes dbase corruption one of the many possible culprits.

    It does not have to be it, it could be that you got some concurrency issue going on with another plugin, or stumbled on some combination of settings that cause a not-yet fixed bug to surface, sometimes it is really a needle in a haystack. For me the Sherlock Holmes way of debugging always makes things easy, and that is once you start excluding all other possabilities, then whatever you are left, how unlikely it is, has to be the cause.

    You might have spend a lot of time creating custom categories, in which case deleting the database is going to be painfull, because you wll have to redo them all, but at the same time that gives you the ideal oppertunity to restructure it the way you really want, as after usage of a system that you slowly expand a fresh start usually leads to a better structure.

    Before you go crazy and delete the existing database, why don't you just re-locate it to a safe location, and reconfigure MovPic with basic setting, perhaps set it to a path that only holds a few movies and another path with some 3D movies, then you create the 3D category/filter and see if it sticks. If that works then you know 100% sure already that something is wrong with the old database and you simply start over again, but this time configure it for your entire collection and redo all your categories/settings.

    If it still dissapears, then what you did was create a very centric test case which if you run MediaPortal in debug verbosity log mode, should allow the developers of MovPic to locate that astranged bug.

    Odds are redoing it fresh will fix it all, as it works fine for majority of users.

    PS: You can also use an SQLite tool to run a PRAGMA integrity test on your database, it will reveal instantly if there is a technical detectable corruption in your database. If you search the forums you will find a post of me where I share a batch-script that does this fully automatic as part of an automatic backup/restore system (in the event of corruption). I can't remember if I posted it in MovPic, MP-TVSeries, or both, but I am sure you can find it.
     
  7. sHiKoRa
    • Premium Supporter

    sHiKoRa MP Donator

    Joined:
    May 19, 2008
    Messages:
    13
    Likes Received:
    0
    Location:
    Limburg
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thx for the information RoChess! I've been upgrading MediaPortal since version 1.2.0. So it's quite possible the database got corrupted somewhere along the way. Since it works fine right now, I think I leave it the way it is. I think I can still edit the filter by adding it every time and change whatever needs to change, I only won’t be able to delete it.

    If it becomes a problem I can use PRAGMA as you suggested. But maybe a clean install of MP with all the plugin’s won’t be a bad idea either. Thx for you all your help RoChess. :)
     
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,153
    Likes Received:
    1,294
    Ratings:
    +1,659 / 2
    Yeah, especially if you remove movies (maybe bad or you needed the space) or do the same with TV episodes, or other content then a lot of times a bunch of crap stays behind in the database or artwork folders. Now there are other plugins such as MPCleaner that will scan MovPic and MP-TVSeries database and locate any artwork not used anymore so it can delete it, but that doesn't take care of the database.

    So a fresh start is not a bad idea, and is only a pain when you have a ton of custom modifications that would take forever to re-add. That is why for example I've made a feature ticket request to add an export/import method to MovPic on the custom categories, the same way MP-TVSeries allows you to export/import your parsing expressions and string replacements.

    Of course there are many other issues that need attention, so we'll just have to be patient for one of the developers to work on it. Lot of times the main motivator for developers on open source projects is if the work benefits their own usage of the product, so lets hope that one of them sees the benefit in an export/import option :)
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!