Local Content Issue / Prune not working

I added a folder for local content that contains episodes of TV Shows. I needed to reencode the shows, so I copied the shows to my computer and reencoded them. I used MCEBuddy. The shows are fine. The template for naming the files was different than the format used on the original file.

Original: Mom/Season 1/Mom - s01e01 - Pilot.mp4
New File: Mom/Season 1/Mom - S01E01 - Pilot.mp4

The only difference is the season and episode upper vs lower case. I had deleted the lowercase files.

I did a rescan and prune but both copies show up.

It seems like the prune function is not working.

Which filesystem? Could be that if the filesystem is case-insensitive, then both copies in Channels' database could point to the same file.

The solution is probably to:

  1. Fully remove the source from your local content path
  2. Re-scan/prune (to ensure those are no longer in the database)
  3. Re-add the files back

Linux file system. I'll remove source and try again. Thanks.

That's rather vague. (Ext2/3/4, XFS, Btrfs, ZFS, etc.?)

If that's the case, it appears that Channels is ignoring the case when comparing filenames, rather than the filesystem.

In either case, the same steps should get you where you want to be.

Indeed it is. Ext4.