I looked at the RMLSend GitHub source, and the maximum command length is 2048 (RD_RML_MAX_LENGTH). So I don't think that's the problem.
Perhaps it's the exclamation mark (!) that's the issue. The ProcessCommands function in rmlsend.cpp looks for "!" and immediately processes only what came before it. That code doesn't look like it supports escaping the !. ++hobbitt Source: https://github.com/ElvishArtisan/rivendell/blob/master/utils/rmlsend/rmlsend.cpp On Sat, May 9, 2015 at 6:23 AM, Alessio Elmi <[email protected]> wrote: > Hi everybody, > we encounter a problem in sending Now Playing parameters through a > specific rmlsend command. > Basically what it does is taking infos and passing them to a php script > which will update our website. > We still have to manage some accents or apostrophes (those tiltes are > skipped at the moment) but it's quite ok for now. > However we faced a sort of crash (no more titles were sent after that) > when it had to manage with this song: > > ARTIST: Los Campesinos! > TITLE: This is How You Spell "HAHAHA We Destroyed the Hopes and the Dreams > of a Generation of Faux-Romantcs" > > That was the last title it tried to send (and failed). There isn't any > trace in syslog. Anyway there are a couple of RLM plugins too attached in > RDAdmin (Shoucast) and they kept sending info like nothing happened. > We were wonder if the problem were because of the special chars on the > title or the length of the total string of rmlsend command after %a and %t > had been expanded. Is there any limit on that? > > What do you think? > Thank you > > Alessio > > _______________________________________________ > Rivendell-dev mailing list > [email protected] > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev > > -- druidlabs.wordpress.com flickr.com/photos/druidlabs/sets
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
