2011-03-17, 04:09
Another little issue...
Right now, I have a rather advanced (at least I think so... spent hours on it) path scraper that will look for whatever naming pattern you define in the import process (see the 2nd set of pics on the 1st page of this thread). Literally any pattern and combination is supported and there is no limit on subfolder depth. Looks and sounds a lot easier than it was to code.
For instance, you could organize your music like this and you would be fine:
Now hopefully no one is quite that insane, but it should work just fine for both importing and post-processing.
This is used for Artist/Album/Song detection if ID3 tag info is not available. The problem is, what do I do if some of the users files do not adhere to there own naming convention? Without tag info I really have nothing to fall back on. I guess I will just gather a list of all failed imports and instruct the user to manually import them. Sorry, I guess this turned into more of a vent than a question.
I guess the other issue would be if the user is too dumb to enter the correct naming pattern...
I suppose I could also examine a few of their folders and do an lookup online to determine whether the folders are artists, albums, genres, etc, but this would pretty much just be a guess. Do you think this is needed/wanted?
Right now, I have a rather advanced (at least I think so... spent hours on it) path scraper that will look for whatever naming pattern you define in the import process (see the 2nd set of pics on the 1st page of this thread). Literally any pattern and combination is supported and there is no limit on subfolder depth. Looks and sounds a lot easier than it was to code.
For instance, you could organize your music like this and you would be fine:
Code:
..\<genre>\<year>\<album>\<artist>\Song #<num>-<song>
This is used for Artist/Album/Song detection if ID3 tag info is not available. The problem is, what do I do if some of the users files do not adhere to there own naming convention? Without tag info I really have nothing to fall back on. I guess I will just gather a list of all failed imports and instruct the user to manually import them. Sorry, I guess this turned into more of a vent than a question.
I guess the other issue would be if the user is too dumb to enter the correct naming pattern...
I suppose I could also examine a few of their folders and do an lookup online to determine whether the folders are artists, albums, genres, etc, but this would pretty much just be a guess. Do you think this is needed/wanted?