Moving files to DVD/CDs (1 Viewer)

ederson13

Portal Member
December 9, 2008
40
3
Sorry if this has been asked again the similar thread i`ve read didn`t help much


You all know how easy it is to fill an hdd. Mine just did and now it`s not possible to get a bigger one. So i decided to copy a couple of series to dvds.

I`ve checked the "keep reference to files" option.
So once i copied the files and deleted them from the hd the db entries were not deleted.
So far so good.

The problem is that once i insert the dvd the files are again insterted in the db and i get duplicate entires.

I remember reading that for the deleted files the plugin would change the location entry if the files "re appear" in any of the import paths. Am i wrong on this ?

Is it possible to do this automaticaly or i have to do it with sql editor?
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    You shouldn't use 'keep reference to files' in this case. You can mark an Import Path as Removable, this is what you should do for DVD Drive import paths.
     

    ederson13

    Portal Member
    December 9, 2008
    40
    3
    You can mark an Import Path as Removable, this is what you should do for DVD Drive import paths.

    The drive is set a removable.
    Do you mean i should mark the hd path too ?
     

    marvenius

    Portal Pro
    September 3, 2008
    523
    47
    Belgium
    Home Country
    Netherlands Netherlands
    you should disable the "keep reference..." option. This option tells the plugin to keep DB entries while the HD file is no longer available.
    This does not apply for removable media.
     

    ederson13

    Portal Member
    December 9, 2008
    40
    3
    But in this case the episodes will be re inserted in the db as new. Unwatched and without my ratings. I don`t want that!!! :D

    I guess the only way is to manually change the location in the db
     

    marvenius

    Portal Pro
    September 3, 2008
    523
    47
    Belgium
    Home Country
    Netherlands Netherlands
    I believe watched flags are marked on the episode, not the local file. Rating I don't know, don't use it, but it might also be on the episode, not the local file.
     

    marvenius

    Portal Pro
    September 3, 2008
    523
    47
    Belgium
    Home Country
    Netherlands Netherlands
    correct, there is episode information (gathered from thetvdb.com) and matches these with local files. Watched flag is stored with the episode information in the DB.
     

    ederson13

    Portal Member
    December 9, 2008
    40
    3
    So lets say i have this

    c:\series\house\1\e01.avi

    The db entry keeps the info about episode thumb, ratings, watched flags etc and the file path c:\series\house\1\e01.avi

    I copy it to a dvd

    f:\1\e01.avi

    When i insert it ,the plugin won`t find any record for the file f:\1\e01.avi and will create a new record without the "extra" data
    If i don`t have checked the "keep reference" option the first record will be deleted. But it won`t update the new one
     

    marvenius

    Portal Pro
    September 3, 2008
    523
    47
    Belgium
    Home Country
    Netherlands Netherlands
    remember: parsing rules still apply, even if the serie is on a DVD :)
    Code:
    f:\1\e01.avi
    will not resolve to a serie..
    You have a table: series + season +episodes
    in it is House, season 1, episode12 (information dowloaded from thetvdb.com). In a separate table (filepath, resolutionx, resolutiony, audiocodec, videocodec...) this may be linked to a file "H:\series\House\Season 1\House - S01E12 - some house episode title.avi".
    You have watched this. In the series + season + episodes table the watched flag is set.
    You move the file to a different location, Say a DVD, and your DVD reader is set at drive letter Q (in the plugin marked as removable).
    On insertion of the DVD containing this episode (perhaps amongst others..) the plugin will try to parse the file and connect it to a series + season + episode.
    The watched flag that was there will still be there. hence, this episode will be marked as watched.
    When you have the "keep references..." activated, you will also see an entry to the old file (from H:\)
     

    Users who are viewing this thread

    Top Bottom