FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Feature Requests › Alternative database handling for “compilations”
- This topic has 13 replies, 3 voices, and was last updated 18 years, 5 months ago by
rpedde.
-
AuthorPosts
-
19/03/2006 at 5:48 PM #4062
tri
Participantrpedde wrote:
there were some cut and paste errors in there, but I merged it substantially unchanged. I’ll work to get compdirs working again, fix a minor playlist problem and drop that tomorrow.
Nice.
Yeah, at least:
} if (song->conductor) {
should be:
} else if (song->conductor) {
Doesn’t crash because of that anyways.
Regards
– .-. ..
20/03/2006 at 12:40 PM #4063rpedde
Participantand:
+ if (song->orchestra && song->conductor) {
+ len = (int)strlen(song->artist) +
+ (int)strlen(sep) +
+ (int)strlen(song->title);
+ ptmp = (char*)malloc(len + 1);
+ if(ptmp) {
+ sprintf(ptmp,"%s%s%s",song->orchestra, sep, song->conductor);
+ song->artist = ptmp;
+ }
should probably be:
len = (int)strlen(song->orchestra) ... (int)strlen(song->conductor);
but I saw where you were going with it. I’ll probably drop a nightly now just to get fixes out, and finish up the compdir stuff tomorrow.
20/03/2006 at 12:57 PM #4064tri
ParticipantOops 🙂
10/04/2006 at 3:59 AM #4065rpedde
ParticipantThat would be hard. Not impossible, but hard.
But you aren’t the only one in the same boat, and that’s what the “compdirs” config value is. If you have all your soundtracks in a folder called “/music/Sountracks”, then you can mark that folder as a compilation by using the compdirs dirctive:
compdirs = /music/Soundtracks
If that won’t work because they aren’t all in a single folder, then if you have some other naming convention, you can use that, since compdirs does a substring match on the whole path. So if you name your album something like “xxx soundtrack”, then you could do:
compdirs = soundtrack
and you could automatically flag anything with “soundtrack” in the path as a compilation.
With the svn-909 nightly, the compdirs gets fixed up and if you set
[scanning]
concat compilations = 1
then it will automatically concatinate artist and song into the song name, and set artist to “Various Artists”.
I think that’s pretty close to what you are looking for. As far as donations, the ‘donate’ button on the sourceforge page is turned on, but I don’t actively solicit contributions. Really, the only thing a contribution would be good for would be to guilt me into driving development in a particular direction. 🙂
— Ron
-
AuthorPosts
- The forum ‘Feature Requests’ is closed to new topics and replies.