Page 5 of 5 FirstFirst 12345
Results 41 to 45 of 45

Thread: New Release RC4.1

  1. #41
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by midiwall View Post
    I've been thinking about this and have decided that (surprise! ) it bugs me that this will be a service.

    Why is it a service? Why not just kick off a thread to manage your database while CF is up? The complexities that come from making this a service are just silly given that this is running on a machine where it's soul purpose is to support CF.

    If I choose to exit CF back to the desktop, then it bugs me that a piece of CF will still be running on the box. Then, given the normal mouseless environment of a CarPC, getting to the service manager to kill this thing will be a pain.


    I try really hard to keep a close eye on all of the processes that are running on any of my machines. A CF service is just something else to watch.
    I'm not 100% sold on the service, but all the code around installing and managing a service is complete so it adds no time... The base code is what is not written...

    You of course will have options to completly disable the service, enable it, and restart it from within Centrafuse settings... The reason for a service is because a lot of people will exit out of Centrafuse and go to a network share to copy files, I want this to update the library...

    If it isn't a service if you ever copy a file to your library and Centrafuse is not running, then it will be lost forever until you rebuild the entire library...

    It's basic file watching code, but again I'm not 100% sold on the service either, but it's the way I'm currently leaning... If it doesn't work well the code will easily be pulled out and just put into a thread in Centrafuse, or just turned into a non-GUI plugin...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  2. #42
    Maximum Bitrate
    Join Date
    May 2006
    Location
    Seattleish, WA
    Posts
    823
    Quote Originally Posted by veetid View Post
    If it isn't a service if you ever copy a file to your library and Centrafuse is not running, then it will be lost forever until you rebuild the entire library...
    Ummm, this is an Access database right? It takes no time at all to run through n,000 files in a directory looking for something that doesn't exist in a table.

    Load a list, sort descending by creation timestamp, run the list until you pass the previous search date or even until you get n number of "got it already" hits in a row.


    It's basic file watching code, but again I'm not 100% sold on the service either, but it's the way I'm currently leaning...
    Whoa... wait a minute. "file watching code"??? Are you gonna hook into file services and watch every file written to the drive to see if you care about the path?

    That's NOT how you do that. Holy crap. There's a whole Notification system within Windows to make stuff like this incredibly efficient.
    :: Mark

  3. #43
    Variable Bitrate
    Join Date
    Sep 2005
    Location
    Pomona, CA
    Posts
    340
    Sounds to me like you 2 should team up and it would make this whole process faster and more efficient
    Carputer Progress:

    Re-do fabrication of screen [DONE]
    Add mini-USB and micro-USB power from M2-ATX [DONE]
    Teardown PC [100%]
    Add HDMI > VGA converter [0%]

  4. #44
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by midiwall View Post
    Ummm, this is an Access database right? It takes no time at all to run through n,000 files in a directory looking for something that doesn't exist in a table.

    Load a list, sort descending by creation timestamp, run the list until you pass the previous search date or even until you get n number of "got it already" hits in a row.


    Whoa... wait a minute. "file watching code"??? Are you gonna hook into file services and watch every file written to the drive to see if you care about the path?

    That's NOT how you do that. Holy crap. There's a whole Notification system within Windows to make stuff like this incredibly efficient.
    thanks for the input, but don't take a term filewatcher literally... I know about the events and I only plan to monitor music paths specified in the config.xml, as well as only with extensions that are supported...

    I did as you said in earlier versions and the tag reading was faster with a diff and access, but people want files added to their library without doing anything... a directory scan for a 100 gigs of music still takes too long for some people... I'm fine with it, but adding this feature, very simliar to how MCE/WMP works, because it has been requested...

    you will be able to disable it and just rebuild your library if you want...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  5. #45
    Maximum Bitrate
    Join Date
    May 2006
    Location
    Seattleish, WA
    Posts
    823
    Quote Originally Posted by veetid View Post
    ...but adding this feature, very simliar to how MCE/WMP works...
    Umm, no, WMP doesn't depend on a service. The directory monitoring happens on a thread within WMP. ...and WMP updates its' database VERY fast on that thread.

    I can drop 100 new tracks into a directory, start WMP and be running in no time. It takes WMP longer to sort the thousands of tracks I have online than to parse the new tracks.

    100gig of music would be 25000 tracks or so... Take a stand, if someone really wants to drop that large of an update into CF at once it simply ain't gonna be instant.

    On the other hand, if someone drops 100 new tracks, then you only have to do 100 inserts. In fact, if you bulk import the data from those tracks into a table, and then let Access do the insert work, you can do it in just one query. The Access engine will optimize it more than you ever could in the outside world. Anything that's truly new will get added, anything that's a dup will simply be ignored.
    :: Mark

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. Centrafuse RC4.1 Release Notes
    By veetid in forum Centrafuse
    Replies: 0
    Last Post: 10-19-2006, 04:32 PM
  2. iGMod Beta 1 release
    By PURDooM in forum Other Cool Stuff
    Replies: 175
    Last Post: 12-28-2005, 11:17 PM
  3. [SKIN]FPs "Bright Life" (input needed to complete)
    By yunusyu in forum FrodoPlayer
    Replies: 76
    Last Post: 06-25-2005, 03:59 PM
  4. RELEASE - FreeDrive 0.60
    By CdRsKuLL in forum FreeDrive
    Replies: 144
    Last Post: 06-10-2005, 05:45 PM
  5. SpeakEasy Voice Recognition - Release 0.9.1
    By ruairi in forum Software & Software Development
    Replies: 11
    Last Post: 06-03-2005, 06:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •