FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Sorting wav files by directory › Reply To: Sorting wav files by directory
@dnahman wrote:
It sounds like this script interface that you are talking about is something different than the metadata scanner interface mentioned in the wiki. Is that correct?
Correct. At some point, I want to have a plugin that will hand off tags to a user-written script (s-lang, probably) so the user can “fixup” tags before they get written to the db.
Presumably I could write my own directory based version of scan_get_xxxinfo() for *.wav files as well? I’ll take a look at the code and see how involved that would be.
Yup, that would do it. See scan-wav.c. You’ll need to dummy up the MP3FILE entries you want (artist, album, etc). Make sure strings are strduped, as they get freed later.
— Ron