Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
Thanks Michael. Is TrackStat still maintained? Is there any alternative that does something similar? Not sure on either question. But I'm not even saying that Trackstat was bad or faulty. But maybe something's wrong with the data. It would be good to understand why it takes that long to initialize before jumping to a conclusion. Maybe there's a debug option for it which would give you more information? You can always try to discuss in a plugin specific thread. Erland is around every now and then. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
29312 if this looks correct ... I can not save it... +---+ |Filename: Screen Shot 2020-02-08 at 01.43.07.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=29312| +---+ Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine. Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower DomieMic65's Profile: http://forums.slimdevices.com/member.php?userid=69312 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > AH! > > how do you launch squeezelite? i followed these steps https://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)=902615=1#post902615 except the one that doesn't let me "Add the -o option to /Library/LaunchDaemons/squeezelite.plist" because of denied permission and after this squeezelite boots on startup of the macmini. I can see it as player in my LMS interface and ipeng etc Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine. Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower DomieMic65's Profile: http://forums.slimdevices.com/member.php?userid=69312 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
mherger wrote: > > But I do use TrackStat quite a lot. > > And I'm pretty sure TrackStat is the reason for your startup problems. > > -- > > Michael Thanks Michael. Is TrackStat still maintained? Is there any alternative that does something similar? Main Source: Transporter Amp: Cyrus 8XPd QX Speakers: PMC twenty:23 CD/HDD Recorder: Alesis Masterlink ML-9600 http://www.last.fm/user/norderney1962 norderney's Profile: http://forums.slimdevices.com/member.php?userid=378 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
But I do use TrackStat quite a lot. And I'm pretty sure TrackStat is the reason for your startup problems. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Lms ram
Today I logged in and could see my Synology NAS is using a lot of RAM (86%). Resource Monitor shows that LMS 7.9.2 is using 1.1 GB (next contender was using 40 MB, so LMS is the only real user). The machine uptime is 47 days. That's... a lot. How large is your library? What is your memory setting in Settings/Advanced/Performance? Is there any reason why LMS would require so much RAM? ... Does LMS manage its RAM use and dump whatever is necessary to prevent a crash? In the "maximum" memory configuration it would use large buffers to keep most of the library data in memory. And it takes advantage of more memory to cache information in many other places. But still, 1.1GB seems like too much. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
reinholdk wrote: > Can you please post a server.log file when LMS was started in 'Safe > Mode'? > > Some other thing to try: > while LMS is not yet started, rename LMS' cache folder so that LMS will > rebuild everything from scratch. But before starting LMS, go in LMS > control panel and set your Library folder to a newly created directory > (outside your current library folder) where you copied only a single > album to it. Then start LMS and see if it works... Well, I tried renaming the cache folder only and allowed it to rebuild the new cache folder and so far it seems to be working ok now. I tried rebooting my PC running LMS and it came back on as Running within a couple of minutes approx. Ill try it over the weekend and see how it goes, but so far so good. Thanks very much, Reinhold. BUT, I seem to have lost all my TrackStat data. Im assuming it is stored in the old renamed cache folder. Any idea what files contain the TeackStat data? I thought I could try copying it back and see what happens. Hopefully it will still work, but at least if it stops working then it could be an issue with TrackStat. If it carries on working ok then I know TrackStat was not causing the problem. But I do use TrackStat quite a lot. Main Source: Transporter Amp: Cyrus 8XPd QX Speakers: PMC twenty:23 CD/HDD Recorder: Alesis Masterlink ML-9600 http://www.last.fm/user/norderney1962 norderney's Profile: http://forums.slimdevices.com/member.php?userid=378 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Query about pCP and USB Dac
The output on the squeezelite page has to change too. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111628 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Tidal + LMS+ picoreplayer + mysqueezebox = not working suddenly, need help diagnosing
180 views, no responses... Either I haven't provided some obvious necessary information, or this is as strange to you all as it is to me. I wasn't able to include the link in my last post, but it was from this forum regarding tidal streaming and the same stop/skip back to 0:00, skip to next song, all while not playing any sound, but people solved it via the proxied setting. drivemusicnow's Profile: http://forums.slimdevices.com/member.php?userid=69811 View this thread: http://forums.slimdevices.com/showthread.php?t=111617 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
DomieMic65 wrote: > Yes I must find how I access the command line ... :) > Thank you!! AH! how do you launch 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=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Lms ram
Hi there, Today I logged in and could see my Synology NAS is using a lot of RAM (86%). Resource Monitor shows that LMS 7.9.2 is using 1.1 GB (next contender was using 40 MB, so LMS is the only real user). The machine uptime is 47 days. Is there any reason why LMS would require so much RAM? ... Does LMS manage its RAM use and dump whatever is necessary to prevent a crash? Should I occasionally restart LMS? Best regards, Claus cfuttrup's Profile: http://forums.slimdevices.com/member.php?userid=32784 View this thread: http://forums.slimdevices.com/showthread.php?t=111629 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
norderney wrote: > Yes, I have and it made no difference Can you please post a server.log file when LMS was started in 'Safe Mode'? Some other thing to try: while LMS is not yet started, rename LMS' cache folder so that LMS will rebuild everything from scratch. But before starting LMS, go in LMS control panel and set your Library folder to a newly created directory (outside your current library folder) where you copied only a single album to it. Then start LMS and see if it works... reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Query about pCP and USB Dac
Hello I am running pCP 6 on a pI 1 feeding into a PCM 2704 Dac set up as USB audio and output front:CARD=DAC,DEV=0. That works fine but not when I change DAC to a ES9018K2M SA9023 USB DAC. then I get no sound. What am I doing wrong. Thanks diode84 diode84's Profile: http://forums.slimdevices.com/member.php?userid=68983 View this thread: http://forums.slimdevices.com/showthread.php?t=111628 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > is not complicated, just add > > -a :0 -C 10 > > to the command line you already use to launch squeezelite (based on what > Ralphy wrote, I can't verify by myself). Yes I must find how I access the command line ... :) Thank you!! Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine. Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower DomieMic65's Profile: http://forums.slimdevices.com/member.php?userid=69312 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in
mherger wrote: > > Thanks for investigating this. Log attached. > > Are you using IRBlaster? If not, what other 3rd party plugins? > > Anybody else here using IRBlaster? Or not? :-) > > -- > > Michael I don't: 29307 +---+ |Filename: lms_plugins.PNG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=29307| +---+ QLMS 8.0.0@2.10.02 x64 (digimaster) with perl 5.28 dedicated to me. :D / QNAP 469L QTS 4.3.4 dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663 View this thread: http://forums.slimdevices.com/showthread.php?t=111288 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
skind56 wrote: > Oh dear, does it not even go to Running, in Safe Mode, but just saying > Starting or did it start but then crash? It usually goes to Running EVENTUALLY! Usually it stays on starting for at least 2 hours. Then suddenly starts running. Ive posted a couple of my server logs above. As you can imagine Im getting very annoyed with it. I just want to play some music. Main Source: Transporter Amp: Cyrus 8XPd QX Speakers: PMC twenty:23 CD/HDD Recorder: Alesis Masterlink ML-9600 http://www.last.fm/user/norderney1962 norderney's Profile: http://forums.slimdevices.com/member.php?userid=378 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
I spent the last three days backing-up my music library, which I haven't done for a while. Then, this evening I started to prepare to wipe the system to reinstall. Tool a look in /etc/squeezebox folder to see if I should back anything up and there is the modules.conf file, that lists the minimum versions of the perl modules: Code: # This file contains required minimum module versions and is checked # every time Logitech Media Server starts up. # # Format: # [ ] AnyEvent 5.202 Audio::Scan 0.93 0.99 CGI::Cookie 1.27 As we see, Audio:Scan has not only a minimum, but also a maximum version. No idea how that crept in there, but removed the 0.99 and the server starts. Only remaining question is whether there should be a (later) maximum version there, but will leave it as minimum only until instructed otherwise. Very glad to NOT have to reinstall everything! BR. Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807 View this thread: http://forums.slimdevices.com/showthread.php?t=111530 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
DomieMic65 wrote: > Thank you ralphy!! I will give it a try but it seems very complicated to > me to do it! > Any idea about how to go around the denied permission I mention above? is not complicated, just add -a :0 -C 10 to the command line you already use to launch squeezelite (based on what Ralphy wrote, I can't verify by myself). 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=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in
Thanks for investigating this. Log attached. Are you using IRBlaster? If not, what other 3rd party plugins? Anybody else here using IRBlaster? Or not? :-) -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
ralphy wrote: > You need to tell squeezelite to open the core audio device in pro mode > to disable os resampling. > > Add -a :0 to the plist > > -a > :0 > > From the squeezelite -? help screen. > > -a :Specify Portaudio params to open output device, l = > target > latency in ms, r = allow OSX to resample (0|1) > > > Code: > > csimacmini:~ paddockd$ /Applications/Squeezelite.app/Contents/MacOS/Squeezelite -d all=debug -a :0 > [07:38:07.174045] stream_init:370 init stream > [07:38:07.174411] stream_init:371 streambuf size: 2097152 > [07:38:07.209098] output_init_pa:573 init output > [07:38:07.209132] output_init_pa:593 requested latency: 0 > [07:38:07.399029] output_init_common:350 outputbuf size: 3528000 > [07:38:07.399136] output_init_common:374 idle timeout: 0 > [07:38:08.064376] output_init_common:422 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 > [07:38:08.064410] _pa_open:361 *opening device in Pro mode* > [07:38:08.069308] _pa_open:409 opened device 1 - Built-in Output [Core Audio] at 44100 latency 16 ms > > > > > If you also add -C 10 squeezelite will release the audio device after > the player has been paused or stopped for 10 seconds. > > -C > 10 Thank you ralphy!! I will give it a try but it seems very complicated to me to do it! Any idea about how to go around the denied permission I mention above? Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine. Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower DomieMic65's Profile: http://forums.slimdevices.com/member.php?userid=69312 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > On mac portaudio is used as the interface and you could choose among the > devices that it publish. It works, but it competely depend on that. > > When I was using squeezelite on mac I was able to 'hog' the sound card > using the correct device, but was Mountain Lion... Yes .. if there is no workaround to this matter I can not use the Mac for Squeezelite. marcoc1712 wrote: > That's unrelated to squeezelite, it's an LMS matter. > Not easy to say what happen, I'll have a look to the scanner log. Yes LMS of course! May be I can send it to you somehow! Thank you! Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine. Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower DomieMic65's Profile: http://forums.slimdevices.com/member.php?userid=69312 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
skind56 wrote: > Hi > > Have you tried running in 'Safe Mode' to rule out plugins? > > 29306 Yes, I have and it made no difference Main Source: Transporter Amp: Cyrus 8XPd QX Speakers: PMC twenty:23 CD/HDD Recorder: Alesis Masterlink ML-9600 http://www.last.fm/user/norderney1962 norderney's Profile: http://forums.slimdevices.com/member.php?userid=378 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Not Running on Windows 10 PC
Hi Have you tried running in 'Safe Mode' to rule out plugins? 29306 +---+ |Filename: Annotation 2020-02-07 134533.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=29306| +---+ skind56's Profile: http://forums.slimdevices.com/member.php?userid=9792 View this thread: http://forums.slimdevices.com/showthread.php?t=111559 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in
mherger wrote: > Could you please enable logging for network.cometd, make the setting > stick, then restart LMS? That should give (a lot!) more information > about who's talking to LMS. > > -- > > Michael Thanks for investigating this. Log attached. +---+ |Filename: serverlog.zip| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=29305| +---+ Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=111288 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712 wrote: > On mac portaudio is used as the interface and you could choose among the > devices that it publish. It works, but it competely depend on that. > > When I was using squeezelite on mac I was able to 'hog' the sound card > using the correct device, but was Mountain Lion... DomieMic65 wrote: > I passed the -o option step and finished the guide > I see Squeezeplay in LMS and I can play music when using the system > output device. > There is a problem though ... the output device seems its affected by > the audio midi setup and the setting it has ... so the playback it's not > bit perfect! > Edit: for local and for streaming files > You need to tell squeezelite to open the core audio device in pro mode to disable os resampling. Add -a :0 to the plist -a :0 >From the squeezelite -? help screen. -a : Specify Portaudio params to open output device, l = target latency in ms, r = allow OSX to resample (0|1) Code: csimacmini:~ paddockd$ /Applications/Squeezelite.app/Contents/MacOS/Squeezelite -d all=debug -a :0 [07:38:07.174045] stream_init:370 init stream [07:38:07.174411] stream_init:371 streambuf size: 2097152 [07:38:07.209098] output_init_pa:573 init output [07:38:07.209132] output_init_pa:593 requested latency: 0 [07:38:07.399029] output_init_common:350 outputbuf size: 3528000 [07:38:07.399136] output_init_common:374 idle timeout: 0 [07:38:08.064376] output_init_common:422 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [07:38:08.064410] _pa_open:361 *opening device in Pro mode* [07:38:08.069308] _pa_open:409 opened device 1 - Built-in Output [Core Audio] at 44100 latency 16 ms If you also add -C 10 squeezelite will release the audio device after the player has been paused or stopped for 10 seconds. -C 10 Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
mherger wrote: > > 1. All modules specific (modified) to LMS MUST stay in /lib. Is that > > correct? > > Yes. > > > 2. /CPAN contains 'stock' modules, NEVER modified one because LMS, > they > > MUST stay in /lib (see 1). Is that correct? > > Yes. > > > The question then is: > > > > how, in LMS (not in a plugin) we handle situations where LMS should > use > > a different .pm in different archs or versions? > > As you saw in the search path list: LMS would first check the platform > specific locations in CPAN, and only then lib. > > > Audio::Scan > > That, unfortunately, is somewhat of an ugly exception. The fact that > it's in lib, as well as in CPAN, is due to an early attempt of mine to > not have platform specific files. I hoped one Audio.pm file would be > good enough to cover them all. Later on I gave up that idea and put a > copy of that file in all required folders. > > > in /lib we have a version that is good only until PERL 0.24, then we > > have specific versions in CPAN (are they 'stock'?) for 5.26, 5.28 > and > > 5.30, but if I look at the system CPAN of 5.30 in arch, I should use > > version 1.01 NOT 1.02, then I'll need: > > > > Solution 1: an arch specific Audio/Scan.pm (is that working with > > boostrap.pm ?) > > Solution 2: a modified Audio/Scan.pm in lib in order to handle the > > loading of different Scan.so depending on versions (in the style of > the > > current one, but evolved to 10.1 and 1.02). > > Don't try #2. It turned out to be difficult. > > -- > > Michael Thx, now is clear to me. The only dubt I still have is because of that in boostrap.pm: Code: loadModules contains some trickery to deal with modules # that need to load XS code. Previously, we would check in a module # under CPAN/arch/$VERSION/auto/... including it's binary parts and # the pure perl parts. This got to be messy and unwieldly, as we have # many copies of DBI.pm (and associated modules) in each version and # arch directory. # The new world has only the binary modules in the # arch/$VERSION/auto directories - and single copies of the # corresponding .pm files at the top CPAN/ level. Is that a must or could we still have exceptions (.pm in specific archs)? I believe it works both and mixed ways, but... Thx a lot. 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=111530 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
DomieMic65 wrote: > Finally I discovered I have a big issue! > When I rebooted my Mac the local music database disappeared from LMS. I > have to rescan and rebuild the database from scratch! > Any idea why this might happen? > > EDIT: while rescanning and the scan was almost finished it got aborted > and started again. There is a library build though! I could play a > random local file! That's unrelated to squeezelite, it's an LMS matter. Not easy to say what happen, I'll have a look to the scanner log. 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=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
DomieMic65 wrote: > I passed the -o option step and finished the guide > I see Squeezeplay in LMS and I can play music when using the system > output device. > There is a problem though ... the output device seems its affected by > the audio midi setup and the setting it has ... so the playback it's not > bit perfect! > Edit: for local and for streaming files On mac portaudio is used as the interface and you could choose among the devices that it publish. It works, but it competely depend on that. When I was using squeezelite on mac I was able to 'hog' the sound card using the correct device, but was Mountain Lion... 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=105309 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
1. All modules specific (modified) to LMS MUST stay in /lib. Is that correct? Yes. 2. /CPAN contains 'stock' modules, NEVER modified one because LMS, they MUST stay in /lib (see 1). Is that correct? Yes. The question then is: how, in LMS (not in a plugin) we handle situations where LMS should use a different .pm in different archs or versions? As you saw in the search path list: LMS would first check the platform specific locations in CPAN, and only then lib. Audio::Scan That, unfortunately, is somewhat of an ugly exception. The fact that it's in lib, as well as in CPAN, is due to an early attempt of mine to not have platform specific files. I hoped one Audio.pm file would be good enough to cover them all. Later on I gave up that idea and put a copy of that file in all required folders. in /lib we have a version that is good only until PERL 0.24, then we have specific versions in CPAN (are they 'stock'?) for 5.26, 5.28 and 5.30, but if I look at the system CPAN of 5.30 in arch, I should use version 1.01 NOT 1.02, then I'll need: Solution 1: an arch specific Audio/Scan.pm (is that working with boostrap.pm ?) Solution 2: a modified Audio/Scan.pm in lib in order to handle the loading of different Scan.so depending on versions (in the style of the current one, but evolved to 10.1 and 1.02). Don't try #2. It turned out to be difficult. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
mherger wrote: > > What I could not understand is in /lib we have modified modules and > in > > CPAN a copy of the 'original' (stock) system CPAN, is that correct? > > I think this might be true for Audio::Scan (only). But not in general. > Modules we modified are supposed to be in /lib, sotck in CPAN. > > > If /CPAN is different than the system CPAN is by accident, it should > > never be and it must not be because a LMS specific feature, is that > > correct? > > I don't understand your question. > > > What if we want to have a modified module (that should in /lib) BUT > only > > for a specific arch or PERL version? > > That would be a mess. Is that in the context of a plugin? You can > provide your own modules in a plugin, but I'm not sure whether it would > > be possible to override the LMS' modules. > > -- > > Michael Problem here is my english, sorry for that, I'll try to be clearer. Accordingly with the README in /lib: 1. All modules specific (modified) to LMS MUST stay in /lib. Is that correct? 2. /CPAN contains 'stock' modules, NEVER modified one because LMS, they MUST stay in /lib (see 1). Is that correct? The question then is: how, in LMS (not in a plugin) we handle situations where LMS should use a different .pm in different archs or versions? I.e. Audio::Scan in /lib we have a version that is good only until PERL 0.24, then we have specific versions in CPAN (are they 'stock'?) for 5.26, 5.28 and 5.30, but if I look at the system CPAN of 5.30 in arch, I should use version 1.01 NOT 1.02, then I'll need: Solution 1: an arch specific Audio/Scan.pm (is that working with boostrap.pm ?) Solution 2: a modified Audio/Scan.pm in lib in order to handle the loading of different Scan.so depending on versions (in the style of the current one, but evolved to 10.1 and 1.02). in both cases, you then have a new ...CPAN/arch/5.30/aarch64-linux-thread-multi/auto/Audio/Scan.so, but my question what are you going to do in LMS to handle that situation? The reason I ask is because i need a separate program to run as 'transcoder' and I would like to use the very same method to load modules in it, in a plugin is easy to override LMS modules, no matter if in Slim, CPAN or lib, but I would not do that whenever is possible! 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=111530 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
What I could not understand is in /lib we have modified modules and in CPAN a copy of the 'original' (stock) system CPAN, is that correct? I think this might be true for Audio::Scan (only). But not in general. Modules we modified are supposed to be in /lib, sotck in CPAN. If /CPAN is different than the system CPAN is by accident, it should never be and it must not be because a LMS specific feature, is that correct? I don't understand your question. What if we want to have a modified module (that should in /lib) BUT only for a specific arch or PERL version? That would be a mess. Is that in the context of a plugin? You can provide your own modules in a plugin, but I'm not sure whether it would be possible to override the LMS' modules. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS failimng to start with perl version error
mherger wrote: > > is that correct? > > Yes. From specific to generic, from modified (lib) to stock (CPAN). > > -- > > Michael What I could not understand is in /lib we have modified modules and in CPAN a copy of the 'original' (stock) system CPAN, is that correct? If /CPAN is different than the system CPAN is by accident, it should never be and it must not be because a LMS specific feature, is that correct? Then why before look to CPAN/arch , then lib (and the CPAN)? What if we want to have a modified module (that should in /lib) BUT only for a specific arch or PERL version? Creating the /version/arch and /version/arch/auto sub folders in /lib is not going to work if I well understand. Could you please explain this point o me please? Thanks. I.E. Audio::Scan.pm 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=111530 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter