Opened 15 years ago
Closed 6 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)
by , 15 years ago
| Attachment: | MythCommflag Main.diff added |
|---|
comment:1 by , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
comment:3 by , 14 years ago
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 by , 14 years ago
| Type: | Bug Report → Patch - Feature |
|---|---|
| Version: | Unspecified → Master Head |
comment:5 by , 13 years ago
| Component: | MythTV - General → MythTV - Mythcommflag |
|---|
comment:6 by , 6 years ago
| 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.