castalla wrote: > Is there any reason why the default codec setting can't be pcm, flac, > mp3 ?
Well, this is a combination of 2 factors - When I started that development, I thought that mp3 would be "good enough" (and there was so much to do & learn - for me - that I was trying to keep things to a manageable level). Then PasTim helped me greatly with testing & debugging, but he wanted flac and pcm. He did spent so much time with my very buggy initial versions that I felt I owed him to support the formats he likes, and that pushed me (in a good sense) way beyond what I initially planned. We had a lot of fun time with flac headers and then I finally decided to do all the way supporting properly pcm, flac, and mp3, including on-the-fly file "patching" and byte-reordering. - Still, mp3, so I thought, is the most widely supported format and I wanted to avoid people's confusion where they would start to play a song and then nothing would happen due to flac not being supported, or the pcm format not being accepted by their player. I assumed that, once you started tinkering with config.xml and codecs to add flc and pcm, you would be well aware of what you do and you could deal with what could happen Somebody suggested that I could enable, by default, all three format and detect, at startup, which ones are supported and then only report those to LMS. I can do that, but the issue is that while mp3 and flc are mostly "player-level" configuration (i.e the player supports it or not), pcm is much more track-level configuration and has to be treated track-by-track (some might argue that this is not true as some players will not support flac 24/96, only up to 16/48). There are also some potential timing issue on player format capability detection, but I can probably find a workaround. Well ... long story: I could add flac support by default and remove it at startup if player does not support it, but I don't think I should do the same for pcm. I also can start to see angry people telling me: "I've added explictly <codec>flc,mp3 and flac files do not play !!!" These days, I'm also focusing on trying to figure out how to synchronize Sonos players and this is *not* easy LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
