philippe_44 wrote: > Blue was my attempt to highlight the important parameters. I agree I'm > not so sure where I should display the model list - I can move it > around. I'm not sure I understand the last question. Once you apply a > profile to the selected player, it replaces the parameters value for > that player > > [edit]: and for the list of profiles, so I've created a entry in the > file <profile name=''></profile> and with that the first line of the > combobox is empty. (the list of profiles is a simple XML file named > "profiles.xml" located by default in the player's plugin directory. The > "fetch" option goes to whatever URL you indicate here and looks for a > file named "profiles.xml" and then replaces the local one by the new > one. The syntax of profiles.xml is very similar to the config.xml > syntax. > > > Code: -------------------- > > > <profile name='Marantz'> > <stream_length>-3</stream_length> > <flac_header>1</flac_header> > <accept_nexturi>1</accept_nexturi> > <seek_after_pause>0</seek_after_pause> > <codecs>pcm,flc,mp3</codecs> > <sample_rate>96000</sample_rate> > <send_metadata>1</send_metadata> > <volume_curve>0:0, 400:10, 700:20, 1200:30, 2050:40, 3800:50, 6600:60, 12000:70, 21000:80, 37000:90, 65536:100</volume_curve> > <max_volume>100</max_volume> > <profile name=''></profile> > <profile name='NR1603'></profile> > <profile name='CR603'> > <accept_nexturi>0</accept_nexturi> > </profile> > </profile> > -------------------- > > > > You can nest as many layers as you want, the parameter at the lowest > layer takes precedence. When parsing the file, an entry is created in > the list for each "end node" - in that example, it creates 3 entries: > Marantz, Marantz - NR1603 and Marantz CR603. Although you do not need > to worry too much about these details as I intend to maintain at least > a reference source of such file, providing that "happy users" mail me > or most their configuration file On my system the list of profiles in the combobox always shows foobar2000, not blank. If was always blank that would be OK. I don't know what file <profile name=''></profile> is (or even what that text means). I was suggesting that on the individual player pages it could show the last profile used to set values for that player, but that's probably over-the-top. Blank will do.
As for blue meaning 'important' that failed my 'obvious' test - it just looked odd - sorry! However, I can't think of anything else that would be clearer. LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit, 44.1->192kbps. LMS & Squeeze2upnp to MF M1 CLiC (to MF amp & ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay (control point) to same renderers & to upmpdcli/mpd PC renderers. Squeezelite to Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 14.04 laptop with firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch with EDO, and a spare, but don't use. ------------------------------------------------------------------------ PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=102496 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
