Opened 16 years ago
Closed 16 years ago
Last modified 15 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)
Change History (5)
Changed 16 years ago by
Attachment: | mythvideoscan.diff added |
---|
comment:1 Changed 16 years ago by
Credit goes to sphery on #mythtv-users for the find parameters I ended up using.
comment:2 Changed 16 years ago by
Owner: | changed from xris to Rob Smith |
---|---|
Status: | new → accepted |
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 15 years ago by
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