Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Last modified 22 months 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@… 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by philipn@…

comment:1 Changed 3 years ago by cpinkham

  • Owner set to cpinkham
  • Status changed from new to assigned

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

  • Type changed from Bug Report to Patch - Feature
  • Version changed from Unspecified to Master Head

comment:5 Changed 22 months ago by beirdo

  • Component changed from MythTV - General to MythTV - Mythcommflag

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.