Opened 11 years ago

Closed 16 months ago

#9435 closed Patch - Feature (Fixed)

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

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



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@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by philipn@…

Attachment: MythCommflag Main.diff added

comment:1 Changed 11 years ago by cpinkham

Owner: set to cpinkham
Status: newassigned

comment:2 Changed 10 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 10 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 9 years ago by stuartm

Type: Bug ReportPatch - Feature
Version: UnspecifiedMaster Head

comment:5 Changed 9 years ago by beirdo

Component: MythTV - GeneralMythTV - Mythcommflag

comment:6 Changed 16 months ago by Stuart Auchterlonie

Milestone: unknown0.25
Resolution: Fixed
Status: assignedclosed

Closing obsolete tickets

Note: See TracTickets for help on using tickets.