FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Sorting wav files by directory
- This topic has 3 replies, 2 voices, and was last updated 18 years, 3 months ago by rpedde.
-
AuthorPosts
-
07/08/2006 at 3:59 AM #492dnahmanGuest
Hi there,
I’m attempting to use mt-daapd to serve uncompressed wav files that I have ripped into a hierarchical directory structure:
/artist_name/cd_title/01-song-title.wav …Is there any way to get mt-daapd to present this library sorted by artist and CD title like it does when you use mp3s with ID3 tags? Or am I looking at a code modification to make this work?
Any hints or pointers would be much appreciated
–David07/08/2006 at 4:02 AM #5833rpeddeParticipant@dnahman wrote:
Hi there,
I’m attempting to use mt-daapd to serve uncompressed wav files that I have ripped into a hierarchical directory structure:
/artist_name/cd_title/01-song-title.wav …Is there any way to get mt-daapd to present this library sorted by artist and CD title like it does when you use mp3s with ID3 tags? Or am I looking at a code modification to make this work?
Any hints or pointers would be much appreciated
–DavidThat’s not something that can be done right now without a code change.
Hopefully, though, it will be possible in the future once there is a userspace plugin for custom tagging. Then you’ll be able to write a script to synthesize tag information based on path.
That’s post-1.0, though.
— Ron
07/08/2006 at 4:19 AM #5834dnahmanGuestHi Ron,
Thanks for the quick reply.
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?
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.
Thanks again,
David07/08/2006 at 6:33 AM #5835rpeddeParticipant@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
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.