Opened 18 years ago
Closed 18 years ago
#593 closed defect (fixed)
In non-flat mode, if you have only one directory, going back from "root" goes to "videos"
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythvideo | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
If you are using a videogallery with isFileBrowser, but only have one directory in VideoStartupDir?, then mythvideo creates a node called "videos" in the root of the tree. On startup, it skips this node, going directly to the directory (nice!). If you press ESCAPE, however, it goes to this previously-unknown location showing "videos" as the only option. To exit, you must press ESCAPE again.
The fix is to update VideoGallery?'s notion of the root to be the directory it starts in. Since VideoDlg? maintains the true root and appears responsible for deleting it, I believe that lying to VideoGallery? does not appear to be a problem.
proposed patch