Search:

Type: Posts; User: mobinni

Search: Search took 0.26 seconds.

  1. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    I read the material you sent and will take it under advisement. Maybe try it out tomorrow. Thanks though! Don't want you to think I'm ungrateful
  2. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    Well it's more likely a problem with authentication. You see when going through my entire C:/ folder I'm also accessing files with certain priviliges it could be possible that my recursion algorithm...
  3. Re: How to think about LOOPS in the first place

    Okay let's take a real problem: You want to write a file listing function. This means you have to recursively run through all directories and subdirectories.
    The first question you ask yourself is:...
  4. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    Well what you said didn't help directly, but it did give me the answer xD when recursing files you need try catch for unexpected errors. Such a rookie mistake #FML Thanks!!
  5. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    ....
    JmCR.sys
    JmCrIcon.dll
    jmcr_sd1.inf
    jmcr.cat
    JmCR.sys
    JmCrIcon.dll
    jmcr_sd1.inf
    SdJmPCIE.dll
    Setup.exe
  6. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    The stacktrace is in my post and I'm trying to read each file off my C drive and determine if it's a videofile or not?
    Line 37 in my code

    for (File f : file) {
    That
  7. Replies
    12
    Views
    875

    Re: Recursive media file algorithm

    I'm trying to read every file (except hidden ones) off my C drive compare the file to the media formats such as: avi, mkv, etc... Then put them in a list
    Problem is in the for loop in recurse...
  8. Replies
    12
    Views
    875

    Recursive media file algorithm

    So I'm trying to program a mediafile scanner that can give me the extension, quality and mediatype(movie,tvshow -> online database search)
    of files. Now everything works. I can recursively search...
Results 1 to 8 of 8