Opened 10 years ago
Closed 10 years ago
#12476 closed Patch - Bug Fix (Invalid)
Mythvidexport.py does not filter character '/' for file name, resulting in unwanted subfolders
Reported by: | Owned by: | Robert Kulagowski | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | Documentation | Version: | Unspecified |
Severity: | low | Keywords: | wiki |
Cc: | Ticket locked: | no |
Description
It's the script by Raymond Wagner at this wiki page: https://www.mythtv.org/wiki/Mythvidexport.py
Proposed change, from line 197:
if self.vid[data]:
tmp = (format % self.vid[data]).replace('/','|')
fmt = fmt.replace(tag,tmp)
else:
fmt = fmt.replace(tag,)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Removing the ':' (colon) would be good as well since Mac OS X treats it as a directory separator. I would recommend using something other than the '|' as the replacement.. Perhaps a '-' or '_' ?
Regards!