Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How to let database only scan only certain directories?
« previous next »
  • Print
Pages: [1]

Author Topic: How to let database only scan only certain directories?  (Read 1173 times)

Offline yzflcyq

  • Member
  • *
  • Posts: 28
  • Purling.Nayuki.Misuzu
How to let database only scan only certain directories?
« on: August 31, 2011, 10:45:07 AM »
I put many things in my DAP. Many software have their sounds and rockbox always adds these things into my database so that I can sometimes hear something strange when I use database to generate my playlist.
I often put my musics in /MUSIC, /Podcasts and /Songs. I wonder how to let database only scan them when it updates automatically. I tried putting a database.ignore in the root directory of my DAP and put database.unignore in those three folder but it doesn't work.
Is there any way (maybe except putting database.ignore file in all the folder besides those three, there're too many :( ) to solve this problem?

Thanks in advance.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: How to let database only scan only certain directories?
« Reply #1 on: August 31, 2011, 11:36:56 AM »
The database.ignore method does what you want. What happened when you tried?


(Ninja edit by LambdaCalculus379 to save the post from a naughty typo)
« Last Edit: August 31, 2011, 01:45:07 PM by LambdaCalculus379 »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: How to let database only scan only certain directories?
« Reply #2 on: August 31, 2011, 01:55:34 PM »
Put a "database.ignore" in the root of the filesystem, and put a "database.unignore" in the topmost level of the directories you *do* want scanned.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: How to let database only scan only certain directories?
« Reply #3 on: August 31, 2011, 02:25:06 PM »
[Saint], the OP already did that as far as I can understand. Either s/he is not doing it properly, or it's some strange bug.
Logged
http://gbl08ma.com | http://i.tny.im

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: How to let database only scan only certain directories?
« Reply #4 on: August 31, 2011, 02:37:42 PM »
If you are using Windows and have "Hide file extensions of known types" turned on perhaps said files are named database.unignore.txt?
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline yzflcyq

  • Member
  • *
  • Posts: 28
  • Purling.Nayuki.Misuzu
Re: How to let database only scan only certain directories?
« Reply #5 on: September 01, 2011, 01:13:52 AM »
Use 'she' please :)
I use Ubuntu and I have done it proply. I tried updating database but it doesn't work. However, the problem sloved after I re-initalize the database.

Thanks!
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: How to let database only scan only certain directories?
« Reply #6 on: September 01, 2011, 09:28:42 PM »
I think updating (instead of re-initializing) should work too.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How to let database only scan only certain directories?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.099 seconds with 15 queries.