Alternative database handling for “compilations”

FireFly Media Server Firefly Media Server Forums Firefly Media Server Feature Requests Alternative database handling for “compilations”

Viewing 4 posts - 11 through 14 (of 14 total)
  • Author
    Posts
  • #4062
    tri
    Participant

    rpedde 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

    – .-. ..

    #4063
    rpedde
    Participant

    and:


    + 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.

    #4064
    tri
    Participant

    Oops 🙂

    #4065
    rpedde
    Participant

    That 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

Viewing 4 posts - 11 through 14 (of 14 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.