Opened 8 years ago

Last modified 6 years ago

#9435 assigned Patch - Feature

mythcommflag requires full path of mythvideo files to be enterred to work correctly.

Reported by: philipn@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: MythTV - Mythcommflag Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Example:

If mythvideo called from /, and storage group is /MythVideo/Videos?, and filename is Video.mpg. Filename used for saving filemarkup entries is based on Video.mpg instead of /MythVideo/Videos/Video?.mpg. Since the storage group / doesn't exist, Video.mpg is saved.

I have attached a patch to fix this.

Attachments (1)

MythCommflag Main.diff (534 bytes) - added by philipn@… 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by philipn@…

Attachment: MythCommflag Main.diff added

comment:1 Changed 8 years ago by cpinkham

Owner: set to cpinkham
Status: newassigned

comment:2 Changed 8 years ago by Chris Pinkham

Find subdirs before parents when searching for SG relative pathname.

In StorageGroup::GetRelativePathname?(), order the SG directory list in descending order so that we find subdirs before their parents in case there are SG directories underneath other SG directories.

References #9435.

Changeset: 68fa6e86af79be799b578cf393ea499e151e386b

comment:3 Changed 7 years ago by Github

Alter mythcommflag --video behavior

In --video mode, mythcommflag currently requires a myth:// URI, absolute file path or path relative from the current directory. This adds a fallthrough behavior where if a local path cannot be found, it attempts to access it as a myth:// URI at the local hostname. This is half of the fix for #9435, the second half will require ProgramInfo? to properly store seekdata for such files.

Refs #9435

Branch: master Changeset: 546af2ff5921d245496998dddb59e44b72b185d9

comment:4 Changed 7 years ago by stuartm

Type: Bug ReportPatch - Feature
Version: UnspecifiedMaster Head

comment:5 Changed 6 years ago by beirdo

Component: MythTV - GeneralMythTV - Mythcommflag
Note: See TracTickets for help on using tickets.