mherger wrote: > > philippe_44 wrote: > >> So far, I've been using LMS with these 2 extra rules in a > >> custom-convert.conf for a few hours, and looking at the transcoding > >> debug log, it seems to be be doing exactly what's expected: explore > >> various rules, then the more generic rule flc-mp3 (or wav-mp3), > reject > >> it because it does not accept 'I', then re-run the search looking > for > >> rules that can work but does not have seek capabilities and then > find > >> this flc-mp3 (wav-mp3) rule and apply it successfully . > > > > Now Iâm totally confused, again by these rules. The problem I > described > > above was totally in the plugin that was answering true to > > âcanTranscodeâ method when obviously it should not. Rules on > > convert.conf then, without I or R seems to apply anyway on remote > > streams and I or F seems to be treated the same way (which make > probably > > sense, but then why having them at the first time ... so confusing) > > While I'm easily confused by the code myself, I'm no less confused by > your postings... > > TBH: I only found the canTranscode today. And thought it might actually > > address this very issue. > > -- > > Michael
Well ... that's not very flattering for my communication skills :) When I took over Shairtunes, there was a few things I did not touch. One of them was the canTranscode routine that was returning 1. Looking at LMS code, I realized that this means that a protocolhandler that claims canTranscode will be in charge of ... transcoding to reduce bitrate. Otherwise, LMS does that by himself using the different rules available in the convert.conf. Shairtunes's protocol handler does not have any transcode capability, so having canTranscode returning 1 was obviously wrong. That one is sorted out. What I was trying to say in this post is that I still do not understand well when the I and R attributes of a rule are used. I thought that F means the transcode rule can work with a File, I with Stdin and R with a remote URL. So when a rule does not include attribute R (and maybe I), then LMS' transcode rules engine would not be able to use it for a stream that is remote (all Shairtunes streams are remote). But it seems that it's more complicated because I saw that LMS is using with stdin a rule that only has F attribute. LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=109370
_______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
