IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

2 Pages V   1 2 >  
Reply to this topicStart new topic
Automatic DataBase Update, Option to switch to manual update mode
Elvin
post May 4 2004, 06:53
Post #1





Group: Members
Posts: 1
Joined: 8-March 04
Member No.: 12573



First, sorry for ugly English... unsure.gif
A new foobar feature that make database do update itself when reading renewed tags from files... It's good, but in some cases it turns unwanted side: for example, if I write new tags in DB for files on cd, that was without tags originally (or with wrong ones) — thus, foobar update DB with no tags (or wrong tags) when I play these files.
My little suggestion is to make feature of optional switching between update DB or not when reading files — in future release of such VERY GOOD player! smile.gif
Go to the top of the page
+Quote Post
jkwarras
post May 6 2004, 15:55
Post #2





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



What? is there a way to have an automatic updated database (and so the albumlist) in foobar2000? blink.gif Right now with 0.8.1 i have to add the files manually to the playlist in order to have them updated in the database.


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
ssamadhi97
post May 6 2004, 16:13
Post #3





Group: Developer (Donating)
Posts: 1203
Joined: 10-February 02
From: Endless Water
Member No.: 1305



foobar database is updated either when you manually reload info from file or when you try to play a file (timestamp of last file modification is compared to timestamp stored in database; if they're different info will be reloaded from the file)

Oh, and of course it's always updated when you move or tag files using foobar.

This post has been edited by ssamadhi97: May 6 2004, 16:18


--------------------
A riddle is a short sword attached to the next 2000 years.
Go to the top of the page
+Quote Post
jkwarras
post May 6 2004, 22:16
Post #4





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



Yes, I know that. But thanks for your reply cool.gif

I was thinking if there's a way to have an updated database of my HD music, without having to load everytime news songs or folders into foobar or tag it or whatever, just specifying a folder and that foobar2000 take care of updating it, whatever a change (album added or songs deleted or somethign changed) is happening. Something like the watchfolder option in Musicmatchjukebox (sorry guys, don't jump on me, it's a feature I do like in MMJB rolleyes.gif , the rest: foobar2000 rocks!).

Sorry if this is off topic unsure.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
picmixer
post May 6 2004, 23:20
Post #5





Group: Members
Posts: 1428
Joined: 10-April 03
Member No.: 5916



Although there is noe automatized sollution for this at the moment. You could always limit your database to certain directories in the preferences and then use the rescan database button form time to time.
Go to the top of the page
+Quote Post
spase
post May 7 2004, 03:40
Post #6





Group: Members
Posts: 773
Joined: 23-October 01
From: USA
Member No.: 340



maybe the addition of a "watchfolder" would be nice for some, but with upwards of 17000 tracks, it becomes problematic and slow...


--------------------
http://www.last.fm/user/spase

-spase-
Go to the top of the page
+Quote Post
mig
post May 7 2004, 05:33
Post #7





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



OK, I'm actually writing a plug-in to do this called: foo_dbupdate,
and it's been halted because I didn't think others wanted it, not to mention
my schedule got really busy, but now that I see there's a need for it
I'll continue development for it..

So I guess expect a build for it in the next 2-3weeks ?

- Mig
Go to the top of the page
+Quote Post
Tasty_badger
post May 7 2004, 11:10
Post #8





Group: Members
Posts: 1
Joined: 4-May 04
Member No.: 13879



mig: great! biggrin.gif
Go to the top of the page
+Quote Post
jkwarras
post May 7 2004, 12:32
Post #9





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ May 6 2004, 08:33 PM)
OK, I'm actually writing a plug-in to do this called: foo_dbupdate

Great! w00t.gif

Thanks a lot for this. I guess you'll make a lot of people happy rolleyes.gif .

I'll wait for that. Thanks again.

Regards.


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
jkwarras
post Jun 7 2004, 12:24
Post #10





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ May 6 2004, 08:33 PM)
So I guess expect a build for it in the next 2-3weeks ?

HI Mig,

is there any news about your plugin? rolleyes.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
mig
post Jun 7 2004, 12:30
Post #11





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



