Re: [SlimDevices: SqueezeCenter] Unable to load ANY plugins!
Hmm - another reboot of the router and all seems to be in order again. Strange - before the reboot it seemed like I had full internet access (e.g. posting to this forum), but in fact a traceroute (from my wireless laptop) to downloads.nixda.ch didn't work, whereas traceroute to bbc.co.uk did work. After the reboot I can now traceroute to downloads.nixda.ch, and I can once again load plugins and play Spotify tracks via Spotty. Now for the big test - can I reinstate yesterday's working setup from my backups... chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=115397 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Unable to load ANY plugins!
mherger wrote: > > This has me stumped! Fresh install of pCP8 (64 bit) on a 4GB > Raspberry > > Pi4. Booting from a 32GB USB drive, with a (big) third partition > > created by pCP to hold the cache and prefs folders. I'm unable to > load > > ANY plugins. > > Anything in server.log? A little voice in my head had already prompted me: "what would Michael ask for to try and troubleshoot this?" :-) So server.log does indeed give a clue: Code: 21-11-10 11:16:05.8878] Slim::Utils::PluginDownloader::_downloadError (266) unable to download Spotty from http://downloads.nixda.ch/Spotty-4.6.2.zip - Connect timed out: Resource temporarily unavailable [21-11-10 11:17:51.9885] Slim::Utils::PluginDownloader::_downloadError (266) unable to download BBCSounds from http://plugins.expectingtofly.co.uk/BBCSoundsPlugin_2_21_2.zip - Connect timed out: Connection reset by peer >From the pCP interface I'm able to download extensions from the pCP main repository, but strangely the pCP Mirror and the piCore repositories aren't available. Something to do with my internet after the router reboot maybe chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=115397 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Unable to load ANY plugins!
Forgot to say - LMS version is as per the one shipped in the pCP8 image: Logitech Media Server Version: 8.2.0 - 1627922070 @ Tue Aug 3 11:43:18 CEST 2021 chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=115397 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Unable to load ANY plugins!
This has me stumped! Fresh install of pCP8 (64 bit) on a 4GB Raspberry Pi4. Booting from a 32GB USB drive, with a (big) third partition created by pCP to hold the cache and prefs folders. I'm unable to load ANY plugins. When I select, for instance, Spotty from the 3rd party plugins list, then click apply, there is a wait of a few seconds (presumably while the plugin downloads) then a prompt to restart LMS. After the restart, Spotty isn't installed, but now appears at the top under 'Updated plugins available'. If I select it, then Apply, then restart, it just stays there in the 'Updated plugins available' list. If I restart LMS from the pCP interface, Spotty is now back in the 3rd party plugins list (and not installed). If I monitor the cache folder during this process, at no point can I see any sign of Spotty in DownloadedPlugins, InstalledPlugins, tmp etc. Where should I expect to find the files are downloaded to before the restart installs them? I seem to recall an earlier discussion about delaying the restart long enough for the files to actually download, so I've tried that too - still no sign of anything being downloaded. For info I'm on a fast fibre broadband connection, with the RPi wired to the router. And I know the cache folder is setup with the right permissions etc (all defaults, as created by pCP), because the music scan completed without error, creating big library.db and artwork.db files. Everything was working perfectly until yesterday, when I think a router restart while playing a list of Spotify tracks may have somehow corrupted the LMS cache (? clutching at straws here for an explanation!), meaning that I could no longer play Spotify tracks. I started by simply restoring the slimserver folder from a recent backup, but then I noticed that Spotty started to give me the 'failed to get token' warning (don't recall the exact wording). So for troubleshooting I decided to try a completely fresh pCP install, expecting it to be a simple case of reinstalling all my plugins, or even copying the cache over once I've figured out what's going on with Spotty. But now I'm in this novel position where no plugins at all will install. I've been using LMS and pCP for years, and am quite familiar with the process, but maybe the flawless operation of my main server in recent times has made me a bit rusty. What am I doing wrong?! Why can't I install plugins? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=115397 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] All synced players stop when one player drops out
Thanks both - I guess you are right that it's the sync algorithm causing this behaviour. In fact I do get occasional short bursts of playback while the microwave is running, indicating that there is a small amount of bandwidth available despite the interference. Oh well, I guess I should look into running a cable to the Boom after all. I did have some powerline adaptors and they worked well, but I found the combination of the Boom power supply plugged into a powerline adaptor plugged into the wall socket just too bulky. I wonder if there's such a thing as a powerline adaptor built into a wall socket... chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=114190 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] All synced players stop when one player drops out
I normally have several players synced and powered up: usually a minimum of a wired Boom, a wireless Boom and a wired piCorePlayer. The server is also wired. The wireless Boom is in the kitchen, and if I run the microwave it interferes with wifi reception so LMS can't reach that Boom. After about 30 seconds playback stops on all the synced players and when the microwave stops they all fire up again. It struck me that I don't really understand why all the other players stop, and ideally I'd like that behaviour to change :) There are other times when a player that disappears seems to block playback to its synced partners: a bluetooth player defined in pCP will do the same (or it used to - I don't know if that has changed) if the bluetooth speaker gets physically turned off, a USB DAC will do the same if the DAC itself is powered off (although configuring Squeezelite to stop and start in sync with the DAC fixes this case). So why is it necessary for all playback to stop when a synced player drops out, and can something be changed so that the other players continue without interruption? I would expect there to be a momentary interruption when the dropped player reappears, due to the usual syncing process, but that would be preferable to having the whole house go quiet when I use the microwave! I know I could look into making that Boom wired instead of wireless, but that's easier said than done in the kitchen, and that's not the point. The point is, what logic cases the other players to stop? They don't do it when a player is soft-powered-off in mid playback, and it would be nice if they didn't do it when the mechanism for sending audio to a dropped player senses a problem. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=114190 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] piCorePlayer unselected after page renew.
bpa wrote: > OK - then it is definitely an issue about the player "preferring" the > old LMS. I've seen something similar as I test with multiple LMS and > some player keep migrating back to LMS which are not running. > > Assuming the pciorep[layer does not have any command line options > specifying to use the "old" LMS server. > > My procedure in those cases has been to have both LMS running, > explicitly move player to new LMS using new LMS WebUI and then shutdown > old LMS and then new LMS. Then only startup new LMS. Assuming that's the cause, then if your procedure doesn't work, there's always the option to specify the LMS IP address on the Squeezelite page of piCorePlayer. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=114071 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Squeezebox server 8.2 single flac image play
ionian wrote: > REM GENRE Greek > REM DATE 2000 > REM DISCID 15103412 > REM COMMENT ExactAudioCopy v0.95b4 > PERFORMER "Melina Kana" > TITLE "Portrait" > FILE "CDImage.flac" WAVE > TRACK 01 AUDIO > TITLE "Alkoolika Stichakia" > ISRC > INDEX 01 00:00:00 > TRACK 02 AUDIO > TITLE "Na Valo Ta Metaksota" > ISRC > INDEX 00 03:18:50 > INDEX 01 03:20:52 > > This is the header and firs two tracks of cue file. Just a thought - all my CUE files have exactly the same name as the corresponding FLAC file (apart from the extension of course). I notice that your example lists the flac file as "CDImage.flac". I can't recall whether this is important, but you could try renaming your FLAC file in this example to match the CUE filename to see if it makes a difference. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=114063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Squeezebox server 8.2 single flac image play
The majority of my library is in the form of album FLAC + CUE files. Many (most?) of my CUE files also have INDEX 00 and INDEX 01, but as BPA points out these have never caused me a problem. I'm now running LMS 8.2 and everything still works as before. Just to be sure - have you done a complete 'clear and rescan'? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=114063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
gordonb3 wrote: > I fear that won't do the trick as this appears to be a variant of the > mount path in /run that I mentioned earlier. His login name (william) > being part of the mount path indicates that the drive is user mounted > and so it will also be owned by the user which is why the LMS user can't > get to it. While yes you can fix that at this point by changing access > rights it must be realized that you will need to do this with every > power cycle of either the computer or the external drive. It should also > be noted that this mount path is not fixed and so if William owns a > second one of these drives and plugs that in before the one that > contains all the music, the other drive will likely be on this > particular path because it is almost bound to bare the same (default) > volume name. Ah, ok. That's not ideal if that's the case. So maybe William can first try the 'chmod' command to see if that progresses things, and if it does, then maybe you can talk us through how to fix this so that there is a consistent mount path with the correct permissions. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > > Device: /dev/sdb1 > Contents: NTFS-Mounted at /media/william/Elements > That says that the disk is mounted in the /media folder, in a sub-folder named 'william'. Are you saying that you've looked in the 'media' branch of the tree that LMS offers you? If you have, but you didn't see that 'william' subfolder, maybe it's a permissions issue. So from a command line, maybe you could try Ronnie's suggestion: Code: sudo chmod -R 755 /media chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > > As I have mentioned ZORIN is reading the External HDD and is showing the > contents, Audio Files, but the mediaserver is not able to see the HDD > and its contents. Since Zorin can see your USB HDD, it is evidently mounted on your system, so should be visible somewhere in that file tree. My apologies - I didn't notice that you also listed 'media' as one of the visible folders. It may well be in there, rather than in 'mnt'. EDIT: Gordonb3 posted while I was still writing :) chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > OK thanks some successagain, I got to log on to the Logitech > Mediaserver, I connected one of my external USB drives that has my music > on it, Zorin can see the drive and show the contents but I can't link it > to the Mediaserver > The mediaserver page shows me the following On the left pane "Playlist > Folder" with a long list: bin, boot, cdrom, dev, etc ,home, lib, lib64, > media, mnt, opt, proc, run, sbin, snap, srv, sys, tmp, usr, var Your external USB drive will probably show up under 'mnt'. So follow RobbH's advice and click on 'Settings' 33403 Then click on the first 'Browse' button under 'Media Folders' 33404 Then open up the 'mnt' folder - hopefully there'll be a folder in there that corresponds to your USB drive. 33405 +---+ |Filename: LMS Folders.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33405| +---+ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > Nothing has happened, taken awhile to re-boot but then I don't see > Logitech Media server anywhere. Where are you looking? If this computer has a graphical interface, and a browser, try entering this URL in the browser: Code: http://localhost:9000 Or if you know the computer's IP address (e.g. 192.168.0.10), try entering this in the browser of another computer (obviously, replace the IP address) Code: http://192.168.0.10:9000 chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > Hi Paul, I have tried again different versions, but as you can see still > no joy > > william@william-XPS-M1330:~$ sudo dpkg --install > logitechmediaserver_v8.1.1_amd64.deb > [sudo] password for william: > dpkg: error: cannot access archive > 'logitechmediaserver_v8.1.1_amd64.deb': No such file or directory > william@william-XPS-M1330:~$ > > I did download a new file > > /home/william/Downloads/logitechmediaserver_8.1.1_amd64.deb > the v in download only put me to a Logitech download page with dozens of > versions way back to 7 something > the file does exist in the download Folder The dpkg command as issued will assume that the downloaded file is in the current directory. But it looks as though you have downloaded it to your Downloads folder, but then issued the dpkg command from your home directory. Try Code: sudo dpkg --install /home/william/Downloads/logitechmediaserver_8.1.1_amd64.deb chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
Paul Webster wrote: > See my earlier reply ... there is a letter v in the file name that you > have not included in the dpkg command. Paul - the 'v' is in the path, but not in the filename. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > Hi, still the same, > > william@william-XPS-M1330:~$ sudo dpkg --install > logitechmediaserver_8.1.1_amd64.deb > [sudo] password for william: > dpkg: error: cannot access archive > 'logitechmediaserver_8.1.1_amd64.deb': No such file or directory > william@william-XPS-M1330:~$ > > tried with -i still the same, did copy and paste. something not > compatible Going back a couple of steps, this 'No such file or directory' error implies that the file you thought you'd downloaded isn't present. There could be several reasons for this, but, if you've retyped gordonb3's suggested 'wget' command rather than copying and pasting, then a typo could have prevented the file from downloading, or maybe download it with a different name. I would suggest that you try copying and pasting each of these two lines. Code: wget http://downloads-origin.slimdevices.com/LogitechMediaServer_v8.1.1/logitechmediaserver_8.1.1_amd64.deb sudo dpkg -i logitechmediaserver_8.1.1_amd64.deb The first line should result in something like the following: Code: Connecting to downloads-origin.slimdevices.com (54.208.89.159:80) saving to 'logitechmediaserver_8.1.1_amd64.deb' logitechmediaserver_ 100% |***| 39.1M 0:00:00 ETA 'logitechmediaserver_8.1.1_amd64.deb' saved Once that command works, go on to the 'sudo dpkg...' command chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS killed my Jogglers!
Something like 'this' (https://www.yoctopuce.com/EN/products/extensions-and-networking/micro-usb-hub-v2) ought to fit inside I would have thought. Ok, so it would need a bit of soldering to attach USB sockets to those 4-pin headers, but it does look very compact. [image: https://www.yoctopuce.com/projects/micro-HubV2/img/illustr-micro-usb-multi-TT-1-big.jpg] chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113859 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS killed my Jogglers!
jimbobvfr400 wrote: > If you don't need the Wifi theres a USB slot inside the Joggler you can > use, the wifi is a USB card plugged into an internal USB socket. > If you leave the screws out the screen will still clip on securely but > is easy to unclip if needed so it's easy to access the card. I'll have to have a look inside one of my spares. I wonder what's the smallest USB hub you can buy, and would there be room inside, so that you could keep the wifi? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113859 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
mherger wrote: > Switzerland's small :-). The standard unit of measurement in cases like this, at least for people in the UK, is 'The Wales'. Switzerland = 2 x Wales. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] random start of players on LMS
https://forums.slimdevices.com/showthread.php?107165-IMPORTANT-Stop-forwarding-your-LMS-ports-to-the-internet! How did you enable the voice commands? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113884 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS killed my Jogglers!
Heuer wrote: > ... and a re-flash is required, and the number of times that can be done > is limited As an aside, I resisted the move to external USB installations because I didn't like the thought of having USB sticks poking out of the side of my Jogglers. But a 'flash drive such as this one' (https://www.amazon.co.uk/gp/product/B07MDXBT87) is barely visible, and saves the wear on the internal flash memory. They even allow you to continue using a Joggler that has terminal problems with the internal flash. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113859 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Block incomming connections
Yep - that's how it works. I added my laptop's IP address to the allowedhosts setting, and I could still get in even when incoming connections were blocked. Not so without the laptop's address in allowedhosts. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113847 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Block incomming connections
It seems to be filterHosts. I just tried it on a machine I could easily remake from a pCP image if necessary. Before blocking incoming connections it had: filterHosts: 0 And afterwards it had: filterHosts: 1 >From the naming, my guess is that 'blocked' means 'filtered', and any IP address in the allowedhosts setting will still get through even when incoming connections are 'blocked'. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113847 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Running LMS in my own webspace?
sparkyuk wrote: > Have a read of > https://www.blisshq.com/music-library-management-blog/2021/01/06/cloud-music-lockers/ > for some other thoughts. Good link, thank you. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Running LMS in my own webspace?
Thanks both - that's enough to make me realise it's not feasible for me - I won't be upgrading to a virtual server. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Running LMS in my own webspace?
Paul Webster wrote: > Does your hosting provider allow you to start long running applications > (Perl in this instance)? > > Many do not. > > Wordpress is an example of something that is not long running. It is php > that is launched when you hit the URL and then exits until the next hit. Worse than that, it doesn't even support Perl! 33100 To answer -their-, I guess it does, yes. :( +---+ |Filename: Perl version.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33100| +---+ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Running LMS in my own webspace?
Inspired by the 'iBroadcast' (https://forums.slimdevices.com/showthread.php?104601-iBroadcast-plugin-unlimited-free-storage-and-streaming-of-uploaded-tunes) thread, I started to wonder whether I could use my own web space to store my music files and make them accessible to LMS when I'm away from home. -"Surely,"- I thought, -"I'd only need to install some kind of file server in my web space."- -"There are plenty of one-click packages provided by my web hosting service - maybe there's one that's dedicated to serving up audio files"- As the cogs slowly turned in my head I realised that -"some kind of 'media server' would be ideal."-. And that of course, is why I'm asking this question :). I'm imagining a 'MyOwnSqueezebox.com' :) I pay for some webspace, which I think is nominally unlimited space-wise, and they don't mind what I do with it, so running a media server from it would be entirely within their rules. My library isn't big - maybe 200GB - but if that did prove to be too much I could upload my 'compressed' mirror (all FLACs converted to OGGs), which I think is around 50GB. (Neither of these will be practical to upload until OpenReach decide that it's once again safe to enter my home to install the fibre broadband that I ordered IN OCTOBER for heavens' sake) So, what would be involved in installing LMS in my own web space? Is it even possible? How could I find out which binaries would work in my web space? Is it safe to do - i.e., is the LMS password protection strong enough to prevent abuse by uninvited guests? If not, what else can I do at server level to secure it How would my Squeezebox players find it? Could I set up Spotty to work in such a scenario? What else haven't I thought about? My experience with using my web space is limited to those one-click installs, such as Wordpress, Zen Photo etc. So any manual installation and configuration is likely to be a challenge, but I'm interested in seeing if this would work. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113772 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Creating playlists from cue files in LMS 7.9.2
Mnyb wrote: > If you browse from the album or artist menu and not the browse file menu > ? Is there a difference? I think that's the key to this issue. I have most of my music stored the same way as the OP (each folder contains one big FLAC, a separate CUE and a JPG). I exclusively use the 'Artists' or 'Albums' option to drill down into my music, and selecting single tracks works perfectly. But as a test, to replicate the OPs problem, I used the 'Music Folder' option to drill down and select a single track, and indeed the entire FLAC file gets added to the playlist. @chopinhauer - make sure LMS has scanned your music folder, then try using the 'Artists' option underneath the main 'My Music' item in the left pane. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=111709 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Troubleshooting Podcast Halting Error
bpa wrote: > > While a solution which downloads the whole podcast works for phones etc > - on a RAM based system such as pCP - very long and/or hires podcast > which can be 100's of Mbytes the solution may fail. Would an approach similar to the 'Drag and Drop Music Files' plugin work in this case? I believe that plugin transfers files to .../cache/audioUploads, and the plugin allows the user to specify a file size limit, which defaults to 100Mb. I have my LMS cache on my 'Music' USB3 HDD (under pCP), so file size is not an issue. Are there any other pitfalls of such an approach? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109809 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech media server not working without internet connection
In my camper van I regularly use a pCP server that makes it's own wifi AP, and the device has no possible means of connecting to the internet (something I've considered trying to fix with a GSM dongle, but not really sure how to go about it!). It works fine without internet, but of course I don't have Spotty installed in that setup - no point until I can incorporate a GSM dongle. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=62 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
I haven't encountered this error again since that post in August. I've re-enabled all the plugins that I had disabled, but LMS has been perfectly behaved. I have no idea what the cause was, or why it's gone away. I'm currently using piCorePlayer v6.0.0-b1, and 'perl -v' gives this: Code: This is perl 5, version 28, subversion 0 (v5.28.0) built for arm-linux-gnueabihf-thread-multi-64int chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
Yeah, I know this isn't a fair test - a 'pass' won't necessarily mean the plugin is innocent, but a 'fail' might be more conclusive. The BBC plugins didn't provoke the error after 10 reboots. So I added Shairtunes as well, and have rebooted 4 times without error. I'm going to remove those plugins again, then add Spotty and listen to some music while I get on with other things. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
10 reboots on the trot with no errors. I reloaded the two BBC plugins, and have rebooted 5 times without error. Not conclusive of course, because the error was only 'occasional', but I think 10 reboots would have caught at least one instance. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
chill wrote: > On the other hand the error could occur on the next reboot, which would > rule them out I guess. That didn't happen :-) A couple of reboots later and it hasn't happened again yet. I'll keep trying. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
I missed a couple: Code: Network Test (v1.0) ShairTunes2 (fork) (v0.107.4) They're gone too now - only Logitech plugins left. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
OK, I'll disable those plugins (including yours Michael?) and live off locally stored music for a while. The error doesn't occur frequently, so it could be a while before I can conclude that one of them is the culprit. On the other hand the error could occur on the next reboot, which would rule them out I guess. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
There are all the plugins that don't have Logitech or yourself as the author: Code: AirPlay bridge (v0.4.20.0) BBC iPlayer (v1.6.7) BBC iPlayers Extras (v3.2.0) Group Players (v0.9.1) Material Skin (v0.9.7) Song Scanner (v2.0) SuperDateTime Screensaver (v5.9.54) WaveInput (v1.04) I'm also using the following plugins of yours: Code: Client Cleanup (v1.0.0) Ignore files and folders (v0.1) Image Browser (v1.0) Lastmix (v2.0.0) Music and Artist Information (v1.6.4) Radio Paradise (v2.4.2) Spotty (v2.8.4) What Was That Tune? (v1.0.7) Is there an extra level of logging that I can enable to see if one of these is triggering the error? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
It did it again, so this time I saved the whole pcp_boot.log Code: Starting piCorePlayer setup... Loading pCP function files and pCP configuration file...Done. Checking for boot codes on mmcblk0p1... Trying to mount /dev/mmcblk0p1. Checking for ssh...found, ssh will start. Checking for netusb... newpcp.cfg not found on mmcblk0p1. Checking for boot codes on sda1... Trying to mount /dev/sda1. Checking for ssh...found, ssh will start. Checking for netusb... newpcp.cfg not found on sda1. Setting piCorePlayer repository...Done. Generating drop-down list...Done. Starting pCP AP Mode...pcp-apmode extension not loaded. Done. Starting wifi... Starting WiFi on wlan0... udhcpc: started, v1.30.1 udhcpc: sending discover udhcpc: sending discover udhcpc: sending discover udhcpc: sending select for 192.168.1.4 udhcpc: lease of 192.168.1.4 obtained, lease time 86400 deleting routers route: SIOCDELRT: No such process adding dns 192.168.0.1 Done. Loading configuration file...Done. Loading pcp-lms-functions...Done. Waiting for soundcard USB to populate. Done (1). Waiting for network. Done (1). Starting ALSA configuration...Done. Starting lirc...Done. Starting Openssh server...Done. Mounting USB Drives... Mounting USB Drive: 7dc913a4-6d77-483a-ae5b-3eb4af144077... mount: /dev/sda1 mounted on /mnt/Music. Disk Mounted at /mnt/Music. Done. Starting LMS, this can take some time..."my" variable $ipn masks earlier declaration in same scope at /usr/local/slimserver/CPAN/AnyEvent/Socket.pm line 465. Compilation failed in require at /usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400. BEGIN failed--compilation aborted at /usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400. Compilation failed in require at /usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15. Compilation failed in require at /usr/local/slimserver/Slim/Networking/Async.pm line 21. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async.pm line 21. Compilation failed in require at /usr/local/lib/perl5/5.28.0/base.pm line 137. ...propagated at /usr/local/lib/perl5/5.28.0/base.pm line 159. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async/HTTP.pm line 35. Compilation failed in require at /usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17. Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm line 32. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Music/Info.pm line 32. Compilation failed in require at /usr/local/slimserver/Slim/Utils/Misc.pm line 49. Compilation failed in require at /usr/local/slimserver/slimserver.pl line 229. BEGIN failed--compilation aborted at /usr/local/slimserver/slimserver.pl line 229. Slimserver is not Running Done. Waiting for LMS to initiate. LMS not running (22). Done (22). Starting Squeezelite and/or Shairport-sync... [ INFO ] Starting Squeezelite player: Squeezelite... Done. Starting Samba Server... Starting SAMBA... Done. Starting httpd web server...Done. Starting user commands...sudo /home/tc/sbpd-pigpio -M dc:a6:32:03:82:22 -f /home/tc/sbpd_commands.cfg e,21,20,VOLU,2,0 b,3,POWR,2,0,SCRIPT:/home/tc/pcp_bs.sh,2000 b,23,PLAY,2,0,PREV,500 b,22,MIX-,2,0,MUTE,500 b,24,PAUS,2,0,STOP,500 b,25,MIX+,2,0,VMAX,500 b,12,NEXT,2,0,SHUF,500 b,16,PRE1,2,0,PRE4,500 b,19,PRE2,2,0,PRE5,500 b,13,PRE3,2,0,PRE6,500 b,26,PAUS,2,0,STOP,500 Done. Setting cpu scaling governor...ondemand Done. Finished piCorePlayer startup. To setup piCorePlayer, use the web interface via a browser: - http://192.168.1.4 Press [Enter] to access console. In the background, ntpd is syncing time between piCorePlayer and the internet... A large offset between 1970 and now is normal. It certainly looks as though it has an ipv4 address before that error. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
bpa wrote: > I'm guessing it is about network. That seems logical. I did try a few reboots to see if I could trigger the error again, but of course when you want it to happen it won't. I'll save the logs if it happens again. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
Forgive me, I don't know the first thing about Perl, but given that a 'compiler' error is apparently being triggered at 'run time', I'm guessing that it's compiled on demand ('interpreted'?). In that case, would that suggest that this $ipn error is going to be triggered any time that red line is reached (i.e. when operating in an ipv6 environment), because it's a second declaration within the same scope? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn
Thanks for looking into this bpa. I don't believe anything else has changed. Yesterday I did add another command to the start-up user commands 'tweaks' - a script that I wrote to control a fan via a GPIO pin - but the compilation error didn't seem to be improved by removal of that script. The pCP is currently connected wirelessly, to a mesh system that I added a few weeks back - apart from some initial teething troubles (as with ANY new piece of network equipment in my experience!) it's worked flawlessly. Signal strength seems good. If it happens again I'll save the entire boot log, to see if there's any clue about the network interface. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Perl compilation error: $ipn
Not sure where to post this, as I can't tell whether it's a general LMS issue, or specific to pCP, or possibly even caused by Paul-'s latest test version of sbpd-pigpio (which is the only change I've made recently). As of this morning, on rebooting pCP I've been getting quite a few instances where LMS fails to start. This is in the pcp_boot.log file: Code: Starting LMS, this can take some time..."my" variable $ipn masks earlier declaration in same scope at /usr/local/slimserver/CPAN/AnyEvent/Socket.pm line 465. Compilation failed in require at /usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400. BEGIN failed--compilation aborted at /usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400. Compilation failed in require at /usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15. Compilation failed in require at /usr/local/slimserver/Slim/Networking/Async.pm line 21. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async.pm line 21. Compilation failed in require at /usr/local/lib/perl5/5.28.0/base.pm line 137. ...propagated at /usr/local/lib/perl5/5.28.0/base.pm line 159. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Networking/Async/HTTP.pm line 35. Compilation failed in require at /usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17. Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm line 32. BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Music/Info.pm line 32. Compilation failed in require at /usr/local/slimserver/Slim/Utils/Misc.pm line 49. Compilation failed in require at /usr/local/slimserver/slimserver.pl line 229. BEGIN failed--compilation aborted at /usr/local/slimserver/slimserver.pl line 229. Slimserver is not Running Rebooting once or twice usually gets LMS to start. It doesn't seem to make any difference whether I try to start sbpd-pigpio as a [tweak], but that variable $ipn seems like it could be related to a pin number variable, hence my suspicions, but I have no idea whether/how variables used by sbpd-pigpio could interfere with perl compilation - seems unlikely. Have I corrupted something with a careless reboot perhaps? Touch wood, everything seems to be working fine now, so maybe not worth any further investigation, but I'm still curious what could cause the compilation to fail 'occasionally'. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110902 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Are there any other Skins for jivelite
You could experiment with the overscan settings. From the config.txt file: Code: # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 Given that your screen is 8cm tall but you're only using 6cm of it (1cm black band top and bottom), and that 6cm corresponds to 600 pixels, it seem like a value around -100 for overscan_top and overscan_bottom might get you close. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110888 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Are there any other Skins for jivelite
diode84 wrote: > ...and with 640x480 skin... That's your problem. What you've done: 1) By setting the framebuffer values, you've told the operating system that your screen is 1024x600. 2) By choosing a 640x480 skin, you've told Jivelite only to use the central 640x480 section of your screen. You need to choose one of the two skins that match your screensize: - Grid Skin (1024x600) - Touch Skin (1024x600) Overscan is disabled by default I think, or set to zero - can't recall. You only need to use this if the skin goes off the edge of your monitor, e.g. if it's covered by a bezel. The overscan settings will reduce the 1024x600 screen size by the overscan values. Backup isn't needed when you're working on files in the Boot partition - changes get written directly to the SD card. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110888 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Are there any other Skins for jivelite
Man in a van wrote: > does one need to "save and reboot"? > > > Code: > > pcp br > > : (b)ackup then (r)eboot A good strategy in general, but in this case, for changes to config.txt on the boot partition, no. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110888 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Are there any other Skins for jivelite
diode84 wrote: > Having a fresh brain didn't help. I found config.txt, removed the # and > changed to 1024 and 600, not much difference. > Trouble is I don't understand what I need to change it to. Can you > suggest any values to try to get greater screen height. > The screen is max 1024 x 600. > Thanks Those values should be set to match the quoted resolution of your monitor. Can I just check that you rebooted after changing those values? (stranger things have happened!) Once you've set those values and rebooted, you should then be able to choose a skin that matches that resolution. So I think you'll have a choice of: Grid Skin (1024x600) Touch Skin (1024x600) Either of those skins should then fill the screen, except possibly for a small black border defined by the 'overscan' settings (in the sections immediately above the framebuffer width and height settings). chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110888 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Are there any other Skins for jivelite
You may need to edit the config.txt file on the boot partition of your SD card, so that greater resolutions are supported. You can either do this by inserting the SD card into your laptop - the boot partition should be accessible - or by accessing pCP over SSH, and typing 'm1' at the command line to mount the first partition on the card. Then look for the following section of config.txt and edit the framebuffer width and height to suit your monitor's resolution: Code: # uncomment to force a console size. By default it will be display's size minus # overscan. framebuffer_width=1920 framebuffer_height=1080 (I had the same question and it was kindly answered 'here' (https://forums.slimdevices.com/showthread.php?103330-Jivelite-for-piCorePlayer=938232=1#post938232)) chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110888 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Crossfade by playlist?
d6jg wrote: > Mostly I listen to albums where I donÂ’t want crossfade on but on some > occasions - SundayÂ’s - I like to set something playing and let DSTM do > its stuff where IÂ’d quite likely crossfade to be on. Isn't this what Smart Crossfade is supposed to handle? > SMART CROSSFADE > If Smart Crossfade is enabled, successive tracks played from the same > album will not use the Crossfade setting. > I haven't tried it with DSTM - should work though shouldn't it? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110301 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Icon inconsistency?
d6jg wrote: > I don't have that for any of my Pi's - is your LMS on Pi ? Mine is not. > Have the pCp boys changed the icon? I think this could be Michael pulling our legs. :) My LMS is on the same Pi as my player, and I don't get that icon either. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110288 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Icon inconsistency?
That's interesting. I see the Softsqueeze icon when I look at Basic Settings. The Player Model andType are correctly identified as squeezelite, but the icon is softsqueeze. [image: http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/LMS%20squeezelite_1024.jpg] I'm running "Logitech Media Server Version: 7.9.2 - 1548427341 @ Fri Jan 25 16:23:05 CET 2019" on a Raspberry Pi under piCorePlayer. LMS is getting the image from Code: http://192.168.1.46:9000/html/images/Players/softsqueeze_250x250_ff.png which seems to correspond to Code: /usr/local/slimserver/HTML/EN/html/images/Players where there is a squeezeplay.png available. Strangely though, I can't find the group icon in that folder, or anywhere on the RPi. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110288 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Icon inconsistency?
I was working on a Jivelite applet that needed the group player icon, so I copied it from what's displayed by LMS under 'Settings' > 'Player' > 'Basic Settings'. [image: http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/group_250x250_ff_100.png] While I was there I noticed that the icon used by LMS for Squeezelite players isn't the same as the one used by Jivelite. LMS uses the Softsqueeze icon: [image: http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/softsqueeze_250x250_ff_100.png] ...whereas Jivelite uses the Squeezeplay icon: [image: http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/icon_squeezeplay_100.png] Of course, what we really need is a unique Squeezelite icon :) Don't look at me. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110288 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Replacement for Logitech Media Server - Roon?
d6jg wrote: > YouÂ’ll need a USB DAC or USB to Toslink converter to do that. The Onkyo > does not have the appropriate USB socket. IÂ’ve checked and it does have > AirPlay. Should work with PhillipeÂ’s AirPlay bridge. Ah - USB storage only, my mistake. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110226 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
Thanks Paul Good grief - I wouldn't have the first idea how to code this little workaround. As you say, the consequences on different types of player might be different, and this restriction was obviously put there for a reason. I would guess that the 'setd' doesn't only handle player name changes, so it would be wise to restrict the change such that it only affects 'squeezelite' players, and only refers to name changes. I could see it taking me a week or more just to get to grips with the perl syntax and scratch the surface of the LMS structure. I think I'll just leave it, and live with the fact that squeezelite on the Joggler is behaving as programmed. On the other hand, whilst I can understand that it might be best to limit this type of communication while a player is playing, I wonder if it's really necessary for it to be explicitly 'stopped'. It seems like it might be just as safe to send this 'setd' while the player is paused, which is a much more common condition for a software player without a stop button. Paul Webster wrote: > > Michael probably best advisor on the though. Agreed. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
After a quick test it looks as though you've solved the mystery Paul. Name changes get saved back to the specified file when the player is stopped. It's not enough to pause the player, or to (soft) power it off while playing or paused - it has to be explicitly stopped. Name changes also seem to get saved while the player is (soft) off, provided it was stopped first. I can't believe that I didn't spot this pattern in all my testing, but in my defence the browser interface doesn't have 'stop' function that I can see, and it's not obvious in the Jivelite interface - it takes a long press on the pause button to stop the player. I wonder if this 'stopped' condition really needs to be present. Paul - could you point me to the relevant bit of the source code and I might have a go at lifting that restriction to see what the consequences are. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
Paul Webster wrote: > > One thing I saw on the LMS side is that this is not sent while the > player is active - so try a name change while the player is stopped. > It looks like it queues up the info to be sent later in that case but I > did not work through that to see if it works. > Thanks Paul - that could be the key. With Jivelite running on the Joggler I can see the player name at the top of the screen, and this changes almost immediately when I change the name in LMS. But I do think that all my testing has been while squeezelite has been running*, so maybe the command isn't being sent to squeezelite itself. That might explain the 'occasional' success that I had. Will test that this evening. * I've been playing with making the Joggler autostart squeezelite at boot if it was running when the Joggler was shut down. I'm finally starting to get my head around lua settings files/menu operation/scripting/greping/awking.. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
I found the -d option in squeezelite, and captured some debug information. I can see where squeezelite is getting the name from the file, and where it then sets the name immediately afterwards: Code: root@openframe:~# /root/squeezelite/bin/squeezelite -v -d all=debug -o sysdefault:CARD=MID -N /root/squeezelite/bin/PlayerName -m 00:0e:8e:24:ce:36 [09:13:04.047426] stream_init:294 init stream . . . [09:13:09.275626] discover_server:795 got response from: 192.168.1.46:3483 [09:13:09.276186] *slimproto:858 retrieved name Joggler from /root/squeezelite/bin/PlayerName* [09:13:09.276556] slimproto:883 connecting to 192.168.1.46:3483 . . . [09:13:09.319463] process:514 setd [09:13:09.319661] *sendSETDName:238 set playername: Joggler* [09:13:09.319806] process:514 setd But when I then change the name in LMS there doesn't seem to be any sign of that coming back to squeezelite. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
ralphy wrote: > I've been using the -N option for ages, well really since Triode added > it back in Dec 2013 and I've never noticed that behaviour. > I usually populate the file with the playername when I first add the -N > option and I don't change player names very often. > Permissions could be the issue updating the -N file if squeezelite is > not running as root however squeezelite will log that with an 'unable to > store new name in file' warning. I'm struggling with this, and it's frustrating, given that it was working when I first tried it. @ralphy - that warning message, do I need to enable logging/debugging somehow in squeezelite? Just running it from from a terminal with ... Code: squeezelite -v -o sysdefault:CARD=MID -N /root/squeezelite/bin/JogglerPlayerName -m 00:0e:8e:24:ce:36 ... gives me no feedback at all. It's definitely taking the startup player name from the file, but name changes in LMS aren't getting back to the file, despite apparently being applied within the LMS interface. I'm running squeezelite as the root user (for now), but I've also tried changing the permissions of the named file to 777, as well as the folder it sits in. Any tips to investigate this would be appreciated. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
Hmmm - this is odd. -Some- changes seem to get through, -eventually-. Haven't spotted a pattern yet - might be after a reboot, or restarting LMS. I'm pretty sure it was instant when I first tried it though. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
ralphy wrote: > > With -N you can set/change the name from LMS and squeezelite updates the > file with the new name. Are there any conditions that have to be met for this to work? I'm pretty sure that when I first tried this after you posted that comment it was working as expected - name changes would update the file. I tried files in various locations on the server, and didn't have to do anything special with file permissions/ownership etc. But I noticed today that any name changes entered via LMS are not updating the file. The only thing I can think of that might have changed is that I rebuilt Jivelite with the visualisations option (the only 'extra' build option that I specified). Could I have inadvertently missed out another build option? The '-N' option is still listed by --help, and evidently the filename is still being taken from that file, but changes are not being stored there. My squeezelite command is: Code: squeezelite -v -o sysdefault:CARD=MID -N /root/squeezelite/bin/PlayerName -m 00 0e 8e 24 ce 36 -z (I issued the command with colons in the MAC address - this text is copied from the output of 'ps aux') I'm running squeezelite as the root user. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
ralphy wrote: > > > With -N you can set/change the name from LMS and squeezelite updates the > file with the new name. This is a really neat feature - it means that squeezelite can be started up with an unchanging command string, but any name changes persist. I've been playing with it on the Joggler build I've been working on and it works perfectly. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
Manul wrote: > > Edit: I'm not using pCP, I don't even know what that is. Should I? Yes. ;) Manul wrote: > I've worked around that by passing the -N option to squeezelite and > putting the name in a file. That works. And ^that is the solution to the 'spaces in names' problem with additional players configured in the 'tweaks' section of pCP. Marvellous, I didn't know that option existed, thank you. I now have 'Lounge DAC' instead of 'Lounge_DAC'. Much neater. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Spaces in Player names?
Manul wrote: > I'm not sure whether this is a server or client question: When I > configure my squeezelite player with a name containing a space, it > doesn't show up in LMS 7.9.2. Is this a general restriction with LMS, a > setup problem with squeezelite or just my incompetence? Where and how are you running Squeezelite? >From the command line, this works: Code: /usr/local/bin/squeezelite -n "Squeezelite player" But this doesn't: Code: /usr/local/bin/squeezelite -n Squeezelite player If you're using pCP, then the main Squeezelite instance can have a name with spaces in, because pCP encloses the name that you enter in double quotes. But if you're trying to run a second instance via the 'Tweaks' page, then the name does not get enclosed in quotes, and you can't manually include quotes, so you'll have to remove the spaces, e.g. Code: /usr/local/bin/squeezelite -n Squeezelite_player -o front:CARD=Set,DEV=0 chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110157 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] New in 7.9.2: Presets editor
chill wrote: > It's a while since I was trying this - I assume the functions called by > the IR buttons can be replicated within sbpd. I'll dig out that thread. Just for completeness, to recall a preset on a pCP, using button presses, the command configuration for the sbpd tool is of the form: Code: PRE1=["button","preset_1.single"] Then assign 'PRE1' to a GPIO button press. This new presets editor now makes it a doddle to assign things to those presets, with the result that a few preset buttons on my pCP-based amplifier project will become a much more worthwhile feature. And I'm going to go back and study that Random Seed thread again to set up some genre-based Spotify/DSTM presets :) chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110087 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] New in 7.9.2: Presets editor
That's a nice feature, thank you. A while ago I was trying to assign presets via button presses on a pCP, using the sbpd tool. I put that aside as I wasn't getting anywhere, but with this new presets editor it makes sense to have those presets buttons again - no need to figure out how to assign them via button presses, they just need to recall them. It's a while since I was trying this - I assume the functions called by the IR buttons can be replicated within sbpd. I'll dig out that thread. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110087 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
Man in a van wrote: > What about? > > https://www.jogglerwiki.com/forum/ > Yeah, could be another place to make enquiries, I agree. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
I made a start at getting Jivelite to run on a Joggler. Some progress, but some snags. This particular forum doesn't seem like the right place to discuss my efforts, so I started a 'new thread' (https://forums.slimdevices.com/showthread.php?110040-Jivelite-on-a-Joggler) in the Linux/Unix forum. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
Jeff07971 wrote: > > > For Raspberry Pis there's pCP ! > Yes, I've considered building a Joggler replacement with a suitable Pi and pCP (I have several Pis running pCP already), but since I've got the Jogglers, and I like the form factor, the built-in stand etc, I'd like to make the best use of them. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
mherger wrote: > > Just make sure you skip the part about squeezelite - that would be the > player part again, and LMS. You only need Jivelite. > Yep - got that. :) I can't believe someone hasn't already done this, documented it, made a bootable image available, printed the t-shirts etc. I'll set Google going again. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
mherger wrote: > > I bet it'll be easier to get Jivelite running than to modify SqueezePlay > > to not provide the player. > Yeah, starting to appreciate that. I think I'll have a go at installing a fresh Ubuntu OS (from 'here' (https://jwills.co.uk/projects/joggler-xubuntu/download/) perhaps), then following the instructions for installing Jivelite from scratch (e.g. 'here' (http://www.hagensieker.com/jivelite/index.php)). If anyone knows of better resources than those links, feel free to point me in the right direction! chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
I've been browsing through the files on the Joggler. I've found the /opt/squeezeplay/share/jive/ folder, which appears to be where the source code for the Joggler Squeezeplay is kept. I don't know the first thing about Lua. To make a version of Squeezeplay that doesn't create a player, would it simply be a case of finding where the local player is created and commenting out that bit of code? Could anyone with experience of Squeezeplay point me to the correct file/function? The folder structure under /opt/squeezeplay/share/jive seems to be the same as the /jivelite/share/jive folder structure at github - could I just replace the squeezeplay files with the jivelite files? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
mherger wrote: > > Is there a way to exclude players from the list of available players > in > > LMS? > > You should try to rung Jivelite instead of Squeezeplay. It's the same > UI, but UI only, no player integrated. Squeezeplay is both player and > UI. > > -- > > Michael That could be challenging for someone with my meagre Linux skills! Could be an interesting challenge though. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] A "how do I...."/feature request - hide players from LMS
Is there a way to exclude players from the list of available players in LMS? I have a couple of Jogglers which I use as touchscreen controllers for LMS. I run them using 'Squeezeplay OS' from 'birdslikewires' (https://birdslikewires.net/squeezeplay). A side effect of this OS is that each Joggler shows up as a player, and since I don't use them as players I'd like to remove them from the list. Does anyone know how to kill the player part of Squeezeplay OS? Obviously I can name them so that it's obvious they're not proper players, but they still clutter up the list. The best I've found is to give them a blank name, and although they still show up in the list, the row height is much shorter, so they 'almost' don't show. But it would be nice if there was a feature, such as using a full stop as the first character of the name, to 'hide' such players from LMS. Obviously, the list of players in the 'Settings' > 'Player' tab would have to ignore such a rule, otherwise you'd never be able to access the player settings. Am I missing something - is there already an easy way to hide players like this? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110032 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS could not reestablish any USB connection after USB Dac is disconnected
Greg Erskine wrote: > > Are you guys clicking on the option to update the "Output setting" > field? > In my case, yes. I clicked on the output option in the bulleted list on the right, which puts that option into the 'Output Setting' field on the left, then I clicked the 'Save' button at the bottom of the 'Change Squeezelite settings' section. It's reproducible - I tried again with both options before my earlier post, and the top option definitely would not reconnect without a reboot. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109934 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS could not reestablish any USB connection after USB Dac is disconnected
bpa wrote: > > A squeezelite command line option setting may fix the problem for you > but you'll only which setting if you understand what is happening within > squeezelite. I had a similar situation with the USB DAC in a Hypex DLCP. The list of available output devices offered when this DAC is connected to a Pi 3B+ running piCorePlayer 4.1.0 is: null sysdefault:CARD=DAC front:CARD=DAC,DEV=0 surround21:CARD=DAC,DEV=0 surround40:CARD=DAC,DEV=0 surround41:CARD=DAC,DEV=0 surround50:CARD=DAC,DEV=0 surround51:CARD=DAC,DEV=0 surround71:CARD=DAC,DEV=0 iec958:CARD=DAC,DEV=0 I first tried the top option 'sysdefault:CARD=DAC', and that seemed to work and play music properly. But whenever the DAC was disconnected (e.g. when using the DLCP USB input for programming the DLCP), it required a reboot of the Pi for Squeezelite to find the DAC again. The solution for me was to use the next option in the list, 'front:CARD=DAC,DEV=0'. This is totally robust, in that I can disconnect the DAC (even by moving the cable to a different USB port on the Pi), and almost immediately the music just magically starts playing again - I don't even need to restart Squeezelite. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109934 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks guys - I'll give netcat a go. mherger wrote: > > > There is a curl extension, but it's failing to install. Maybe worth > asking in the pCP thread what's wrong with it. > Ah good - not just me then. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Paul Webster wrote: > Is there a wget ? There is. Code: tc@piCorePlayer:~$ wget BusyBox v1.27.2 (2017-10-31 19:09:48 UTC) multi-call binary. Usage: wget [-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE] [--header 'header: value'] [-Y|--proxy on/off] [-P DIR] [-S|--server-response] [-U|--user-agent AGENT] [-T SEC] URL... Retrieve files via HTTP or FTP --spiderOnly check URL existence: $? is 0 if exists -c Continue retrieval of aborted transfer -q Quiet -P DIR Save to DIR (default .) -S Show server response -T SEC Network read timeout is SEC seconds -O FILE Save to FILE ('-' for stdout) -U STR Use STR for User-Agent header -Y on/off Use proxy So would that allow me to ask for the name of the currently playing playlist/stream and then issue the jivefavorites command to save it to a preset? mherger wrote: > > > jivefavorites set_preset key:[0-9] favorites_url:http://... > favorites_title:station%20title favorites_type:audio > chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
mherger wrote: > > Don't use port 9090 (though you could do this using netcat). Use http > POST requests on port 9000 (or whatever your web UI's port). Eg. using > "curl", or your script language's package for this purpose: > One step forward and two steps back. Curl doesn't seem to exist in Busybox (the all-in-one shell in TinyCore linux). Code: tc@piCorePlayer:~$ curl -sh: curl: not found So is netcat the best option? If so, am I better trying to send the original command to 9090, or send it to jsonrpc.js on 9000? I can see a dark future in linux command line hell ahead of me chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks Michael - two good leads for this beginner. I quite like the idea of a long button press to set a preset and a short press to play that preset (as on the Boom), but I'm also warming to the idea of just having the short button press to access a favorite, which has the advantage that the LMS web interface allows me to manage those favorites. Now if there was a similar interface to manage player-specific 'presets' chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
I've had a quick look at how I might use that 'jivefavorites' command to set a preset, and have fallen at the first hurdle - if my aim is put it into a script that is called by a button press, then I can't see how I would point that script to port 9090. But I'll figure that out - that's not why I'm back. I'm back to ask if there is a URL for a (conventional) 'favorite' - something like 'file:favorites_1.m3u' for instance. I'd be happy if I could permanently assign preset #1 to the first item in my favorites list for example. I appreciate that favorites are more 'dynamic', in that the list order can change, but there is at least an interface in LMS to allow me to edit/reorder/manage these system-wide favorites. So knowing that my hardware buttons (e.g. 1 to 4) actually link to the corresponding top four favorites would work well I think. I had a quick look at how favorites are handled (favorites.opml) so I suspect this is a dead-end unless there's some kind of routine that would translate a URL to point to something in that OMPL file perhaps. Just thought I'd ask. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks Michael I'll certainly look into that. I think getting that to work will be a bit more of a project for me though - lots to learn. In the meantime I'm going to add some presets buttons to my button panel so that I can build them into my amplifier project. As a minimum I know that I can edit server.prefs to create presets, but hopefully I'll also be able to add a method of storing presets from a long press of those buttons. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
mherger wrote: > Enable debug logging for player.ir, control.command and see whether you > > can get some more information in server.log. > -- > > Michael Thanks Michael. I set up a couple of buttons - one using ["button","preset_1.hold"] to store the preset and one using ["button","preset_1.single"] to play it. In the console output from sbpd I get these messages, which confirm that the commands are being issued in response to the button presses: Code: 1527229761.3204 6 GPIO.c,97: Long PRESS: 2685 1527229761.3205 6 control.c,106: Button CB set for button #:0, gpio pin 19 1527229761.3671 6 control.c,217: Button pressed: Pin: 19, Press Type:Long 1527229761.3672 6 servercomm.c,74: Send Command:0, Fragment:["button","preset_1.hold"] 1527229763.9637 6 GPIO.c,102: Short PRESS: 232 1527229763.9638 6 control.c,106: Button CB set for button #:0, gpio pin 19 1527229763.9797 6 control.c,217: Button pressed: Pin: 19, Press Type:Short 1527229763.9798 6 servercomm.c,74: Send Command:0, Fragment:["button","preset_1.single"] In server.log I get: Code: [18-05-25 07:22:56.8155] main::init (599) Server Jive init... [18-05-25 07:22:56.9259] main::init (608) Server checkDataSource... [18-05-25 07:22:56.9271] main::init (618) Library Browser init... [18-05-25 07:22:56.9320] main::init (622) Server persist playlists... [18-05-25 07:22:56.9420] main::init (658) Server HTTP enable... [18-05-25 07:22:56.9443] main::init (666) Server done init... [18-05-25 07:29:21.3743] Slim::Buttons::Common::__ANON__ (812) Error: No valid url found, not adding favorite! [18-05-25 07:29:21.3751] Slim::Buttons::Common::__ANON__ (817) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Buttons/Common.pm line 817) frame 1: Slim::Buttons::Common::__ANON__ (/usr/local/slimserver/Slim/Hardware/IR.pm line 1104) frame 2: Slim::Hardware::IR::executeButton (/usr/local/slimserver/Slim/Control/Commands.pm line 291) frame 3: Slim::Control::Commands::buttonCommand (/usr/local/slimserver/Slim/Control/Request.pm line 1883) frame 4: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883) frame 5: Slim::Control::Request::execute (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 420) frame 6: Slim::Web::JSONRPC::requestMethod (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 224) frame 7: (eval) (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 224) frame 8: Slim::Web::JSONRPC::handleURI (/usr/local/slimserver/Slim/Web/HTTP.pm line 465) frame 9: Slim::Web::HTTP::processHTTP (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 123) frame 10: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 119) frame 11: Slim::Networking::IO::Select::__ANON__ (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168) frame 12: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168) frame 13: Slim::Networking::IO::Select::loop (/usr/local/slimserver/slimserver.pl line 727) frame 14: main::idle (/usr/local/slimserver/slimserver.pl line 677) frame 15: main::main (/usr/local/slimserver/slimserver.pl line 1213) That error line (which is in red in the log file) looks to be the key. I got the same logging block when I attempted to store either a local library track or a Spotty track. So maybe it's not able to extract the URL from the currently playing track, and only works on tracks that are navigated to as in the Boom? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
The preset_5.hold button is an IR command I believe, so I tried it on a Boom using the remote control. Pressing and holding the number 5 key on the remote brings up the message "Preset #5 (hold to save)", but no matter how long I hold it, the current track doesn't get inserted as a preset. If I hold it long enough that message times out and the key is evidently ignored. If I release the key before that timeout, then the existing preset #5 starts to play. So I think there's more to using the remote button mappings - perhaps the physical preset buttons on the Boom do something more than their apparent counterparts in the remote commands. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Hmm - preset_5.hold doesn't seem to do anything. I can see the command being triggered by the button press (in the console output of sbpd), but whatever it's doing, it's not updating the list of presets (or the list of favourites). chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks both - that 'preset_5.hold' option looks promising, if it that's what is called when function button 5 is held. It would be nice to avoid having to get too deeply into CLI and Jive scripting :) chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks - so is that the 'jivefavorite' command that Michael mentioned? So I'm assuming that Jive knows which function key was pressed to call that command, but it's not clear to me how the preset information ends up in the right line of the presets section in server.prefs. If that's all handled by other code surrounding that call to jivefavorite, perhaps it would be simpler for me to try to simulate a function button press when one of my hardware buttons is pressed. Is that feasible do you think? Is there a CLI command or IR command to simulate a function button press? If not, perhaps I could script a function button press somehow - I'm a complete beginner with LMS CLI, and scripting in general in fact, so any pointers to get me going would be appreciated. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
mherger wrote: > > check out the "status" query. > Thanks you, will do. Is there anything in the syntax of the 'jivefavorite add' command that links that preset to a position in the list? When I do a long press on button 4 on the Boom, the preset gets inserted into the 4th row of the list of presets. How does the 'jivefavorite add' command know which row to place the new preset in? Does the surrounding code handle that part? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
mherger wrote: > > > Check out server.log. I think this was a typo - I found a presets section for each player in /mnt/mmcblk0p2/tce/slimserver/prefs/server.prefs I took a copy, then stopped LMS and edited server.prefs to copy a preset from one of my Booms to the pCP squeezelite player, did a backup and restarted LMS and it worked like a charm - I now have a preset that starts on the long press of one of my hardware buttons. The preset I copied is a radio station. - URL: http://opml.radiotime.com/Tune.ashx?id=s45545=aac,ogg,mp3 text: 106.6 | Smooth East Midlands (Easy Listening) type: audio So in addition to the 'title:', 'url:', 'icon:' and 'type:' fields in your CLI syntax there also seems to be a 'text:' field. I'm guessing that for a headless system the only ones that are needed are the url: and probably the type: I'll have a play. Any tips for how to get the URL of the currently playing playlist item via the command line in a bash script? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Looking for information about Presets
Thanks Michael, I'll have a play with both of those. I don't think the CLI method will fit conveniently into a standard sbpd command, but since sbpd allows for calling a separate script I think that could work. My scripting skills are non-existent at the moment, so figuring out how to get the URL and icon from LMS and constructing the corresponding command line could be a challenge. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Looking for information about Presets
I'm running pCP 3.5.0 on a Raspberry Pi 3B+. I also have some push buttons that are configured using the SqueezeButtonPi daemon. It all works very well. I'd now like to investigate whether Presets can be used with this setup. I can configure a button to play a given preset (e.g. PRE1=["button","preset_1.single"]), but since I don't have any presets configured for this player, I get an error message on the attached Joggler screen that says "Preset #1 not defined." I posted a similar question in the Sbpd thread, but having now experimented for quite a while with various command strings (with no success) I think it's more appropriate to ask in the LMS forum. What I'd like to know is how to configure presets on Squeezelite. I appreciate that presets are supposed to be associated with preset buttons, e.g. on a Boom, but now that there's an easy way to add hardware buttons to a pCP setup it seems like the preset concept could apply. On my Boom, I navigate to an an item, such as a track, then do a long press on one of the preset buttons, and that stores the preset. I think that preset is specific to that Boom, and isn't available to other players. So what command does the Boom trigger when I do a long press on a preset button? I saw some commands in the IR default mapping file, but since the procedure on the Boom uses a hardware button rather than an IR command, I don't think anything in that IR mapping file is what I'm looking for - certainly nothing that I tried seems to work. So to configure a preset on Squeezelite, is there perhaps: 1) a file on the server that I can edit? Where would that be in a pCP setup? 2) a way to use the attached Joggler to achieve this? 3) a CLI command to achieve this, which could be programmed onto an Sbpd button? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109080 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Relative paths in playlists
In the end, all it took was a single perl command to change the paths in all my playlists. It no longer seems worth the bother of making my playlists future-proof if it's only going to save me another similar command whenever that future arrives. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109044 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Relative paths in playlists
Sure, but would that work on a Mac or Windows server? On my Mac mini, the paths all start with ///Volumes/Audio. On a Windows system they'd all start with a drive letter. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109044 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Relative paths in playlists
I've recently switched LMS from my old Mac mini to a Raspberry Pi 3B+. None of my playlists work, because the paths are different between the Mac and the Rpi. I'm quite happy working my way through the playlist files to do a global find and replace. But I'm wondering if I can future-proof this a little bit by making the paths relative rather than absolute. If I have a disk mounted as /mnt/Audio, and on that disk I have a folder called 'Music' and a folder called 'Playlists', then can any playlists in the Playlists folder refer to music files in the Music folder as file:../Music ? I can't seem to make this work, but referring to file:///mnt/Audio/Music works fine. What do those three slashes in front of 'mnt' do, and how many of them should I have before '../Music'? Supplementary question - if it IS possible to get LMS to *understand* relative paths somehow, is it also possible to make LMS *write* relative paths when it creates or modifies playlists? If not, there wouldn't really be much point in moving my old playlists to relative paths because new playlists would always be absolute, and I'd get in a right mess. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=109044 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Synchronised players - how to power one of them off/on separately
Thank you Philippe, I will. Forgive me if this has already been explained, but can a group player be synchronised with another player? It would be nice if I could have the SB2 playing, then turn on the Booms to have them play what's already on the SB2, so I think perhaps a group player for the Booms, and the SB2 as a stand alone player, with 'Booms' and SB2 synced but set to power independently. I'll have a play. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=108596 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Synchronised players - how to power one of them off/on separately
I have three players that I like to have playing in sync with each other when they're powered up, but I don't always want them all to be powered up at once. They are a couple of Booms and an SB2. Whenever one Boom is on I'd like the other Boom to be on, but I'd like to be able to turn on the SB2 without the Booms coming on. The 'Synchronize Power' option seems like it *ought* to be able to do this. I've set up a sync group for the three players, I've set both Booms to 'Power off/on with group' and the SB2 to 'Power off/on separately'. But it doesn't work as I expected. - When I power up the SB2, all three players come on. - When I power off the SB2, all three players go off. To me this seems like the 'Power off/on separately' option I set for this player is doing nothing of the sort. - When I turn either of the Booms on or off, the other Boom follows suit, without the SB2 being affected. That's the only bit of this behaviour that seems right to me. I guess the correct way to interpret the 'Power off/on separately' option is that it means 'Don't power off/on when the other group players are powered off/on', but what I'd like in this case is an option that mean's 'Power off/on without affecting other players in the group'. Am I missing a trick here - is there a way to make these players do what I want? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=108596 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter