Removed files still shows in database and in media portal (1 Viewer)

Ne3M

Portal Member
January 17, 2010
11
0
South Africa South Africa
Hi,

I tried searching around but havent found another thread to solve my problem. My TV-series plugin shows files that I have removed. I cant find any way to remove these deleted files from the database, the only solution thus far is to wipeout the entire database and scan all my series again.


The problem is as follow. Assume I have a file name "Greek 1x01 h264.avi" this will point to Greek Ep 1 S1 which is correct. If I rename this file to say "Greek 1x01.avi" I now have 2 entries inside media portal -> My TV Series, one of them which is invalid. Now as soon as I delete "Greek 1x01.avi" I have 2 invalid entries still showing in media portal -> My TV Series. When I click on them it tells me to "please insert the disk". My shares are located on a network share.

I have tried different options like checking and unchecking "show only local files" and "keep references to files that are no longer available". I've also rescanned the whole database. None of the above solves my problem besider wiping out the whole database and rescanning thus removing invalid entries and only valid entries visible. Can someone perhaps help? Thank you very much :)
 

rekenaar

Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    South Africa South Africa
    Hi there and welcome :)

    If it is only a few files, you do it as follow.
    Open MP Configuration
    Go to plugins
    Configure TVSeries

    In the leftmost tab, you can now browse the database entries.
    Identify the wrong one and delete it.
     

    Ne3M

    Portal Member
    January 17, 2010
    11
    0
    South Africa South Africa
    Thanks for the welcome :)


    Thanks for the hint, but I use TV series plugin to watch ALL my tv episodes, thus I have a HUGE collection series, about 2000 episodes so it is really hectic to keep track! Any other method to correct such a large database?
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    South Africa South Africa
    Not in front of HTPC now, but are there not an option to keep reference to files that are no longer available?
     

    Ne3M

    Portal Member
    January 17, 2010
    11
    0
    South Africa South Africa
    Not in front of HTPC now, but are there not an option to keep reference to files that are no longer available?
    Checked and unchecked that exact option, makes absolutely no difference...:mad:
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,345
    1,824
    Country flag
    Thanks for the welcome :)


    Thanks for the hint, but I use TV series plugin to watch ALL my tv episodes, thus I have a HUGE collection series, about 2000 episodes so it is really hectic to keep track! Any other method to correct such a large database?
    You could do as I do, enable "delete via GUI" option, then the remote control '0' button is a quick way to enter the delete menu.

    Option '1' = delete from disk, as in delete the file, but retain entry in database. This is what I use to prevent a show from dissapearing from my MP-TVSeries overview, because if you remove the last episode from a show, then the entire TV show would dissapear from the visible menu as there are no items. The show/season/episode will get an 'orange' color to indicate that MP-TVSeries can not locate any files.

    Option '2' = delete from database, you can use this to clean up the 'orange' colored entries left behind after you did option '3', but because you can also repeat '3' to do the same, I never use this option.

    Option '3' = delete from disk+database, cleans up files you already watched. You can do this per episode, per season, but also entire shows.

    The only times you have to use the MP-TVSeries control panel to clean up things, is for the shows that are hidden or skipped during import. You can just right click those entries in the details overview menu on the left side and delete per episode/season or show basis. Just make sure to select the right buttons on the follow up questions, such as "Do you want to delete all....".
     

    Ne3M

    Portal Member
    January 17, 2010
    11
    0
    South Africa South Africa
    Thanks for the welcome :)


    Thanks for the hint, but I use TV series plugin to watch ALL my tv episodes, thus I have a HUGE collection series, about 2000 episodes so it is really hectic to keep track! Any other method to correct such a large database?
    You could do as I do, enable "delete via GUI" option, then the remote control '0' button is a quick way to enter the delete menu.

    Option '1' = delete from disk, as in delete the file, but retain entry in database. This is what I use to prevent a show from dissapearing from my MP-TVSeries overview, because if you remove the last episode from a show, then the entire TV show would dissapear from the visible menu as there are no items. The show/season/episode will get an 'orange' color to indicate that MP-TVSeries can not locate any files.

    Option '2' = delete from database, you can use this to clean up the 'orange' colored entries left behind after you did option '3', but because you can also repeat '3' to do the same, I never use this option.

    Option '3' = delete from disk+database, cleans up files you already watched. You can do this per episode, per season, but also entire shows.

    The only times you have to use the MP-TVSeries control panel to clean up things, is for the shows that are hidden or skipped during import. You can just right click those entries in the details overview menu on the left side and delete per episode/season or show basis. Just make sure to select the right buttons on the follow up questions, such as "Do you want to delete all....".
    Ok tried that, but if I use option 2 like you state I delete that database entry, invalid AND valid entries. My problem is as follow. I have directory called "Black Adder" and I rename it to "Backadder" I now have an exact copy of the previous directory "Black Adder" with all the seasons which all the entries are now invalid. The new entries from "Blackadder" are valid but I have doubles on every episode. An invalid entry from the non existent "Black Adder" directory and a valid entry "Blackadder" directory. The same happens when I rename a episode file as well.

    I'm thinking now there is no option in Tv series plugin to remove invalid entries and just keep the valid entries?! I hope I'm wrong?

    T
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,345
    1,824
    Country flag
    Ok tried that, but if I use option 2 like you state I delete that database entry, invalid AND valid entries. My problem is as follow. I have directory called "Black Adder" and I rename it to "Backadder" I now have an exact copy of the previous directory "Black Adder" with all the seasons which all the entries are now invalid. The new entries from "Blackadder" are valid but I have doubles on every episode. An invalid entry from the non existent "Black Adder" directory and a valid entry "Blackadder" directory. The same happens when I rename a episode file as well.

    I'm thinking now there is no option in Tv series plugin to remove invalid entries and just keep the valid entries?! I hope I'm wrong?

    T
    It helps when you explain your actual problem, because it involves more then what you asked for before.

    Your solution would be to go into the configuration screen and delete all the episode entries to the old/bad folder location. But that can be a lot of work, so it is much easier to just delete the entire show "Blackadder" from your database, so that it removes all "Black Adder" and "Blackadder" entries from the database. And then re-import the entire show again.

    MovingPictures has a hash based method to detect that you moved the same files to a new location, so it only updates the location reference. But MP-TVSeries thinks you added different files and will add them as such.
     

    Ne3M

    Portal Member
    January 17, 2010
    11
    0
    South Africa South Africa
    It helps when you explain your actual problem, because it involves more then what you asked for before.

    Your solution would be to go into the configuration screen and delete all the episode entries to the old/bad folder location. But that can be a lot of work, so it is much easier to just delete the entire show "Blackadder" from your database, so that it removes all "Black Adder" and "Blackadder" entries from the database. And then re-import the entire show again.

    MovingPictures has a hash based method to detect that you moved the same files to a new location, so it only updates the location reference. But MP-TVSeries thinks you added different files and will add them as such.
    Sorry tried to explain it earlier, that was my best attemp. So at this time TV Series has no option to "not" display(in media portal) invalid entries in its database. Would be a really nifty feature if it can be implemented. Thanks for the help ;)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    HTPCSourcer [Evaluate] Remove obsolete menu entries from "MP2 TV Configuration" MediaPortal 2 0
    HTPCSourcer [Evaluate] MP2-Updates do not remove the GUID of previous installs MediaPortal 2 13
    stirlinghart [solved] Remove recording started & finished pop ups General 2
    D Remove "Old" client names from Service Monitor? General 5
    stirlinghart How to remove menu overlay General 11
    D Downloading EPG XML file: Installation, configuration support 0
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    J Help with new grabber file. WebEPG 1
    S [solved] No sound - MKV file MediaPortal 1 Talk 2
    G WTV files General 11
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    M Keymapping Which File To Edit General Support 4
    F No data in "File Details" Moving Pictures 2
    R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 0
    B xml file for perfect player Newcomers Forum 1
    K How to enable autoplaying of the next video files in the folder MediaPortal 1 Talk 2
    B Text files attached to videos Watch / Listen Media 10
    Similar threads

























    Top Bottom