Feature to hide certain directories?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
tharvey Offline
Member
Posts: 58
Joined: Apr 2004
Reputation: 0
Post: #1
is there currently any way to hide directories from xbmc? for example, i have a folder called '.covers' in one of my movies directories and i wish to have xbmc not list it.

i don't believe this feature exists, but i just wanted to make sure i'm not overlooking something before i add it as a feature request. i would think either it should look at the 'hidden' flag (ala windows), or hide anything starting with a '.' (ala unix).

thanks,

tim
find
jmarshall Offline
Team-XBMC Developer
Posts: 24,570
Joined: Oct 2003
Reputation: 138
Post: #2
why don't you use the database views?

(likely answer: because they're not sophisticated enough)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find
tharvey Offline
Member
Posts: 58
Joined: Apr 2004
Reputation: 0
Post: #3
i do use the database views occasionally, but i find that i use subdirs to group certain types of videos which the views don't support (ie, recorded from tv vs movies are in separate dir trees. i also have a 'kids' tree with content for the kids). also i have a fairly large movie list and i find that i typically sort by date of file so that i can watch what i've added most recently.

i'm constantly bumping into my '.covers' and '.subtitles' directories as i'm traversing the subdirs. it should be a simple change to filter out hidden dirs... i just wasnt sure if there was already a feature to do so and that i just was missing it somehow. i can probably code it up myself, but then last time i tried to compile xbmc myself i ran into a long list of problems and i finally ended up removing the sdk from my system altogether.

tim
find
jmarshall Offline
Team-XBMC Developer
Posts: 24,570
Joined: Oct 2003
Reputation: 138
Post: #4
yup - as you say, it should be trivial to code it up. you just have to filter them out after getdirectory() - likely in the update() method.

our plan is that the cfileitemlist class would handle all this filtering etc. as there is a fair amount done already, and it'd be nice to clean it up into one class that handles it all. currently, all the cfileitemlist class does is deallocate a vector of cfileitem's.

ofcourse, just hacking it in to update() as is likely done with the stacking stuff would do the trick, except it'd be heaps easier.

unfortunately, when anything like this is implemented, it is invariably required to be optional via the gui (which is already choked with settings Tongue )

good luck!

cheers,
jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #5
wrong forum, moving to the feature suggestion forum (please read the faq and forum rules which state to read faq before posting)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find