Rename Partition

  • Hi all,

    sorry for the "for-dummies" question .... what happen if I rename a local usb disk partition containing videos and films? Do I have to re-analyze all them? How to do not loose "viewed and no-viewed" tag on such files?
    Thanks.

  • If the USB drive mount point under /var/media/<disklabel> changes the database files contain incorrect paths to the media and need to be updated else you will see "file not found" errors when trying to play something.

    Code
    <advancedsettings>
     <pathsubstitution>
      <substitute>
        <from>/var/media/OLDNAME/SOURCE/</from>
        <to>/var/media/NEWNAME/SOURCE/</to>
      </substitute>
     </pathsubstitution>
    </advancedsettings>

    Path substitution ^ should work. Or you need to process the contents of the database files.

  • I am thinking about moving some stuff from a NAS to a locally attechted HDD... Would something like this work, too?

    Code
    <advancedsettings>
    <pathsubstitution>
     <substitute>
       <from>smb:some-IP/my-stupid-fritznas/soure</from>
       <to>/var/media/my-new-local-hdd/source/</to>
     </substitute>
    </pathsubstitution>
    </advancedsettings>