Hi... Sorry I'm in finals at the moment, which has halted development.. I will continue development in about a week after my finals, its mostly testing at the moment, but I will be releasing something very soon, since I also need testers at this point....
Go to the top of the page
+Quote Post
jkwarras
post Jun 8 2004, 12:27
Post #12





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ Jun 7 2004, 03:30 AM)
Hi... Sorry I'm in finals at the moment

Oh, good luck then for your exams cool.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
mig
post Jun 19 2004, 03:42
Post #13





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



I plan on continuing development of the plugin pretty soon, could I get some suggestions as to what people specifically want to do with the plugin, what I have so far is the ability to detect changes in monitored directories and add/remove (added or removed) files from the database as the changes occur in foobar, i'm also considering tracking the changes while foobar is not running on the machine, however that would become an option, because it would mean backround checking by the plugin on the file system and a slower system/foobar while the checks are done...
Go to the top of the page
+Quote Post
R2D2
post Jun 19 2004, 11:55
Post #14





Group: Members
Posts: 134
Joined: 12-June 04
Member No.: 14643



Mig: You select folders, unlimited, but folders to scan.
You can set up a filter, for example if a new file/folder is created in the folder "Albums" those files are added to the playlist named "Albums" and so on..
If the files doesn't match any of these filters, then they are added to the playlist named "Misc." or something like that.
That's how I want it to be, others may want it to be different, but filters would rock....
Go to the top of the page
+Quote Post
jkwarras
post Jun 19 2004, 15:23
Post #15





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ Jun 18 2004, 06:42 PM)
i'm also considering tracking the changes while foobar is not running on the machine

This could be cool, so it will (maybe?) prevent re-scan completely the 'watchfolders' when you open foobar, and save launching time. It could also be very useful if you don't usually shutdown your computer and have foobar running all the time. If it doesn't use a lot of ressources it's a cool option that I'll love.

About the filter option it will be great, because if (like me) you have a playlist with all your music (as a media library) it will automatically update it! biggrin.gif

Another (that's more personal taste of course) cool option will be (if filtering is possible) to check new tracks and place them also in a 'New' playlist.

Thanks for your work mig cool.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
picmixer
post Jun 19 2004, 17:56
Post #16





Group: Members
Posts: 1428
Joined: 10-April 03
Member No.: 5916



QUOTE (R2D2 @ Jun 19 2004, 11:55 AM)
Mig: You select folders, unlimited, but folders to scan.
You can set up a filter, for example if a new file/folder is created in the folder "Albums" those files are added to the playlist named "Albums" and so on..
If the files doesn't match any of these filters, then they are added to the playlist named "Misc." or something like that.
That's how I want it to be, others may want it to be different, but filters would rock....

An idea might be to silmply let this component interact with the extended playlist generator. I think this should be possible and might save mig a lot of work.

The extended playlist generator already allows the setting up of such filters and creating the desired playlists.

This post has been edited by picmixer: Jun 19 2004, 17:57
Go to the top of the page
+Quote Post
R2D2
post Jun 19 2004, 20:28
Post #17





Group: Members
Posts: 134
Joined: 12-June 04
Member No.: 14643



pcimixer: didn't know that, thanks
Go to the top of the page
+Quote Post
picmixer
post Jun 20 2004, 13:38
Post #18





Group: Members
Posts: 1428
Joined: 10-April 03
Member No.: 5916



Hmh, should have probably expressed myself a bit more clear here as well. What I meant is there might be a possibilty for mig to call upon the extended playlist generator directly from within his plugin. Not entirely sure though.
Go to the top of the page
+Quote Post
poiuytr
post Jun 21 2004, 23:05
Post #19





Group: Members
Posts: 22
Joined: 25-November 03
Member No.: 10039



I am waiting for the mig's release impatiently!


--------------------
minka niau!
Go to the top of the page
+Quote Post
mig
post Jul 3 2004, 10:17
Post #20





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



QUOTE (poiuytr @ Jun 21 2004, 02:05 PM)
I am waiting for the mig's release impatiently!

It's coming soon, I just needed to get a paying project done first... Will definetly get to it in the next 3-5 days, and I should have a release out within the next week... I will try to implement as many things as I see (and understand) here... If there's something I'm not quite getting the grasp of (featurewise) I will post here...

- mig

[edit]

Ok, just so we're clear this is what I have so far, and what I'm planning on implementing:

1) While plugin is loaded and enabled, and directories to monitor have been selected, the plugin will detect any changes to the monitored filetypes in those directories and update the database accordingly (this means add/remove/update any new/removed/modified files).

