Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7867 closed defect (wontfix)

MythVideo unable to use directory names containing ':'

Reported by: anonymous Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythVideo? uses colon ':' as separator for multiple directories in its VideoStartupDir? DB field. However, colon is a perfectly valid character in linux filenames, so MythVideo? fails to locate directories that have ':' in their names. Same problem occurs with storage groups that include directory names containing colon - MythVideo? can't find them.

MythVideo? should instead use a non-filename-valid separator, such as semicolon ';'

Change History (2)

comment:1 Changed 10 years ago by robertm

Resolution: wontfix
Status: newclosed

Unfortunately, only "/" and NUL are invalid in linux/unix filesystems. Even a semicolon would be an allowed filename character. Because we won't use NUL as a separator and / is a directory delimiter, we must settle on a usable character for directory separators.

See:

http://en.wikipedia.org/wiki/Comparison_of_file_systems#cite_note-note-25-3

With all that in mind, I'll be leaving this the same to remain consistent with the rest of Myth where similar separators are used.

comment:2 Changed 10 years ago by stuartm

I think it's worth noting that the existing setting for local folders will probably disappear once the issues with ISOs and storage groups streaming is sorted.

Note: See TracTickets for help on using tickets.