Opened 9 years ago

Closed 9 years ago

#12476 closed Patch - Bug Fix (Invalid)

Mythvidexport.py does not filter character '/' for file name, resulting in unwanted subfolders

Reported by: ben@… 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)

comment:1 Changed 9 years ago by jharbestonus@…

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!

comment:2 Changed 9 years ago by Jim Stichnoth

Resolution: Invalid
Status: newclosed

These are excellent points, but mythvidexport.py is not actually part of the MythTV code base. Please feel free to update the user-editable wiki page. Thanks!

Note: See TracTickets for help on using tickets.