Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
WHERE url LIKE 'file:///E:/Latina/%' } },{ id => 'mc2Other', name => 'Altro', scannerCB => sub { my $id = shift; # We could do some serious processing here. But for the sake of it we're # just going to run another SQL query: my $dbh = Slim::Schema->dbh; $dbh->do( qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '$id', tracks.id FROM tracks WHERE url NOT LIKE 'file:///E:/Latina/%' AND url NOT LIKE 'file:///E:/Lounge/%' AND url NOT LIKE 'file:///E:/Disco/%' AND url NOT LIKE 'file:///E:/Audiophile/%' AND url NOT LIKE 'file:///E:/Blues/%' AND url NOT LIKE 'file:///E:/Rock/%' AND url NOT LIKE 'file:///E:/Jazz/%' AND url NOT LIKE 'file:///F:/Classica/%' } ); } } ) { Slim::Music::VirtualLibraries->registerLibrary($_); } my @menus = ( { name => 'PLUGIN_MC2_LIBRARY_CLASSICAL_ARTISTS', icon => 'html/images/artists.png', feed => \::Menu::BrowseLibrary::_artists, id => 'artistsInMc2Classica', weight => 15, },{ name => 'PLUGIN_MC2_LIBRARY_CLASSICAL_ALBUMS', icon => 'html/images/albums.png', feed => \::Menu::BrowseLibrary::_albums, id => 'albumsInMc2Classica', weight => 16, } ); # this demonstrates how to make use of libraries without switching # the full browsing experience to one particular library # create some custom menu items based on one library foreach (@menus) { Slim::Menu::BrowseLibrary->registerNode({ type => 'link', name => $_->{name}, params => { library_id => Slim::Music::VirtualLibraries->getRealId('mc2classica') }, feed => $_->{feed}, icon => $_->{icon}, jiveIcon => $_->{icon}, homeMenuText => $_->{name}, condition=> \::Menu::BrowseLibrary::isEnabledNode, id => $_->{id}, weight => $_->{weight}, cache=> 1, }); } $class->SUPER::initPlugin(@_); } 1; ________ Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
What's wrong with virtual libraries /advanced Browse mode? Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
totoroBounced wrote: > Hi, > > I'm very sorry, this is a very long thread and I don't know where to > look. > > I'm very happy with an older version of Squeezelite, but DSD is only via > DoP, which is limited in bandwidth. > > I'm wondering if Squeezelite now supports DSD natively, and if so at > what version this started? > > Thank you, > > Erik DSD 'native' playback was introduceed in Daphile some time ago, I included it in R2 version in 2017 and Ralphy recently did the same first in picoPlayer version and now in the 'standard' one. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it -------- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
mhconley wrote: > Yes, Daphile, Triode DSDPlayer. > > I tried C-3PO but it did not change the DFF or DSF settings nor allow > additional options.Martin If from inside Daphile, you should before DISABLE "Native" in file types. mhconley wrote: > > The only choices for DFF and DSF are Native or Disabled. That's correct, you shouuld DISABLE native and enable DxF/FLAC (for real SB) using DSDPLAY or C-3PO, This is automatic in LMS, probably Daphlile is making something weird here. mhconley wrote: > > So back to my main question: > Will the *Squeezebox Touch* play DSF files or do I need to use > foobar2000 to put them in a FLAC container?. The answer is YES, if using LMS and DSDPLAY, C-3PO or (rigth) custom-convert,conf commands. It should be YES also using Daphile, BUT not with native AND real squeezebox. This is the problem you are facing: no matter what tool you try to use, real SB could not play 'native' DSD, you should disable that choice, then use whatever you like to inform LMS what transcoding you like to apply. mhconley wrote: > > Thanks, > Martin Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
mhconley wrote: > Are you saying the DSF files should play? > > Here are the relevant file type settings: > DFF > DFF Native > FLAC dsdplay > > DSF > DSF Native > FLAC dsdplay > > FLAC > AIFF flac > FLAC Native > MP3 flac/lame > PCM flac > > Any suggestions? > > Thanks, > Martin Is that Daphile? Daphile has it's own transcoding engine, but wat looks strange to me is "DFF/DSF Native"if uisng a real SB, it should go the route FLAC dsdplay, instead. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
mhconley wrote: > Are you saying the DSF files should play? > > Here are the relevant file type settings: > DFF > DFF Native > FLAC dsdplay > > DSF > DSF Native > FLAC dsdplay > > FLAC > AIFF flac > FLAC Native > MP3 flac/lame > PCM flac > > Any suggestions? > > Thanks, > Martin Is that Daphile? Daphile has it's own transcoding, looks strange to me DFF/DSF Native with a real SB (it's allowed only with squeezelite), but is so, better ask to Kimmo. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
mhconley wrote: > I've read everything I can find on playing DSD on LMS and have a > question. > > My setup: > Synology DS918+ > - Wi-Fi - > Squeezebox Touch > - USB - > Topping DX7s DAC > > LMS Info: > Logitech Media Server Version: 7.9.2 - 0011.1527861596 @ Fri Jun 1 > 16:21:00 CEST 2018 > Hostname: A_NAS_Server > Server IP Address: 192.168.1.76 > Server HTTP Port Number: 9002 > Operating system: Synology DiskStation - EN - utf8 > Platform Architecture: x86_64-linux > Perl Version: 5.24.0 - x86_64-linux > Audio::Scan: 0.95 > IO::Socket::SSL: 2.037 > Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) > Total Players Recognized: 1 > > DSDPlayer (v1.0) installed: > Enable DSD-over-PCM is checked > Soxr Quality: Very High Quality > Soxr Filter: Intermediate Phase > Soxr Steep Filter: Soxr Steep Filter > > Squeezebox Touch info: > Version: 7.8.0 r16754 > EDO installed > > My system plays up to 24 bit 192kHz FLAC files without issue. > > I have several DSF files from different sources. The all play fine when > the Topping DX7s is plugged into my PC. > > I get this error when I try to play the DSF files on the Touch: > Problem: Can't open file for: SONG TITLE > > If I convert the files using foobar2000 to 24 bit 176.4kHz FLAC using > the Super Audio CD Decoder (foo_input_packeddsd) they play fine. The > Topping DX7s correctly reports them as 2.82MHz DSD files. > > Finally, my question: Must I convert all my DSF files to play them on my > Squeezebox Touch? > > Thanks, > Martin With DSD_PLAY plugin installed it should work, converting everything to PCM. Probably you should check FYLE TYPE conversion settings for DFS. C-3PO plugin could do the same plus some additional processing. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
aslg wrote: > Hi Marcoc1712, > thanks! That's what I wanted to know. > > To summarize our discussion: > There is nothing wrong with my LMS setup. In theory a vanilla > installation of LMS 7.9.1 should able to send native DSD to the Brooklyn > DAC+ through the sMS-200ultra's Squeezelite player if native DSD is > correctly enabled in the sMS-200ultra for this DAC. > > The fact I see the following error in the LMS log when I play a DSF file > (DSDPlayer disabled) indicates something wrong in the Squeezelite's > Native DSD support in the sMS-200ultra: > > Code: > > [18-04-06 18:14:39.3890] Slim::Player::Song::open (409) Error: Couldn't create command line for dsf playback for [file:NAS1/music/Various%20Artists/Blue%20Coast%20Collection/Blue%20Coast%20Collection%20-%2001%20-%20Looking%20For%20A%20Home%20-%202.8MHz-DSF.dsf] > > > > Am I correct? If yes, I will report these findings to SOtM and ask a > fix. > > Thanks! No, I'm just reporting that LMS could send DSD even to non DSD capable DACS via Squeezelite that way: Code: [18-04-08 19:55:01.7085] Slim::Player::StreamingController::_Stream (1254) Song queue is now 0 [18-04-08 19:55:01.7088] Slim::Player::StreamingController::_Stream (1257) 00:e0:4c:68:ce:78: preparing to stream song index 0 [18-04-08 19:55:01.7091] Slim::Player::Song::open (363) file:///F:/SVILUPPO/01%20-%20SqueezeboxServer%20Plugins/musica%20campione/dsf_02-822-400%20(dsd64).dsf [18-04-08 19:55:01.7095] Slim::Player::TranscodingHelper::getConvertCommand2 (447) Matched: dsf->dsf via: - [18-04-08 19:55:01.7098] Slim::Player::Song::open (387) seek=false time=0 canSeek=1 [18-04-08 19:55:01.7101] Slim::Player::TranscodingHelper::getConvertCommand2 (447) Matched: dsf->dsf via: - [18-04-08 19:55:01.7104] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=dsf [18-04-08 19:55:01.7107] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Slim::Player::Protocols::File [file:///F:/SVILUPPO/01%20-%20SqueezeboxServer%20Plugins/musica%20campione/dsf_02-822-400%20(dsd64).dsf] [18-04-08 19:55:01.7127] Slim::Player::Protocols::File::open (81) duration: [129.4] size: [91308124] endian [] offset: [0] for file:///F:/SVILUPPO/01%20-%20SqueezeboxServer%20Plugins/musica%20campione/dsf_02-822-400%20(dsd64).dsf [18-04-08 19:55:01.7130] Slim::Player::Protocols::File::open (98) Opening file F:\SVILUPPO\01 - SqueezeboxServer Plugins\musica campione\dsf_02-822-400 (dsd64).dsf [18-04-08 19:55:01.7133] Slim::Player::Protocols::File::open (192) Seeking in 0 into F:\SVILUPPO\01 - SqueezeboxServer Plugins\musica campione\dsf_02-822-400 (dsd64).dsf [18-04-08 19:55:01.7136] Slim::Player::Song::open (482) URL is a song (audio): file:///F:/SVILUPPO/01%20-%20SqueezeboxServer%20Plugins/musica%20campione/dsf_02-822-400%20(dsd64).dsf, type=dsf [18-04-08 19:55:01.7181] Slim::Player::StreamingController::_Stream (1322) 00:e0:4c:68:ce:78: stream [18-04-08 19:55:01.7198] Data::Dump::dump (100) Warning: ("STREAMING CONTROLLER - _Stream, Song queue is now: ", 0) [18-04-08 19:55:01.7201] Slim::Player::StreamingController::_Stream (1365) Song queue is now 0 [18-04-08 19:55:01.7204] Slim::Player::StreamingController::_setPlayingState (2446) new playing state BUFFERING [18-04-08 19:55:01.7207] Slim::Player::StreamingController::_setStreamingState (2455) new streaming state STREAMING [18-04-08 19:55:01.7521] Slim::Player::TranscodingHelper::getConvertCommand2 (447) Matched: dsf->dsf via: - [18-04-08 19:55:01.8244] Data::Dump::dump (100) Warning: "STREAMING CONTROLLER - playerTrackStarted" [18-04-08 19:55:01.8253] Slim::Player::StreamingController::playerTrackStarted (2260) 00:e0:4c:68:ce:78 [18-04-08 19:55:01.8256] Slim::Player::StreamingController::_setPlayingState (2446) new playing state PLAYING [18-04-08 19:55:01.8262] Slim::Player::StreamingController::_Playing (393) Song 0 has now started playing then Squeezelite handle it that way: Code: HTTP/1.1 200 OK Server: Logitech Media Server (7.9.1 - TRUNK) Connection: close Content-Type: audio/dsf [19:55:01.725] sendRESP:202 RESP [19:55:01.727] pa_monitor:179 output on [19:55:01.727] pa_monitor:200 end monitor thread [19:55:01.762] _pa_open:268 opened device 1 - Altoparlanti (Realtek High Defi at 352800 latency 185 ms [19:55:01.820] _read_header:191 id: DSD len: 28 consume: 28 [19:55:01.820] _read_header:158 DSF version: 1 format: 0 [19:55:01.820] _read_header:168 channels: 2 [19:55:01.820] _read_header:169 sample rate: 2822400 [19:55:01.820] _read_header:170 lsb first: 1 [19:55:01.820] _read_header:171 sample bytes: 45652320 [19:55:01.820] _read_header:172 block size: 4096 [19:55:01.
Re: [SlimDevices: Beta] LMS 7.9 and DSD
aslg wrote: > Hi Marcoc1792, > thanks. > > Did you mean to activate DSDPlayer? I could not find DSPlay in the > plugin list. > I enabled DSDPlayer, checked the box "Enable DSD-over-PCM" and I can > confirm that it works well sending DoP to the Brooklyn DAC+. > > When I unchecked the box I noticed that 24bit 352.8kHz PCM is sent to > the Brooklyn DAC+. > How do I tell DSDPlayer to send Native DSD? > > This is what shows up in the DVD player settings: > > 24890 > > Thanks! Seems Your squeezelite does not accept native DSD in input, that's is what I wanted to see. Check on the player, then, when solved, you could disable DSDPlayer at all. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
aslg wrote: > Hi Marcoc1712, > thanks for the prompt reply. > > I tried two versions of LMS: > - LMS 7.9.1-166 on a x86 Synology NAS > - LMS 7.9.1-1522249619 on Windows 8 > > In both servers the DSF file type config is the same. This is an excerpt > from Settings -> Advanced -> File Types > > > Code: > > > File FormatStream FormatDecoder > DSFDSF Native > > > > > I do not have ssh access to the sMS-200ultra, so I cannot run the > squeezelite -? command. All I can see in the sMS-200ultra UI is that > the squeezelite version is 1.8.7. > SOTM claims that Native DSD mode is supported for my DAC (a Mytek > Brooklyn DAC+) with the latest sMS-200ultra firmware (v0.4.17). > The error I posted in the previous post (Slim::Player::Song::open > (409) Error: Couldn't create command line for dsf playback for ...) > shows up in the LMS error log so I thought the problem is not with > SqueezeLite but with LMS but I could be wrong. > > I just wanted to verify everything is OK with my LMS setup before > engaging with SOTM... > > Thanks! I see, it seems it's the same version running in picoplayer. If so, the only think you need is activate DSDPLAY plugin and let it send native (as opposed to DOP or PCM) DSD formats to squeezelite. Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
aslg wrote: > I am having a hard time setting up a LMS 7.9.1 server to play DSF files > natively to a Brooklyin DAC+ using a SOtM sMS-200ultra player. > I set the DSD mode on the sMS-200ultras squeezelite config to > Native, but when I play a DSF file the progress bar does > not move and I see the following error in the log: > > > Code: > > [18-04-06 18:14:39.3890] Slim::Player::Song::open (409) Error: Couldn't create command line for dsf playback for [file:NAS1/music/Various%20Artists/Blue%20Coast%20Collection/Blue%20Coast%20Collection%20-%2001%20-%20Looking%20For%20A%20Home%20-%202.8MHz-DSF.dsf] > > > > I did not install the DSDPlayer plugin (I thought that is only needed > for DoP and I want to use the native transmission supported on the > sMS-200ultra for the Brooklyn DAC+ with the latest firmware v0.4.17). > > This is the DSF config In Advanced File Types: > > Code: > > DSF (File Format) -> DSF (Stream Format) -> Native (Decoder) > > > > What do I need to do to play DSF files in Native DSD mode? > > Thanks! What version of LMS are you using, what Native (Decoder) stand for? What kind of squeezelite is instaleld on sMS-200ultra? AFAIK only Daphile, squeezelite-R2 and picoPlayer could play native DSD, I'm the one after Squeezelite-R2 and I'm not aware they are using it in this commercial product. could you post the result of squeezelite -? on sMS-200ultra, please? BTW, I think they should give you support for that, we all work for free here when they sell theyr product at 1400 Euro... Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
Ge Ba wrote: > Marco, > I entered a comment on audiodigitale but it doesn't show up, and I > didn't get a response from Simone, yet. Could you help with me to > contact him, please? maybe PM me an email address? > mille grazie! > Gerhard > > Sent from my E6653 using Tapatalk I've sent a mail to Simone, pointing to this THD. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
Ge Ba wrote: > Marco, I am also trying to replace SOX, but the version > sox-dsd-linux-gnu-amd64 from your site does not run on my NAS (Synology > DS2016play, ARMv7). > > Does it mean I need to compile it myself on the NAS? If so, do I need to > obtain specific libraries? > > thanks! > Gerhard You better ask here: https://audiodigitale.eu/?p=2, Simone is the guy that followed the sox sub project in C-3PO and sure could helps much better than me. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
eduardoo wrote: > Thanks. Just want to get it straight. If I go the c3po route, I don't > have to do the other things? > > Thanks again. You still need to get the modified SOX version as explained in www.audiodigitale.eu. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
eduardoo wrote: > I have LMS 7.9.0 installed on a QNAP 469L NAS with DSDPlayer plugin > enabled. The player is a SOTM SMS-100 running squeezelite. The > SMS-100 itself supports DSD throughput at its USB out, but my DAC > doesn't. Therefore, I would like it to be ultimately transcoding to, > say, 176kHz. > > On the LMS settings' "Player" tab, it says, "This player supports native > playback of DSD files. DSD-over-PCM should be configured on the player > configuration interface" If I play a DSF file, it appears to be > playing, but as expected, there is no sound coming out of the system > because the DAC doesn't support DSD. If I set the file type preference > of DSF to DSF: disabled (native originally), FLAC: dsdPlay, it would > fail to even start track, and the SSOTS server log says, > "sh: > /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/DSDPlayer/Bin/i386-linux/dsdplay: > No such file or directory". I looked into the NAS's directory and see > that there is > /opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/DSDPlayer/Bin/dsdplay > but not one with dsdplay as a subdirectory of i386-linux. Out of > curiosity, I tried creating a i386-linux folder and copied the dsdplay > folder into it. After restarting server, the file type setting of DSF > would only have the DSF native/disabled setting and the flac setting > would be greyed out. So, this is probably not the cure. > > My question is, should what I intend to do (transcoding dsf to flac) be > an available option? Is my setting at fault, or is there something else > I should look into (The QNAP firmwares this year broke support for LMS, > and I had to made some minor mods to make it run as usual. So, I don't > know if the DSDplayer plugin support is screwed up by the firmware > upgrade as well) > > Thanks. For what I remember and solved the executable location problem, you could use dsdPlay and let squeezelite convert DSD to PCM (should work just adding -c pcm,flac to your squeezelite command line, so the player wiill become NOT dsd capable), but sure is not the best way to go. You better convert DSD to PCM (or flac) server side and let the player just receive (and convert to pcm if flac) then play to your DAC. To do that, first you need a modified version of SOX (see www.audiodigitale.eu) then add a line ( dsf flc * *) to custom-convert.conf or use C-3PO plugin, that should made things esaier. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
pieronip wrote: > I mean that, over USB, PCM operates up to 192 KHz (Squeezebox maximum) > and DSD is detected correctly by the DAC and plays as native DSD. > Sounds nice too! Ah, OK. So no DSD over SPDIF. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
pieronip wrote: > Well I seem to h ave accidentally solved the issues I was having. It > had been my intention to upgrade my DAC, so I purchased a SMSL M8A. > When I connected it, my attempts to play DSD, both natively and via DoP, > met with failure but the nature of the failure was the clue. The DAC > kept switching between PCM and DSD and operating in 'bursts'. So > > Switching from wireless to a wired connection fixed it completely. All > is now working as it should. > > Thanks for a the advice and support! >From the secification ofyur DAC: DAC:ES9028Q2M DAC chip Input: USB/Optical/Coaxial ... USB: DSD: 2.8224/5.6448/11.2896/22.5792 MHz USB: PCM: 44.1/48/88.2/96/176.4/192/352.8/384/705.6/768 KHz Optical/Coaxial Sampling Rate: 44.1/48/88.2/96/176.4/192 kHz ... What you mean with: " All is now working as it should"? SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
pieronip wrote: > I will try this. I had formed an obviously wrong view that playing DSD > was dependent on using USB connection. I'll post results. > > Thanks. DSD 'native' wont play via SPDIF. I don't think DSD over PCM is supported on most DSD DACs via the SPDIF inputs. If they are, they are limited to 24/192 which means you can only play DSD1x even if the DAC supports DSD2x or higher. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
Peter Galbavy wrote: > As a non-DSD aside, I do find that FLAC 5.1 files play (and obviously > are found) fine in stereo in LMS - and they sounds fine as stereo. There > must be a mapping as part of the standard. If problem is limited to map (or mix) channels, You could use SOX, just insert an appropriate line in custom-convert.conf. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
Mnyb wrote: > I have very few DSf files that's my use of this plugin . You seems to > have tried this more than me. > > Is DFF files supported ? Or are we advised to convert those to DSF . > > Afaik DFF does not support tags ? So,it's pretty useless ? DSF can be > tagged . I'm just working on that matter this days. DFF does not support tags (or better, as is per was, you could attach some Idv3 tag someway, but is obscure and not commonly supported), cue files maybe could supports dff, I don't know, I should try... DFF (native) playback is supported in LMS, DOP or converted to PCM via DSDPLAY or Squeezelite is not so clear to me, but i suppose is not (I'll have a try shortly). Reason why I'm not so interested in DFF or others is that I'm going to use SOX server side to transcode to dsf or pcm from any format, eventually resampling, this way, for instance, dff is converted on the fly to dsf (maybe it could be better the inverse, but too much work to do on squeezelite). DSD (dsf or dff) id always converted to DOP or PCM in squeezelite, depending on DAC capabilities and settings, there is no 'native' suport even in windows with ASIO. Daphile has some pathces that allows you to output DSD over PCM in Linux, but using non DOP format, more like as ASIO does in windows (https://github.com/lintweaker/xmos-native-dsd). I'm testing those patches over "standard" squeezelite to be used with LMS, then I'll try to allow 'native' palyback with AISO drivers at least in Windows. The benefit of 'natives' formats over PCM is reduced size (and band) by at least 33% (dop is 8 bit marker 16 bit data, 'natives' are no marker and up to 32 bit data). SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ---- marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
bow wrote: > Lately I started my adventure with DFF and DSF files. > I added DSD plugin to foobar on my laptop and I can run DFF/DSF in this > app - but it is no quality, just useful for files management. > So now it is time for my music systems. > > I updated LMS to latest build on my ReadyNas Duo v1 and Touch to 7.8 > (EDO pluging installed long ago). > I see DSD plugin installed but DSD player configuration page in LMS has > only notification: > "DSDPlayer will transcode DSD to PCM for this player. Use the settings > below to tune resampling parameters." > > and no option to configure. After study this thread I guess the reason > is Audio::Scan version - still 0.93 on my Duo: > > Logitech Media Server Version: 7.9.0 - 1485931015 @ Sun Feb 5 04:07:09 > UTC 2017 > Hostname: readynas > Server IP Address: ... > Server HTTP Port Number: 9000 > Operating system: Netgear RAIDiator - EN - utf8 > Platform Architecture: sparc-linux > Perl Version: 5.8.8 - sparc-linux > Audio::Scan: 0.93 > Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) > > I thought I would be able to compile 0.95 myself with "how to" found > here, but I failed after SSH configuration and ZIP download from github. > I'm windows guy and working with linux occured too hard for me (I guess > I would need very detailed step by step to be able to follow). > > So I wonder if it is possible to update LMS for "Sparc" compilation to > version including Audio::Scan 0.95. Audioscan 0.95 will find and show dsf files. DSDPLAY will play dsf file 'native' DOP or converting to PCM, depending on the player capabilties and your settings. If you have squeezelite (normal versione) as player, you could just play DOP ( -D option) or convert to PCM. Playing 'native' DSD is possible using Daphile. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
About upsampling. I've found that upsampling in LMS works just fine using those line in custom-convert.conf: flc flc * * # IRFT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -e signed -C 0 -b 24 - rate -v -M -a -b 90.7 192000 dither -S aif flc * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -e signed -C 0 -b 24 - rate -v -M -a -b 90.7 192000 dither -S wav flc * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -e signed -C 0 -b 24 - rate -v -M -a -b 90.7 192000 dither -S To reach this point I've tried MANY other options and at the end I came to the conclusion that or I missed something (quite sure) or something in LMS is broken (could be?), in producing pcm output when upsampling. Seems like the receiving player (Squeezelite in this case) is not informed that the stream has been upsampled (or changed in bit depth): it always try to open it at 44100/16. Same happen sending a 44100/24 Wav file via the wav pcm * * - line from a win32 PC, but from macOs, Linux and win64 works as espected. So, just to understand and in case stop loosing my mind: Is LMS supposed to be able to play Wav Files with sample rate 44100 or bit depth 16 ? From all platforms? Is LMS supposed to send to players raw pcm streams (produced i.e. with sox) with sample rate 44100 or bit depth 16 ? If so, could you please provvide me with a working example (i.e upsampling a wav file without converting it to flac)? About starting the server from the preference pane. Do you need some more informations? Have a nice Easter and enjoy holidays! Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
Some results from further trials: 1. Flac Native: was a problem of the squeeezelite settings. Tried with a 'real' sb was working, then checked squeezlite settings and found it was -c pcm, so flac was excluded. Did not realized LMS take in account player capability in looking for transcodind, I was thinking only convert.conf was considered. It's solved, was not a 7.9 Problem, it was my mistake, usually I don't use flac, but just to replicate the problem my friend esperienced. Probably in the previous version I've settled Flac to be decoded do PCM or AIFF and just forget it. Sorry for that. 2. Startup: restart-server.sh try to launch ../Resources/stop-server.sh and ../Resources/start-server.sh. This is working only if you are located in the \contents\server directory, is that correct? By the way, I'm able to stop the server from the pref. pane, so it could reach the resources/stop-server.sh file, the problem is either it could not reach server/bin/darwin/restart-server.sh or it does from the a wrong location. Tell me if there is some further trials I could run to help you investigate. 4. I was an Idiot windows minded... ./flac and ./sox does works, obviously .\flac and .\sox does not... Point 3 (resampling) was the original problem and is still broken. marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: mc-book-air:bin macbookair$ ls -l total 8 drwxrwxr-x 6 root admin 204 28 Mar 05:00 armhf-linux drwxrwxr-x 12 root admin 408 28 Mar 05:00 darwin -rwxrwxr-x 1 root admin 916 28 Mar 05:00 dbish -rwxrwxr-x 1 root admin 940364 28 Mar 05:00 faad -rwxrwxr-x 1 root admin 1087116 28 Mar 05:00 flac -rwxrwxr-x 1 root admin 8422 28 Mar 05:00 itartwork.scpt -rwxrwxr-x 1 root admin 306080 28 Mar 05:00 mac -rwxrwxr-x 1 root admin 118 28 Mar 05:00 openprefs.scpt -rwxrwxr-x 1 root admin 418 28 Mar 05:00 restart-server.sh -rwxrwxr-x 1 root admin 1009 28 Mar 05:00 signalupdate.scpt -rwxrwxr-x 1 root admin 259924 28 Mar 05:00 sls -rwxrwxr-x 1 root admin 5760644 28 Mar 05:00 sox -rwxrwxr-x 1 root admin 539300 28 Mar 05:00 wvunpack I hope you did miss the prompt in between these two? Because the binaries in the second block need to be in the darwin sub-folder. Other than that things are looking ok. What would happen if you run one of those executables (eg. flac) from the console? -- Michael Yes, they are from darwin folder. I get command not found even from inside the darwin folder. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
marcoc1712 wrote: Yes, they are from darwin folder. I get command not found even from inside the darwin folder. I feel so stupid... ./flac it's ok, .\flac no... SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
Here the LMS log playing the original flac file: [15-04-01 17:40:53.4741] Slim::Player::TranscodingHelper::enabledFormat (223) Testing wav-flc-*-* vs flc-pcm-*-* [15-04-01 17:40:53.4744] Slim::Player::TranscodingHelper::checkBin (250) enabled [15-04-01 17:40:53.4746] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 [15-04-01 17:40:53.4750] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc-pcm via: [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 STOPPED-IDLE - Slim::Player::StreamingController::_NoOp [15-04-01 17:41:01.0159] Slim::Player::StreamingController::_eventAction (271) e8:de:27:03:05:b2: StatusHeartbeat in STOPPED-IDLE - Slim::Player::StreamingController::_NoOp Here squeezelite log (on windows pc): Starting Squeezelite: C:\DOCUME~1\ALLUSE~1\DATIAP~1\SQUEEZ~1\cache\INSTAL~1\Plugins\LOCALP~1\Bin\SQUEEZ~1.EXE -d all=debug -f C:\Documents and Settings\All Users\Dati applicazioni\Squeezebox\Logs\localplayer.log C:\DOCUME~1\ALLUSE~1\DATIAP~1\SQUEEZ~1\cache\INSTAL~1\Plugins\LOCALP~1\Bin\SQUEEZ~1.EXE -d all=debug -f C:\Documents and Settings\All Users\Dati applicazioni\Squeezebox\Logs\localplayer.log [17:53:03.031] stream_init:290 init stream [17:53:03.031] stream_init:291 streambuf size: 2097152 [17:53:03.031] output_init_pa:393 init output [17:53:03.031] output_init_pa:405 requested latency: 0 [17:53:03.187] output_init_common:342 outputbuf size: 3528000 [17:53:03.781] output_init_common:402 supported rates: 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [17:53:03.796] _pa_open:260 opened device 3 - SoundMAX HD Audio at 192000 latency 180 ms [17:53:03.796] decode_init:129 init decode, include codecs: exclude codecs: [17:53:03.796] register_dsd:624 using dsd to decode dsf,dff [17:53:03.796] load_ff:589 dlerror: code: 126 [17:53:03.796] load_ff:589 dlerror: code: 126 [17:53:03.812] load_faad:610 loaded libfaad2.dll [17:53:03.812] register_faad:640 using faad to decode aac [17:53:03.812] load_vorbis:284 dlerror: code: 126 [17:53:03.812] load_flac:258 loaded libFLAC.dll [17:53:03.812] register_flac:286 using flac to decode flc [17:53:03.812] register_pcm:382 using pcm to decode aif,pcm [17:53:03.812] load_mad:364 dlerror: code: 126 [17:53:03.828] load_mpg:242 loaded libmpg123-0.dll [17:53:03.828] register_mpg:274 using mpg to decode mp3 [17:53:03.828] discover_server:702 sending discovery [17:53:03.828] discover_server:713 got response from: 192.168.1.103:3483 [17:53:03.828] slimproto:790 connecting to 192.168.1.103:3483 [17:53:03.843] slimproto:823 connected [17:53:03.843] slimproto:834 local player [17:53:03.843] sendHELO:117 mac: e8:de:27:03:05:b2 [17:53:03.843] sendHELO:119 cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=192000,dsf,dff,aac,flc,aif,pcm,mp3,loc [17:53:03.843] process:469 strm [17:53:03.843] process_strm:232 strm command q [17:53:03.843] decode_flush:190 decode flush [17:53:03.843] output_flush:415 flush output buffer [17:53:03.843] sendSTAT:164 STAT: STMf [17:53:03.843] process:469 setd [17:53:03.843] process:469 setd [17:53:03.843] process:469 aude [17:53:03.843] process_aude:368 enable spdif: 1 dac: 1 [17:53:03.843] process:469 audg [17:53:03.843] process_audg:385 audg gainL: 65536 gainR: 65536 adjust: 0 [17:53:04.015] process:469 strm [17:53:04.015] process_strm:232 strm command t [17:53:04.015] sendSTAT:164 STAT: STMt [17:53:09.015] process:469 strm [17:53:09.015] process_strm:232 strm command t [17:53:09.015] sendSTAT:164 STAT: STMt [17:53:14.015] process:469 strm [17:53:14.015] process_strm:232 strm command t [17:53:14.015] sendSTAT:164 STAT: STMt [17:53:19.015] process:469 strm [17:53:19.015] process_strm:232 strm command t [17:53:19.015] sendSTAT:164 STAT: STMt [17:53:24.015] process:469 strm [17:53:24.015] process_strm:232 strm command t [17:53:24.015] sendSTAT:164 STAT: STMt [17:53:29.015] process:469 strm [17:53:29.015] process_strm:232 strm command t [17:53:29.015] sendSTAT:164 STAT: STMt [17:53:34.015] process:469 strm [17:53:34.015] process_strm:232 strm command t [17:53:34.015] sendSTAT:164 STAT: STMt [17:53:39.015] process:469 strm [17:53:39.015] process_strm:232 strm command t [17:53:39.015] sendSTAT:164 STAT: STMt [17:53:44.015] process:469 strm [17:53:44.015] process_strm:232 strm command t [17:53:44.015] sendSTAT:164 STAT: STMt SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: Sox? Most likely a problem with custom-convert.conf. Please post it. -- Michael Those are the lines I've modifed: flc pcm * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 flc aif * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 In both case, I get no sound. This equivalent command issued by terminal produces a file that I can play with noproblems: ./bin/darwin/flac -dcs --force-raw-format --endian=little --sign=signed flac_44_16.flac | ./bin/darwin/sox -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s pcm_44_24_pipe.wav rate -v -b 98 same replacing aif with wav. I'll send you the log lines both of LMS and squeezelite. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: 2. Startup: restart-server.sh try to launch ../Resources/stop-server.sh and ../Resources/start-server.sh. This is working only if you are located in the \contents\server directory, is that correct? Yes, that's correct. By the way, I'm able to stop the server from the pref. pane, so it could reach the resources/stop-server.sh file, the problem is either it could not reach server/bin/darwin/restart-server.sh or it does from the a wrong location. restart-server.sh would only be used if you were prompted to restart LMS after a plugin update, but it's not used by the pref pane. What exactly did you say did not work? Can you run the stop-server.sh as outlined above? Point 3 (resampling) was the original problem and is still broken. Sox? Most likely a problem with custom-convert.conf. Please post it. -- Michael I'm able to stop the server via the pref pane AND by invoking the stop-server.sh via terminal. I'm NOT able to start the server via the pref pane, but the server starts automatically after the installation. I'm able to start the server by invoking start-server.sh or restart-server.sh via terminal. Enabling or disabling plugin's, restart the server. I'm going to post the convert.conf file directly from mac in half an hour, when at home. thanks. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
marcoc1712 wrote: Those are the lines I've modifed: flc pcm * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 flc aif * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s - rate -v -b 98 In both case, I get no sound. This equivalent command issued by terminal produces a file that I can play with noproblems: ./bin/darwin/flac -dcs --force-raw-format --endian=little --sign=signed flac_44_16.flac | ./bin/darwin/sox -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 -c 2 -s pcm_44_24_pipe.wav rate -v -b 98 same replacing aif with wav. I'll send you the log lines both of LMS and squeezelite. I quote Myself becouse tonight I've realizaet I miss the [sox] in the convert.conf command lines: flc pcm * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | [sox] -D -t raw -r 44100 -b 16 -c 2 -s -L - -t wav -r 192000 -b 24 - rate -v -b 98 flc aif * * # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ | [sox] -D -t raw -r 44100 -b 16 -c 2 -s -L - -t aif -r 192000 -b 24 - rate -v -b 98 corrected, but they still don't work. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
[SlimDevices: Beta] LMS 7.9 on MacOS
Hi all, I've already posted this on the user forum, but I think is better suited here. Mac and Osx are not my daily work platform, but I own an old MacBookAir with OsX 10.5.8 and LMS installed and i'm currently helping some friends to run LMS 7.9 + squeezelite. Since few days ago I was runnin an old 7.9 build and was fine, then someone reported to me some strange and, to try, I've installed the latest 7.9 build. In respect to the old version, the new one has these different behaivours: 1. Flac could not be played 'native', I've to convert it to AIF or PCM. 2. From the system preference pane I could stop the server but I could not restart it. Stop and restart via enabling or disabling plugins is working as a workaround, but after a shut down I must start it from terminal or reinstall. Not sure it was working before, it's first time I try on mac: 3. Trying to oversample via SOX pipe in custom-convert.conf does not work. Same Custom-convert.conf is working properly on Win and Linux. Seems to me every SOX command is completely ignored (even not reported in log). 4. can't run flac or sox from terminal. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: Mar 31 17:40:12 mc-book-air System Preferences[68942]: LSOpenFromUrlSpec() returned -10827 for application /Library/PreferencePanes/Squeezebox.prefPane/Contents/Resources/start-server.sh path (null). Sounds like there was indeed a problem with your installation. Did you change something recently? I've installed LMS 7.9, nothing else. mherger wrote: 10.5.x - was this ever available on an Air? I'm currently typing on this mac: Nome modello: MacBook Air Identificatore modello: MacBookAir2,1 Nome processore: Intel Core 2 Duo Velocità processore: 1.6 GHz Numero di processori: 1 Numero totale di nuclei: 2 Cache L2: 6 MB Memoria: 2 GB Velocità bus: 1.07 GHz Versione Boot ROM:MBA21.0075.B03 Version SMC (sistema):1.34f8 Numero di serie (sistema):W88520M622E Hardware UUID:228343C4-20B0-5D2C-92FA-A35DF9BAF934 Sensore movimento improvviso: Stato:Abilitato Dati software di sistema: Versione sistema: Mac OS X 10.5.8 (9L31a) Versione kernel: Darwin 9.8.0 Volume d'avvio: Macintosh HD Modalità di avvio:Normale Nome computer:mc book air Nome utente: mc airbook (macbookair) Tempo trascorso dall'avvio: 1 giorno1:57 SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: Do you have any log files, error messages or other information about those failures? Michael More on point 2 (server restart): In the system.log I've got this message: Mar 31 17:40:12 mc-book-air System Preferences[68942]: LSOpenFromUrlSpec() returned -10827 for application /Library/PreferencePanes/Squeezebox.prefPane/Contents/Resources/start-server.sh path (null). SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
mherger wrote: 10.5.x - was this ever available on an Air? -- Michael https://support.apple.com/kb/SP548?locale=en_LAviewlocale=en_US SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
itartwork.scpt -rwxrwxr-x 1 root admin 306080 28 Mar 05:00 mac -rwxrwxr-x 1 root admin 118 28 Mar 05:00 openprefs.scpt -rwxrwxr-x 1 root admin 418 28 Mar 05:00 restart-server.sh -rwxrwxr-x 1 root admin 1009 28 Mar 05:00 signalupdate.scpt -rwxrwxr-x 1 root admin 259924 28 Mar 05:00 sls -rwxrwxr-x 1 root admin 5760644 28 Mar 05:00 sox -rwxrwxr-x 1 root admin 539300 28 Mar 05:00 wvunpack mherger wrote: (the path you posted was not correct) Witch one? By the way, sorry about that, I was retyping it mannualy on the window machine, now i'm on the mac so i'm copying and pasting here. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 on MacOS
. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=103434 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] LMS 7.9 and DSD
Hi all, I'm a little confused about settings in DSDPlay, LMS file type and resampling in custon-convert.conf. In LMS Setting/Advanced/File Type I have DFF DFF Native/Disbaled FLACdsdPlay/Sisabled FLACdsdPlay/Sisabled and DSF DSF Native/Disbaled FLACdsdPlay/Disabled FLACdsdPlay/Disabled first question is: why two lines both abut flac? what's the difference? second is: Flac is the only option? Could I not convert to PCM ? Selecting an old SB3 as a player, in DSDPlayer Settings I get this message: DSDPlayer will transcode DSD to PCM for this player. Use the settings below to tune resampling parameters. So PCM or FLAC is sent to the SB3? Then I assume the following parameters are used to perform the downsampling. What if other parameters are settled in custom-convert.conf? Thanks in advance for your clarifications. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101641 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Remember You have to wayt Michael release the mod to make a working copy of the plugin. The change has been out in the nightlies since Friday. Is there something which still doesn't work? Michael Oh... in Logitech Media Server Versione: 7.9.0 - 1421407005 @ Sat Jan 17 04:05:11 CUT 2015 no changes to me, same problems. I'm currently downloadingthe new build, I'll report to you. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: no changes to me, same problems. Multiple problems? I thought you were referring to the issue where the libraries would not be built unless the LibraryDemo plugin was enabled? That one should be fixed. If that's not what you were referring to, then I'll need a refresher... -- Michael Yes it's this one, maybe is just one, but it applied to queries defined in a custom plugin and to the ones in VirtualLibrary.pref, so the plural. I'm happy to report you that in 7.9.0 - 1421702201 @ Tue Jan 20 04:05:11 CUT 2015 my plugin is working, not Yet tried advanced searches with plugin disabled. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi Michael, I've tried the new build in following scenario, alwais with sub-library-demo plugin disabled: 1. A custom copy of sub-library-demo defining some library, no library defined in VirtualLibrary.pref 2. Some ibrary defined in VirtualLibrary.pref, no plugin active. 3. A custom copy of sub-library-demo defining some library, some other library defined in VirtualLibrary.pref In all cases scanner correctly detect and rebuilded the libraries, so I think now is working properly. Strange think, disaster123 did exactly what I did and already worked in saturady built. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: ...I still don't get how i force this library to a certain player? How do i archieve this with additional browse methods? I thought i just use the normal menu entries on this squeeze radio but it only finds stuff from this certain library? Yes, you could also do this way, maybe is even simpler for kids. To archive this, on the Web UI select the player your children are going to use, then in Library View select the appropriate library. From this moment on, on this player all browses will be restricted to the contents of that library, until someone will change again the Library. Remember You have to wayt Michael release the mod to make a working copy of the plugin. Right now, you could modify the plugin itself, but remember is going to be replaced on every installation, so keep a copy outside the plugin folder and be prepared to recover it. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: Hi, thanks for this great new feature. Has anybody an idea or already tried to use this feature to make a squeezebox kids compatible. I want to lock a player to a specific path / library. Yes, It's exactly what I did. Waiting for Michael release a new build wit the correction we were talking about, I had to modify the Library demo plugin, but is going to work using an user defined copy of the plugin or defining the queries in Advanced search and replacing the sql with the one you needi n the VirtualLibrary.pref file. Here an example of the queries I've defined: id = 'classica', name = 'Classica', # %s is being replaced with the library's ID sql = qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url LIKE 'file:///E:/Classica/%' Just change the path in the where clause and the library name and repeat for every library you need to define. Then you could define 'button' in the players menu just using additional browse methods and/or the method illustrated in the demo plugin. Enabling/disabling the buttons per player, you should get what you are looking for. Its not really 'locked', your children could still change settings, but... Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: Yes i named it: package Plugins::ChildLibs::Plugin; und put it under C:\Program Files (x86)\Squeezebox\server\Plugins Server version: Logitech Media Server Version: 7.9.0 - 1421407005 Exactly as I did and same version. disaster123 wrote: Plugins enabled: a lot ;-) What do you exactly mean? My previous configuration (same, but with queries in VirtualLibrary.pref instead of the plugin) was working if Sub-LibraryDemo plugin was enabled. Its Your disabled? Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
disaster123 wrote: My copy is working fine. No Problems here. I added it to C:\Program Files (x86)\Squeezebox\server\Plugins\. Why isn't yours working? Really? did you also give it a different name? Mine is not working at rescan time, It does not start the 'virtual library creating' or something similar, phase. Server version? Plugins enabled? thanks. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Dont think is like that, this was the last trial, after you asked me to restore a clean situation, but before I went throught different tests, and it did not works also if libraries were already defined at start up. Ok, should be fixed in the next nightly build. By the way, I've realized this just now reading again your post: with Advanced Browse Modes plugin you mean Additional Browse Modes plugin, correct? Too long a name for me to remember :-). In the code it's actually Extended Browse Modes. Oh well.. -- Michael Never mind, just scared it could end up was a stupid error by me using a different plugin... Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
While waiting for Michael repair and release it in next nigthly built, I'm doing some more test on Virtual Libraries and Enhanced (or additional) browse modes. My configuration i like that: n. virtual libraries, defined in a plugin similar to the demo one using queries based on the url in tracks table, just replicating the first level of my phisical folder structure. Then, in ABM (Additional Browse Mode) I defined six filters for each Library, based on artists and each for a specific role (It will not end up like that, is just a trial to well understand how it really works), like COMPOSER, CONDUCTOR,...TRACKARTIST. Don't think has effect, but my Music settings are like that: Use single, configurable list for Artist. and Composer, Director and Band in Artist. This end up with some number of 'buttons' in UI, named like: Classica: Composers Classica: Directors ... Jazz: Album Artists Jazz: Track Artists ... Rock: Bands Rock: Artists ... I've got six more button acting on a specific role but on the full library: All: Composeres ... All: TrackArtists First step of browsing act as I espected, some initial difficult to understand what's the specific meaning of artist here, but ok. Selecting in any list an artistName (use this in order to not make confusion with artist), you get a list of albums where the artist name is involved by the specific role, just as it should. Selecting an Album, You get ONLY the tracks by the specific composer, this not depending upon the preference in Music to group or not compilations. I think this is at least arguable, I'll preffer to see the entire Album, better use the preference to determinate it. playing the album enqueue just the displayed tracks. If you then select a track from the album details in Browse (or in the currrent playlist) it shows up correctly. Here thinks start to go wrong: 1. Cliking the album form the track, you get the album empty (no tracks), and You could not 'play' it. 2. Clicking any artist name in any role, you get an empty browse. 3. Same for genre and years. Same happen selecting artistNames or album form the tracks in the current playlist (when added this way). Never tried withoud Virtual libraries, maybe is a 'normal' behaivour of ABM, in that case you could just forget this post, move it or consider it for ABM Matter. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: 1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. Hmm... Did the prefs file exist after you created the libraries? Yes. mherger wrote: Thanks for your steps. I'll try to reproduce this. Maybe the scan doesn't work when at startup time there's no library available, but would if there were, even without the demo plugin. -- Michael Dont think is like that, this was the last trial, after you asked me to restore a clean situation, but before I went throught different tests, and it did not works also if libraries were already defined at start up. FYI, I've made a copy of the LibraryDemo Plugin in the User plugin folder, changing just the few modules location and names it was strictly necessary to do, then I tried to enable this and disable the Library Demo. Result was negative, everything works as espected but scanner did not run the Virtual Library scan, so I think is not 'in' the Library Demo Plugin code, but somehow related to it. By the way, I've realized this just now reading again your post: with Advanced Browse Modes plugin you mean Additional Browse Modes plugin, correct? Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. I do. Have you tried to delete library_track and then run scanner? It populate the table? You should NEVER delete tables unless you know exactly what you're doing. But in particular when you have a problem, try to go back to a clean state and see whether you still see the same issues. I might remove my prefs files, too, to double check there's no odd interaction with the demo plugin going on. You'll need the Advanced Browse Modes plugin, though. -- Michael mherger wrote: Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. I do. Have you tried to delete library_track and then run scanner? It populate the table? You should NEVER delete tables unless you know exactly what you're doing. But in particular when you have a problem, try to go back to a clean state and see whether you still see the same issues. I might remove my prefs files, too, to double check there's no odd interaction with the demo plugin going on. You'll need the Advanced Browse Modes plugin, though. -- Michael OK, maybe was deleteing the table, but sound strange to me, Advanced Browse Modes plugin is ON. Tried again this way: 1. started the server with Library demo plugin disabled and no VirtualLibrary.pref in my folder. 2. created a new library using advanced search. 3. verified is correctly created and populated as espected. 4. launch the scan, it does not swow up the Create library views and no mention of the Slim::Music::VirtualLibraries scan in the log, but of corse the library is still populated. 5. enabled the plugin (and restarted), some new libraries swows up EMPTY. 6. run rescan, all the libraries are now populated and in the scann progress report now I have: ... Rilevamento di file/directory: F:\Rock (4686 di 4686) Completo 00:01:02 Rilevazione playlist in corso: G:\Documents and Settings\marco\Documenti\Musica\Playlists (3 di 3) Completo 00:00:00 Building full text index (7 di 7) Completo 00:01:20 Create library views (4 di 4) Completo 00:00:02 Find updated coverart files (3556 di 3556) Completo 00:00:04 Ottimizzazione database (1 di 2) In esecuzione 00:00:56 ... In the scanner log I then have: [15-01-15 17:18:41.0322] Slim::Music::Import::runImporter (485) Starting Slim::Music::VirtualLibraries scan [15-01-15 17:18:43.2292] Slim::Music::Import::endImporter (617) Completed Slim::Music::VirtualLibraries Scan in 2 seconds. So, to me, only when plugin is active I have VirtualLibraries scan taking place. Have you Got these lines in UI/log also with the plugin disabled? Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
erland wrote: I believe you can do exactly this with the API Michael has created, he created two ways to register a library: The above is based on an SQL statement, which is the solution you don't like. Hi erland, how are you? I never sayd I don't like using SQL, indeed this is the wayI actualy use, starting from the library demo plugin, currently looking for a better way. I only speculated about the opportunity of using advanced search as 'main' source to create those SQL, I think this could drive to a lot of modifications and lead to a very complicated UI, but never mind, if for people using just genre or simple parameters already in ADV Search its OK, don't see why not to use it. erland wrote: If third party developers (such as you or me)... Please dont confuse masters with absolute beginners, I'm not a plugin developer at all, just willing to try. erland wrote: Finally I just want to give Michael credit again for the way he did this implementation, starting with the API and thus offer possibility to third party developers to extend it is the way forward in the future since we don't know how long Logitech will let Michael continue to work on LMS core software. This way we always have the option to extend the functionality through third party plugins even if LMS core development stops completely. +1. erland wrote: In this second variant you can get the information from what ever place you want, your callback will be called by the scanner and it's your responsibility to fill library_track with suitable tracks for your library. If you want pick them from foobar that's just an implementation choice of your plugin. Not sure it was clear enougth what I suggested: 1. Make the scanner look for a specific TAG named i.e. Library in the audio files. 2. Use values in this tag to populate libraries and library_track table. No needs to look at foobar or other, Foobar was named just as an example of application able to mass tag files in a 'query alike' way, but the benefit is that you could use whatever You want to just fill the library TAG. I suggested to do this in LMS standard scanner, just replicating the way it does for genre - is exactly the same - in order to have a clean implementation with a little effort. Michael suggested to do this in a Plugin, then I'm looking forward to retrieve info on how to do it, but I'm a beginner just starting to undestand how plugin works. In my understanding, I think this could already be done by your custom scan plugin or something very similar, since it does not need to store Library in custom tags, but directly in library_tag, not sure, but I think it lack the capability to read metadata from .cue files' is this correct? Please let me know your mind about the opportunity to write a new plugin for this. Many tanks, Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: Did you check the server.log? You might have corrupted the pref file's structure or something. It's a yaml file. -- Michael HI MIchael, I think I've found where problem is: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. By the way, you don't need a clean scan, every scan is going to rebuild libraries. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: Did you check the server.log? You might have corrupted the pref file's structure or something. It's a yaml file. -- Michael HI MIchael, I think I've found where the problem is: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. By the way, you don't need a clean scan, every scan is going to rebuild libraries. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: You need Library Demo plugin enabled to let scanner evaluate Virtual Libraries, also if defined using Advanced search and never touched. Hm... I have it disabled. It should work without that plugin. If not, You still have the library defined and tracks are added at time you run the query in UI, but scanner will not rebuild library. I've done this dozens of times over the past days/weeks, without the demo plugin enabled. By the way, you don't need a clean scan, every scan is going to rebuild libraries. That's correct. -- Michael Do you get the Create library views phase reported by scanner with the plugin disabled? I do not. Have you tried to delete library_track and then run scanner? It populate the table? If so, probably something else is wrong by me. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: @marco Hint: don't edit your posts if you want Michael to see them! oh... thanks. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
pippin wrote: Err... 99% of all users will use auto-tagging with iTunes or Windows and have no idea how to change their tags. Yes, don't think they are going to use such a plugin. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
I probably miss the point. let me make a brief on how I understand we are: 1. Michael did a great job making LMS able to store sub libraries definition as a list of tracks belonging to a library (or libraries for the track, is the same). 2. The original intent of Michael was to create an infrastructure to be used by developers for plugins, the great advantage is (or it will be soon) that in all the LMS libraries will be considered and used in consistent way, and this is and must be the first Michael commitment on this point, is up to developers make existing plugins comply to this and take advantage. 3. As a plus Michael released the Library demo plugin, that show how to define libraries in plugins. 4. As a plus, Michael enabled Advanced query to be a simple method to define libraries. To me point 4 is 'dangerous' becouse is an easy prediction that in a wile we will see a lot of requests, like the one to enlarge the genre list field, rising up. I for me I'll like the capability to use url structure to define libraries, but I retain myself to ask. 5. My suggestion was here just becouse I think is the more flexible and less costing mods could be done in LMS to enable people use this great functionality without the needs of complex UI or plugins, since every logic will be defined and applied outside LMS. The last is not opposed as any other development in LMS or in plugin, new or existings, who is going to use what is, as usual, a matter of personal preferences, needs and culture. What I could not understand is in what is different using a query defined in LMS and applied in every scan from the same 'query' defined i.e. in Foobar and applied once to add the library to tags. Wy it should take few minutes in LMS and days in Foobar? a. Foobar has much more capability than advanced query (more parameters, regular expresions,...), so using it you did even not have to ask Michael to do nothing on LMS (and accordingly wait for). b. The execution time could maybe be longer, but with a 50K tracks library this has never been a big deal, then, considering you need to do it just once, while scanner will process query in LMS everytime, in long terms could easily result in a benefit. What when your son will start to listen to something he call Rock, but nothing to do with you use to tag as Rock? c. Result is exactly the same, library_track is populated by a value calculated at scan time based on some user logics and then used all over LMS. Difference is LMS in one case in not aware of what this logic is, and this to me is be a good separation of concerns principle implementation. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Philip Meyer wrote: This is already possible using Erland's Custom Scan plugin. This allows you to define additional tags to read at scan time, and then you can create a library using that metadata (either using his Multi Library plugin + Custom Browse plugin to view it). Or create an LMS library by writing SQL. Yes, but: 1. They dont works with cue files, as far as I know. 2. They are not free (if I well remember). I know Erlan, I was also a little involved by him in one of his projects (social music discovery), some time ago, its a clever and Kind person, so I'll like him and I'll like to work again with him, but I can't since as a professional I could make consulting 'pro bono' but not on commercial projects and - wile I understand his point of view - I personally don't agree with his choice, nothing wrong at all, it's a personal choice. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Hi, just a little and stupid suggestion: have you ever considered the opportunity to look for a specific TAG (and metadata in .cue by the way) named i.e. Library or subLibrary or...someOtherFancyNameHere as a symple and completely automated base for generate virtualLibraries at scan time? I think it will be an easy way for users and a very performant way too, it will remove (or at list make less urgent) the needs of complicated UI to define queries in LMS, users will accomplish this with the tagging applications they are used to, then more sophisticated filters could be build in LMS or by specifics plugin, as you originally intended. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
JJZolx wrote: Aha! I see where I can select the Library View in SqueezePlay. And back in the web interface, when that player is selected, it appears to filter correctly. But I don't see a means of selecting the Library View in the web UI. Is that not finished yet? I discovered you have to enable LIbrary demo plugin to have the Library view enabled, plus You have to enable it for the player you are using in web UI. The first imply to restart the server too. Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
Ok, thanks to Michael again, I've figured out how to do. Editing virtuallibraries.prefs works but only using filters based on genre (or better, on the parameters you have in the saved query), I was not able to replace the query text with one based on other colums, as the one here: --- _ts_vlid_6c11a475: 1421090725 _version: 0 vlid_6c11a475: id: advSrch_1421090725 name: Classica params: - 'file:///E:/Classica%' sql: INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', id FROM ( SELECT me.id FROM tracks me WHERE me.url like ?) To accomplish this, I've modified the LibraryDemo plugin itself and it's working. here the code with SQL: ... id = 'mc2Classica', name = 'Classica', # %s is being replaced with the library's ID sql = qq{ INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', tracks.id FROM tracks WHERE url Like 'file:///E:/Classica%' } }, ... my @menus = ( { name = 'MC2_CLASSICAL_ARTISTS', icon = 'html/images/artists.png', feed = \Slim::Menu::BrowseLibrary::_artists, id = 'artistsForMc2Classica', weight = 21, },{ name = 'MC2_CLASSICAL_ALBUMS', icon = 'html/images/albums.png', feed = \Slim::Menu::BrowseLibrary::_albums, id = 'albumsForMc2Classica', weight = 25, } ); ... foreach (@menus) { Slim::Menu::BrowseLibrary-registerNode({ type = 'link', name = $_-{name}, params = { library_id = Slim::Music::VirtualLibraries-getRealId('mc2Classica') }, feed = $_-{feed}, icon = $_-{icon}, jiveIcon = $_-{icon}, homeMenuText = $_-{name}, condition= \Slim::Menu::BrowseLibrary::isEnabledNode, id = $_-{id}, weight = $_-{weight}, cache= 1, }); } ... SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: Could you try to run that query against your library.db file using some SQLite client (command line or SQLite Manager extension in firefox)? ... SELECT albums.discc AS 'albums.discc', contributors.name AS 'contributors.name', contributors.namesort AS 'contributors.namesort', albums.disc AS 'albums.disc', albums.titlesort AS 'albums.titlesort', albums.titlesearch AS 'albums.titlesearch', albums.contributor AS 'albums.contributor', albums.id AS 'albums.id', albums.title AS 'albums.title', albums.artwork AS 'albums.artwork', albums.compilation AS 'albums.compilation', albums.year AS 'albums.year' FROM albums JOIN contributor_album ON contributor_album.album = albums.id JOIN contributors ON contributors.id = contributor_album.contributor JOIN tracks ON tracks.album = albums.id JOIN library_track ON library_track.track = tracks.id WHERE contributor_album.role IN (5,1) and library_track.library = 2da2d7ab group by albums.id order by contributors.namesort,albums.year, albums.titlesort limit 10; Get a list of library IDs: SELECT library FROM library_tracks GROUP BY library; -- Michael Took 2s in my Dual Core XP 3.01 GHz, 4GB (limited to 3 by XP). Library: 58K tracks, 4K Albums, 9K Artists. SubLibrary: 30K tracks, 2K Albums, 3K Artists. Marco SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Multi Library support in LMS 7.9
mherger wrote: The missing piece is a good UI to define the library filter. You can use the Advanced Search to do so, but it's not great. [color=blue] I could not figure out where 'library' names and SQL are stored (I suppose is where advanced searches are stored, but...). I saw the library_track table with the ID of the library, but is not a FK and I miss the library table at all. There is a way to define a library just pasting a SQL statement? No needs to be in the UI, it's fine also if I have to edit some files. Probably I've missed some posts here, but I tried to read this thread carefully and the only indication I've found is from Michael: You could save the search, shut down LMS, then edit the configuration... but could not understand wich file I have to edit. Thanks Marco. SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Recent scannning problems in 7.5 trunk
Hi, The problem are not the files, I've put the scan in a wile loop in order to immediatly repeat scan if it fail and i solved the problem: the second time all the files are scanned properly. Here is the code: my $repeat = 1; while ($repeat) { my $count=0; $data= undef; $data = Audio::Scan-scan ($OSPath); my $ref_Info = $$data{'info'}; if (scalar keys (%$ref_Info) 1 $count 2) { $count=$count++; } else { $repeat=0; } } Marco. -- marcoc1712 SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=81952 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Recent scannning problems in 7.5 trunk
Hi, Well, when I say random, of course I mean 'in an order that I could not associate to any evident cause and I could not replicate'. (... I was a programmer, and I know your thougt) :-) For sure something appened in AudioScan, maybe a timeout in reading or thinks like that, who knows, but I was looking for the files who made it wrong and I was realy supriseed that they changed everytime, so I could not send to you a file that is 'wrong', maybe it was last time and will not next. Some info about my system: 1. Windows XP 2. Files are on 2 x 2TB WesternDigital disks, SATA connected. I've start to experience this kind of errors when I moved form 1 TB WesternDigital disks to new 2TB, tried to change it (always 2TB WD) same problem. Disks and files has been verified with different disks utility and they look OK. Marco -- marcoc1712 SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=81952 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Recent scannning problems in 7.5 trunk
Hi, I had the same problem, then I did some trials with AudiScan alone and I found that 'randomly' spot this error and do not return any information. In this case, I run immediatley after a new scan of the same file and 'magically' everything is ok. This why if you run a partial scan after the first total, thinks went - probably - rigth. Too bad, we need to wayt SBS developers fix the bug in audioscan or modify SBS in order to repeat the scan in case of error, as I did. Please let me know if you found aother solutions. Marco. -- marcoc1712 SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=81952 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Artistsort problems redux
Is SONGWRITER (even as REM SONGWRITER) supported in SB Server? If not, it's a bug or a choice? Thanks. Marco -- marcoc1712 SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=53954 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta