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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Exclude folder from database
« previous next »
  • Print
Pages: [1]

Author Topic: Exclude folder from database  (Read 6325 times)

Offline riffmaker

  • Member
  • *
  • Posts: 7
Exclude folder from database
« on: July 19, 2007, 12:51:45 PM »
Hi.
Maybe this question already was here, but I couldn't find a solution.
Is it possible to exclude a folder from database initialisation? So I don't have my mp3s twice...
I made a tagnavi config file, but is is kind of slow. I would like the iPod_Control folder not to be scanned at all....
Thanks for help
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Exclude folder from database
« Reply #1 on: July 19, 2007, 01:08:59 PM »
I don't think you can exclude folders from the scan, but you can hide them in the Database view if you use a custom layout. See here:
http://www.rockbox.org/twiki/bin/view/Main/WebHome?topic=DataBase

To hide the contents of ipod_control you could use a condition like this in the filters:
? filename !~ "ipod_control"


But why don't you just delete the duplicate files?
Logged

Offline riffmaker

  • Member
  • *
  • Posts: 7
Re: Exclude folder from database
« Reply #2 on: July 19, 2007, 02:24:39 PM »
Becasue I have my files in iPod_Control directory for original firmware playback and also copied in directory structure for rockbox and for backup...
I modified the filters, but it seems to work slower now. I always get "Searching... 0 Found" message for quite long time...I think it was quicker with unmodified filters....
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Exclude folder from database
« Reply #3 on: July 19, 2007, 02:32:55 PM »
Do you have the "Load to RAM" option in the Databse settings enabled?
Logged

Offline riffmaker

  • Member
  • *
  • Posts: 7
Re: Exclude folder from database
« Reply #4 on: July 19, 2007, 03:32:27 PM »
No, it is turned off. Should I turn it on? It is quicker method? And how moch RAM does database need?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Exclude folder from database
« Reply #5 on: July 19, 2007, 03:33:35 PM »
Not enough that you'll notice it other than it speeds up the database loads.

Although if you're using the database mode - I'm at a loss as to why you've bothered with the two copies of music - it'll quite happily work with the music files iTunes has loaded onto your ipod. You don't need the second copy.
« Last Edit: July 19, 2007, 03:59:18 PM by GodEater »
Logged

Read The Manual Please

Offline Gorilla

  • Member
  • *
  • Posts: 9
Re: Exclude folder from database
« Reply #6 on: July 19, 2007, 03:57:29 PM »
Quote from: riffmaker on July 19, 2007, 02:24:39 PM
Becasue I have my files in iPod_Control directory for original firmware playback and also copied in directory structure for rockbox and for backup...

I don't think that is necessary anymore.  I renamed all of my music files from "4 letters" to "artist - title" using MediaMonkey and they still playback in the original firmware.  However, I left them in the folder they were in (i.e. F01, F02, etc.).  I am using a 5G iPod, btw.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Exclude folder from database
« Reply #7 on: July 19, 2007, 04:00:44 PM »
Does MediaMonkey have some support for rebuilding the ipod music database as well ?
Logged

Read The Manual Please

Offline riffmaker

  • Member
  • *
  • Posts: 7
Re: Exclude folder from database
« Reply #8 on: July 19, 2007, 05:09:16 PM »
I have 80gb 5g iPod so I have no problem with free space as my library is "only" 25gigs big...
I just like my own folder and file name structure...But I dont want to rename all mp3s in iPod libray...What is even good for when I'd had my mp3 in F00-F50 folders?
I just would like to take advantage of my directory structure and ID3tag database....And also left iPod library untouched....
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Exclude folder from database
« Reply #9 on: July 19, 2007, 05:11:32 PM »
Quote from: riffmaker on July 19, 2007, 05:09:16 PM
I have 80gb 5g iPod so I have no problem with free space as my library is "only" 25gigs big...
I just like my own folder and file name structure...But I dont want to rename all mp3s in iPod libray...What is even good for when I'd had my mp3 in F00-F50 folders?
I just would like to take advantage of my directory structure and ID3tag database....And also left iPod library untouched....

But if you're using the database, then the file structure is irrelevant - you'll never even see it.

I guess I just don't understand what you think you're acheiving doing it this way.
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Exclude folder from database
« Reply #10 on: July 20, 2007, 04:01:18 AM »
You could also have a look at this thread:
http://forums.rockbox.org/index.php?topic=11146.0
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline riffmaker

  • Member
  • *
  • Posts: 7
Re: Exclude folder from database
« Reply #11 on: July 20, 2007, 10:10:38 AM »
Quote from: GodEater on July 19, 2007, 05:11:32 PM

But if you're using the database, then the file structure is irrelevant - you'll never even see it.


But I want to use both...That's my point...
Logged

Offline ChangFest

  • Member
  • *
  • Posts: 1
Re: Exclude folder from database
« Reply #12 on: July 20, 2007, 10:15:33 AM »
Quote from: GodEater on July 19, 2007, 05:11:32 PM
Quote from: riffmaker on July 19, 2007, 05:09:16 PM
I have 80gb 5g iPod so I have no problem with free space as my library is "only" 25gigs big...
I just like my own folder and file name structure...But I dont want to rename all mp3s in iPod libray...What is even good for when I'd had my mp3 in F00-F50 folders?
I just would like to take advantage of my directory structure and ID3tag database....And also left iPod library untouched....

But if you're using the database, then the file structure is irrelevant - you'll never even see it.

I guess I just don't understand what you think you're acheiving doing it this way.
Exactly. If you're using the Rockbox database on your copied files in the folder structure you want, you're defeating the purpose of what you're trying to achieve (backup). There is no reason as to why you would need to have copies of your music files in a folder structure of your creation and in the iPod's folder structure. Just create the Rockbox database from the files contained in the iPod_Control folder. If you want backups of your music, why backup on the same device? If your iPod HD dies, you'll lose your original and backup files.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Exclude folder from database
« Reply #13 on: July 20, 2007, 10:54:15 AM »
Quote from: riffmaker on July 20, 2007, 10:10:38 AM
But I want to use both...That's my point...[/b[
He wants to use both (or should I say all three) options.  How about a little less effort convincing him it's a waste (he explained he has enough space) and a little more attention to if his desires are possible.
If I understand correctly:
1 - He wants to use the stock Apple firmware, and the F'd file structure this requires.
2 - He wants to be able to use Rockbox and navigate by directory structure.  (This already requires two copies of his music.)
3 - He wants to be able to play with Rockbox's database without seeing two copies of every file show up.  Thus he original question - Can he exclude folders from showing up in the database.
While I agree that the idea this serves any form of backup is mistaken, PaulJam and bascule have both offered solutions and it is up to riffmaker to decide the cost:benefit analysis for himself.

Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Arj

  • Member
  • *
  • Posts: 99
Re: Exclude folder from database
« Reply #14 on: July 22, 2007, 11:43:52 AM »
Quote from: GodEater on July 19, 2007, 03:33:35 PM
I'm at a loss as to why you've bothered with the two copies of music - it'll quite happily work with the music files iTunes has loaded onto your ipod. You don't need the second copy.
You may only be referring to his specific situation, but in case you are not: another reason this might come up is if you want to have the same song encoded with two different codecs, perhaps to compare them to see what differences you hear.  For example, I recently selected a few favorite albums and re-encoded them with flac.  I also have them encoded with ogg vorbis.  I was just curious whether I could hear a difference between them, but I need to have both versions on my H-120, but don't want both in my database.  I keep all my music under a top level folder, called Music.  I decided to put the flac files under a separate top level folder, called "flac Music."  I imagine the duplicates are in my database, but my WPS doesn't show them because the view assumes all music is under my original Music folder.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Exclude folder from database
 

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

Page created in 0.121 seconds with 15 queries.