2) Filters will be setup in a way that you can select what files go into what playlist (if available, otherwise they go into a specified playlist).

3) To make matters clear as well, only folders that are monitored will be scanned upon reopening of foobar, to conserve system resources, whatever -NEW- files were added to the folder while foobar was not on will automatically be added to the database (in their corresponding filtered playlists if applicable). [editedit] NOTE: Modified or Deleted files will -NOT- be updated in the database, for that you can use foobar's internal 'Remove dead entries', etc. options. The reason for this is that there is no efficient way (short of rescanning the whole database) to detect any changes in files, but I can always detect which files are new in a directory at a very low resorce cost. <-- This is specifically for when foobar2000 is not running and there are changes (added files) to monitored directories, read #1 for changes that will be reflected in the database for when foobar2000 -IS- running on the system. [/editedit]

More to come, please ask for a feature if you want it, and drive me in the direction that will make this plugin useful for most people, as what I need from it is to simply updated the database (add files to it) whenever I add files to a directory...

On a final note, the plug-in will only be available to the NT/2000/XP users (due to the API I'll be using to monitor the filesystem).

[/edit]

This post has been edited by mig: Jul 3 2004, 10:27
Go to the top of the page
+Quote Post
poiuytr
post Jul 3 2004, 10:53
Post #21





Group: Members
Posts: 22
Joined: 25-November 03
Member No.: 10039



QUOTE (mig @ Jul 3 2004, 01:17 AM)
1) While plugin is loaded and enabled, and directories to monitor have been selected, the plugin will detect any changes to the monitored filetypes in those directories and update the database accordingly (this means add/remove/update any new/removed/modified files).

Does updating of the database mean also adding new files into predefined playlist(s)? I really want to define certain directories for certain playlists to add new music files in it.
It can be done on foobar start (if you dont want to waste resources) or on every amount of time. Of course there must be an option for selecting scanning mode.

NT/2000/XP is ok for me.
Thank you.


--------------------
minka niau!
Go to the top of the page
+Quote Post
mig
post Jul 3 2004, 16:36
Post #22





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



Yes it can be done on predefined playlists, and it will be done in real time while foobar is running, unless you drop 1,000 files every couple of minutes, you won't notice a difference in your system... #3 will be done by scanningon startup, however #1 will be done in real time...

- mig
Go to the top of the page
+Quote Post
jkwarras
post Jul 3 2004, 20:52
Post #23





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ Jul 3 2004, 01:17 AM)
Will definetly get to it in the next 3-5 days, and I should have a release out within the next week... I will try to implement as many things as I see (and understand) here...

Thanks for your work on that plugin. I'm sure this will make my (and a lot of people) 'foobar living' a lot easier cool.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post
mig
post Jul 13 2004, 20:01
Post #24





Group: Members
Posts: 84
Joined: 4-March 03
Member No.: 5309



http://www.pages.drexel.edu/~mjg57/foo_updatedb-src.zip

You can find the source of what I've gotten done there, it isn't much since I never really got time to get back into the development of it again, that's about 2 days worth of work in there. If anyone wants to continue working on it, feel free to use what I've started to continue and make a good plugin that I'd most likely use myself. But as of right now I have other paying projects that I just cannot take time away from to work on this..

- mig
Go to the top of the page
+Quote Post
jkwarras
post Jul 13 2004, 21:49
Post #25





Group: Members
Posts: 808
Joined: 10-June 03
From: Zaragoza
Member No.: 7113



QUOTE (mig @ Jul 13 2004, 11:01 AM)
But as of right now I have other paying projects that I just cannot take time away from to work on this..
*


It's understandable, people have to eat wink.gif Thanks for the time investing on this plugin, I hope someone else will continue the development smile.gif


--------------------
Iván
My Blog: http://www.ivancastell.org
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2014 - 12:59