AIMP Forum

AIMP for PC => Вопросы / Questions => Topic started by: NoxMorbis on August 11, 2023, 07:45:33

Title: Local Files Directories: Make Persistent when empty?
Post by: NoxMorbis on August 11, 2023, 07:45:33
After adding local file directories "Local File," I've noticed that if I delete the files out of one of those directories, it disappears in AIMP directory list until I repopulate that directory with at least one file. How do I make any added directory persistent, regardless of content?
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: Artem on August 11, 2023, 16:22:43
It impossible. Database stores only file records, folders generates automatically based on file paths
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: NoxMorbis on August 11, 2023, 19:45:15
It impossible. Database stores only file records, folders generates automatically based on file paths

Yeah I get that. I'll use the Windows browser plugin!

As a work around, I could create a file: "DoNotDelete.mp3" which would keep the directory alive. Could the database create a "stay-alive" file for persistent directories?
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: Artem on August 11, 2023, 20:48:20
Database synchronizes with file system according settings
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: NoxMorbis on August 12, 2023, 00:45:56
Database synchronizes with file system according settings

See my necro post in the Explorer plugin thread I just posted. Do you have to use a data base for browsing local files? Why not just use Explorer View and add functionality to it and get rid of Local Files altogether? I guess the best example would be how Steven does it in Music Bee. His explore has all of the functionality of both AIMP Local File and the Explorer View with persistent directories, even when empty (you can filter them out if you wish).

I'm old school. I like to see my files in a directory. I never use tags to find files becasue they get missed and forgotten or a database gets corrupted and there you go. I always organize music according to file name>directory. Then I use the tags for player information like art, names, etc.

e.g. of my directory structures (see image). It just seems cleaner and more reliable this way.
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: Artem on August 12, 2023, 09:17:32
No, it impossible. Fetching the data from file system take to much time. So what why explorer plug-in displays content of current folder only (without sub folders)
What reason to see empty folders in view? What you will do with that?
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: NoxMorbis on August 12, 2023, 23:13:38
No, it impossible. Fetching the data from file system take to much time. So what why explorer plug-in displays content of current folder only (without sub folders)
What reason to see empty folders in view? What you will do with that?

Its a good question. I think I was just confused because I wasn't seeing a directory that is in Windows also in AMIP. For me, since I always organize my music by SongTitle_Artists.xxx, I like to see if I have any directories where past files were, such as a "temp" directory where I put files before decided to keep, delete,  or organize them. Now that I understand how AIMP directory structures work, it's not a big deal. I can just use the Windows File browser (I use Q-Directory Multi pane file browser) to see all directories. Or,  I can always just leave a "AIMP-ShowEmptyFolder.mp3" file in any directory that may be empty that I want to see in AIMP.

I don't know what you mean "fetching takes too long?"  You already have that plugin called "Explorer View" but there are no options to View Thumbnails or otherwise "View" the files while using Explorer View.
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: Artem on August 13, 2023, 09:32:49
You already have that plugin called "Explorer View" but there are no options to View Thumbnails or otherwise "View" the files while using Explorer View

Explorer View is just a demo from SDK. So what why it so simple.
Title: Re: Local Files Directories: Make Persistent when empty?
Post by: NoxMorbis on August 13, 2023, 22:52:38
Explorer View is just a demo from SDK. So what why it so simple.

Ah got it! It would be nice to have that right ion AIMP with View settings, etc. It's not THAT big of a deal but makes it easier to work inside of AIMP.