Skip to content
Commits on Jul 1, 2008
Commits on Jun 30, 2008
  1. Running flac2mp3 in silent mode.

    committed
Commits on Jun 27, 2008
  1. Adding binary for actually running the thing.

    committed
    No tests, plenty of threads. This was originally a one-file deal all done as a spike, so at least there are some tests for parts, but I'm not sure how to test this completely.
    
    Also, since threads are involved I'll probably need to add Mutexes.
  2. ConversionObserver::Checker#approve_files

    committed
    This just moves the files from the check queue to the convert queue
  3. ConversionObserver::Checker#run

    committed
    Get files to check and either check/approve the files or, if none, do nothing and return nil.
  4. Various ConversionObserver methods handling files to check.

    committed
    .files_to_check is a simple attr reader
    Adding a file to check appends it to the array and ensures there are no duplicates
    Clearing the array is only there as a convenience for testing
  5. ConversionObserver::Collector

    committed
    This creates an FSEvents stream object that just gets the modified files and adds them to a list to be checked.
  6. Various ConversionObserver methods handling files to convert.

    committed
    .files_to_convert is a simple attr reader
    Adding a file to convert appends it to the array and ensures there are no duplicates
    Querying a file to convert shifts the first element off the array
    Clearing the array is only there as a convenience for testing.
  7. ConversionObserver::Consumer#run

    committed
    Set up getting a file and either converting the file and returning true or, if no file, doing nothing and returning nil.
  8. ConversionObserver::Consumer#convert

    committed
    Get a file and call flac2mp3, simple as that.
  9. Set up a few pending specs.

    committed
Something went wrong with that request. Please try again.