Opened 13 years ago
Closed 4 years ago
#9435 closed Patch - Feature (Fixed)
mythcommflag requires full path of mythvideo files to be enterred to work correctly.
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
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)
Change History (7)
Changed 13 years ago by
Attachment: | MythCommflag Main.diff added |
---|
comment:1 Changed 13 years ago by
Owner: | set to cpinkham |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
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 12 years ago by
Type: | Bug Report → Patch - Feature |
---|---|
Version: | Unspecified → Master Head |
comment:5 Changed 12 years ago by
Component: | MythTV - General → MythTV - Mythcommflag |
---|
comment:6 Changed 4 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | assigned → closed |
Closing obsolete tickets
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.