Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6431 closed patch (fixed)

mythweb's video scan picks up AppleShare droppings and adds them to the database

Reported by: justdave Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The Scan Videos function in MythWeb picks up various droppings from having the videos storage shared via AppleShare?/netatalk. Most noticeable is .AppleDouble? folders, which contain lots of normal-looking filenames that are really just Apple-specific metadata for the files of the same name in the parent folder.

Comparing to the code in MythVideo?, it appears that MythVideo? excludes any files or directories that start with a dot, which is why running the same scan with MythVideo? doesn't pick them up.

I'm attaching a patch that changes the behavior with regards to dotfiles to match that of MythVideo?.

Attachments (1)

mythvideoscan.diff (634 bytes) - added by justdave 11 years ago.
Patch to ignore dotfiles

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by justdave

Attachment: mythvideoscan.diff added

Patch to ignore dotfiles

comment:1 Changed 11 years ago by justdave

Credit goes to sphery on #mythtv-users for the find parameters I ended up using.

comment:2 Changed 11 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newaccepted

comment:3 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: acceptedclosed

(In [20391]) Fixes #6431, ignore hidden files (unix style) from the video scan

comment:4 Changed 10 years ago by justdave

Any chance of getting this backported to .21-fixes? It applies cleanly, and seems like a usability thing... (my personal reason is I'm having to re-patch this locally every time I pick up a new build from the repo)

Note: See TracTickets for help on using tickets.