Default value for undefined tags

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #572
    gspotter
    Guest

    I’m using the xbox to stream from Firefly Media Server formerly mt-daapd. However, the xbox implementation requires Name, Artist, Album and Genre to be present and populated to work. I’d like to have the feature to set a default for each of these in mt-daapd.conf where none is present or could not be read, for instance:

    Name.Default=”unknown title”
    Artist.Default=”various artists”
    Album.Default=”singles”
    Genre.Default=”uncategorized”

    I know that it would be easier for you guys to have me correctly fill in ID3 tags – which I have accordingly to iTunes but not accordingly to mt-daap.

    Thnx in advance.

    #6298
    rpedde
    Participant

    @gspotter wrote:

    … the xbox implementation requires Name, Artist, Album and Genre to be present and populated to work. I’d like to have the feature to set a default for each of these in mt-daapd.conf where none is present or could not be read…

    There are short term plans for a s-lang scripting plug-in so you can do arbitrary tag re-writes just before db insertion. This sounds like a candidate for that.

    There is also a feature on the web interface under [daap] called “empty strings”. If you set that to “Yes”, it will ensure that it sends a zero length string rather than omitting the tag when it streams out results.

    That is, it will send Name, Artist, etc as “”, rather than not returning them, which is what iTunes does. Personally, I like that better than “Unknown”, which makes it difficult to see what is untagged, imho.

    The long term solution is the plugin that allows arbitrary retagging using a user-supplied script.

    Even with all that said, I’ve changed the behavior of the daap/empty_strings configuration value to make it set genre, album, and artist to “Unknown” as well as returning empty strings for anthing else.

    That’s in svn as r1378. You’ll see it in next nightlies.

    I know that it would be easier for you guys to have me correctly fill in ID3 tags – which I have accordingly to iTunes but not accordingly to mt-daap.

    That’s a separate bug. ๐Ÿ™‚

    What kind of files? And if MP3, what id3v2 version, and what version of libid3tag on the server?

    — Ron

    #6299
    grommet
    Participant

    FYI: Microsoft has also selected to expose “blank” metadata entries as [Unknown {whatever field}] with their newer UPnP AV server… allowing clients to browse/select items that are blank. Few UIs allow you to select true blank. So, having Firefly substitute Unknown is on-par and useful. Well, unless you are browsing a band called Unknown. ๐Ÿ˜€

    #6300
    rpedde
    Participant

    @grommet wrote:

    FYI: Microsoft has also selected to expose “blank” metadata entries as [Unknown {whatever field}] with their newer UPnP AV server… allowing clients to browse/select items that are blank. Few UIs allow you to select true blank. So, having Firefly substitute Unknown is on-par and useful. Well, unless you are browsing a band called Unknown. ๐Ÿ˜€

    Plus, if there is anyone’s taillights I want to follow, it’s Microsoft’s. :/

    — Ron

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