Edit MovingPictures.db3 (1 Viewer)

alexeiei

MP Donator
  • Premium Supporter
  • April 8, 2009
    27
    4
    Barcelona
    Home Country
    Spain Spain
    Hi.

    I would like to know if is there any (easy) way of editing the database. I want to change the "genres" cell, once the movie is added to the DB, in order to eliminate duplicated genres (action=accion=acción= etc...)

    Thanks.
     

    lillis_55

    Portal Member
    November 20, 2006
    24
    1
    Home Country
    Sweden Sweden
    You can edit movie details in movingpictures configuration window, movie manager tab. Don't know any other way.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Hi.

    I would like to know if is there any (easy) way of editing the database. I want to change the "genres" cell, once the movie is added to the DB, in order to eliminate duplicated genres (action=accion=acción= etc...)

    Thanks.

    You can edit the database direct with any SQLite tool, and then you can use SQL queries to do a mass update.

    The table you are after is `movie_info` and the column is `genres`. So you can do something like:

    • UPDATE `movie_info` SET genres = REPLACE(genres, '|Accion|', '|Action|');

    Which will mass-replace any Genre called 'Accion' with 'Action'.
     

    Users who are viewing this thread

    Similar threads

    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary genre (i.e. a subgenre). The primary genre might be something like Film (or Movie in the USA). The secondary genre for Film might be something like: Action, Comedy, Crime, Fantasy, Romance, Science...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    In the UK, the EPG transmitted in the DVB-T datastream allows each programme to have two genres -- a primary genre, and a secondary...
    Replies
    0
    Views
    1K
    MP1 MP2 [solved] Ignore "The" for Sort Name? DE
    Added to 1.38 Final
    Added to 1.38 Final
    I don't want to remove the title prefix from a movie title (i.e. "The Matrix" -> "Matrix, The", but I don't want to manually remove...
    Replies
    20
    Views
    2K
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of episodes, the area in the middle contains the programme information for the episode that has the focus. In your screen shot, the list on the right is a list of folders. You could fill the area in the...
    That screen is generated by the file "MyVideo.xml", but it uses various other files too. When the list on the right is a list of...
    Can someone please assist me in the file name and location of which XML controls this screen. I want to create an additional box...
    Replies
    1
    Views
    889
    If everything works, I'll add it to 1.38 Pre
    If everything works, I'll add it to 1.38 Pre
    Would it be possible to add a star rating (1-5) for pictures in the database, preferably even within browsing files? This way, you...
    Replies
    11
    Views
    2K
    Are different people taking turns watching the same thing on the same HTPC? For me, separating users in MP2 is a drawback, as is the interface. Simply put, this can't be done in MP1, or rather, it can't be done quickly, because everything would have to be rewritten. But if each user logs in with their own Windows account, MP1 can...
    Are different people taking turns watching the same thing on the same HTPC? For me, separating users in MP2 is a drawback, as is...
    Hello, Is there a way to integrate a multi-user interface in MP1 where you can create different end users, similar to MP2? A...
    Replies
    2
    Views
    583
    Top Bottom