Ticket #6431 (closed patch: fixed)
Opened 3 years ago
Last modified 3 years ago
mythweb's video scan picks up AppleShare droppings and adds them to the database
| Reported by: | justdave | Owned by: | kormoc |
|---|---|---|---|
| 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
Change History
Changed 3 years ago by justdave
- Attachment mythvideoscan.diff added
comment:1 Changed 3 years ago by justdave
Credit goes to sphery on #mythtv-users for the find parameters I ended up using.
comment:2 Changed 3 years ago by kormoc
- Owner changed from xris to kormoc
- Status changed from new to accepted
comment:3 Changed 3 years ago by kormoc
- Status changed from accepted to closed
- Resolution set to fixed
comment:4 Changed 3 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)

Patch to ignore dotfiles