Re: [SlimDevices: Unix] Request for Comments: Alps
schup011 wrote: > I think it is great extending the LMS ecosystem. > > One question I was asking myself with your approach was the benefit > compared to existing solutions. If you are using RasPi's, I think there > already is a great solution that covers quite a lot, maybe everything > that is possible with LMS, squeezelite and RasPi's. > > So your solution would cover also x86 hardware. Is that the reason why > you are working on it? Or is there something else? Hi schup011, thanks for the comments. The main reason I'm working on it is just for fun! But beyond that, I do agree that PiCorePlayer (I assume that's what you are referring to) is a full featured solution with a great bunch of guys developing and supporting it, but I really like Alpine and I'm running it on most everything I own, from my home router, thin clients and Rpi's, to the laptop I'm typing this on. It's a really versatile distro. I also thought managing players through an LMS plugin would make it feel like an integrated solution, give you a single point of management, and also save me from having to develop an interface that ran client side. I'm also trying to have the player update itself at boot so to get the latest packages you just reboot the player. Not sure if that will go for the base OS or just the add on packages, haven't got that far yet. Got Jivelite and related support packages build for x86_64 a couple nights ago. Got an Rpi4 setup for building aarch64 and an Rpi A+ for armhf. I think those are the only 3 architectures I'm going to host packages for at this time, all of which are supported by Alpine, at least for now. There's been talk about eliminating armhf or turning it over to the community to support. We'll see what happens. There's still not much out there that competes with the Pi Zero W as far as size/value/features IMO, sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057 View this thread: http://forums.slimdevices.com/showthread.php?t=112899 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues
The setting is just called "Artwork Folder" and makes no ref to artist or album. Either way, browsing Artist information/Pictures and Album information/Find album cover online and Local artwork all seem to be populated. mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
dasos - this did address it, but I think in a roundabout way. So, first - creating a volume and using that as where the config folder maps woprks. But, I'm not able to determine is WHERE volumes are actually stored if you use Linux Containers on Windows. Based on the location shown in portainer, I think it's actually generated within the LinuxVM used for Linux Containers in Windows and isn't actually present anywhere on the host system. This defeats the purpose a bit since I can't access those files directly. Given, I could be misunderstanding the intention of volumes totally. Necromancyr's Profile: http://forums.slimdevices.com/member.php?userid=37698 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020
thanks much, it was on my list for 1322 driver I'll fold this into the next release too Almost done with the refactoring exercise so a release should drop this evening - US EST As of 2020/09/11 *Total Tracks: 152,573 Total Albums: 14,063 Total Artists: 19,846 Total Genres: 712 Total Playing Time: 24417:05:11 * shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues
mr-b wrote: > RE: > > Album cover lookup (4245 of 4245) Complete 00:20:51 > > Artist picture lookup (2343 of 2343) Complete 01:02:36 > > >The Music & Artist Information plugin can search for missing and artist > >artwork. Depending on your configuration this takes more or less long. > >The above example must be a poorly configured system (no folder for > >artist artwork defined), or an initial scan, with an empty folder. > > Yes i'd installed the plugin as it looked interesting but not got around > to investigating fully other than reading the first post in the announce > thread. > > I'd seen the artwork folder field quoted above but I was rather > mystified at the thought of defining a single folder for artist artwork > since the artwork is in each album folder (or subfolder) so puzzled as > to how that is "poorly configured". Indeed the plugin info even says > "You may choose to store all your artwork in a single folder, using the > variable filenames option above. Enter the location of the Artwork files > here. Regardless of this location, Logitech Media Server will still look > for artwork in the same path as each audio file if no matching artwork > is found in the Artwork Folder." > > Either way I see multiple pics under 'Local artwork' so something seems > to be working! Are you confusing Artist Artwork with Album Artwork? 31524 31523 +---+ |Filename: AA2.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=31524| +---+ *Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP 6.1.0 - 74K library, playlists & LMS cache on SSD (ntfs) *Study -* Pi3B/pCP 6.1.0/pi screen/Allo Boss DAC Ruark MR1 Mk2 *Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5 *Garage* - Squeezebox Boom + Fostex sub *Dining Room* - Squeezebox Radio *Spares* - 2xTouch, 1xSB3, 1xRadio, 7xRPi kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Feature request picoreplayer: Play state to GPIO
Yes. >From the LMS CLI help: Code: mode ? The "mode" command allows to query the player state and returns one of "play", "stop" or "pause". If the player is off, "mode ?" returned value is undefined. Example: Request: "04:20:00:12:23:45 mode ?" Response: "04:20:00:12:23:45 mode stop" So the pcp_lms_mode function handles the "play", "stop" or "pause" responses. It should have extra code to check for undefined and return "off". Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=110277 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues
Tony T wrote: > I have my files on an attached USB drive, and I created a directory for > the files (/mnt/MUSIC/FLAC) and a dir for my script and backups > (/mnt/MUSIC/Other) > My script [snip] Thanks for this - will give it a whirl. mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 6.1.0 issues
RE: > Album cover lookup (4245 of 4245) Complete 00:20:51 > Artist picture lookup (2343 of 2343) Complete 01:02:36 >The Music & Artist Information plugin can search for missing and artist >artwork. Depending on your configuration this takes more or less long. >The above example must be a poorly configured system (no folder for >artist artwork defined), or an initial scan, with an empty folder. Yes i'd installed the plugin as it looked interesting but not got around to investigating fully other than reading the first post in the announce thread. I'd seen the artwork folder field quoted above but I was rather mystified at the thought of defining a single folder for artist artwork since the artwork is in each album folder (or subfolder) so puzzled as to how that is "poorly configured". Indeed the plugin info even says "You may choose to store all your artwork in a single folder, using the variable filenames option above. Enter the location of the Artwork files here. Regardless of this location, Logitech Media Server will still look for artwork in the same path as each audio file if no matching artwork is found in the Artwork Folder." Either way I see multiple pics under 'Local artwork' so something seems to be working! mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044 View this thread: http://forums.slimdevices.com/showthread.php?t=112456 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Good news, I love it when the issue is self-fixed :) Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020
kit1cat wrote: > Hi, did you have any luck getting the RaspDac mini screen working > correctly? Thanks shunte88 wrote: > no progress there, again nothing special about that OLED so it should > work with the supported parameters we dug up reverse engineering the > python code. > The trouble here might still be the default SPI bus speed on RPi4 (looks like the -K option is not implemented). Attached a simple patch which works for me on RPi4 (sorry, don't have other models to test with). +---+ |Filename: spi_clock.patch | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=31520| +---+ gregex's Profile: http://forums.slimdevices.com/member.php?userid=70355 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020
Good news :) Aki Aki7's Profile: http://forums.slimdevices.com/member.php?userid=67596 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
Here you go @ralphy, thank you for keeping investigating, I appreciate the effort! :) Log for 1.8.4-737: https://pastebin.ubuntu.com/p/CvmcMr3JMH/ The 1st track of total duration 3'45 ended before the end and skipped straight to the next one. The second track played fine, but its total length was shorter at 3'10 mcoste's Profile: http://forums.slimdevices.com/member.php?userid=12820 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020
I'm currently reworking the code that communicates with the LMS server The current implementation uses in effect a telnet client to request status and data Should the LMS server reboot the connection is invalidated - but it does so "quietly" - I could fix that or... The LMS web front end and many other UI tools, e.g. iPeng, use the jsonrpc web interface This is more "robust" in that a HTTP request is really simple to process, you get 200 Ok and all is well - anything else and you can define a simple remediation tack The jsonrpc interface is also easier to process, just pass the response through the json interpreter and decompose the payload, actually a lot simpler than the decode implementation for the telnet solution. We already have several interfaces using this same setup, the "where am i" and weather implementations for example. Added to robustness is the ability to detect if the player has gone offline - we can do some interesting thing knowing that. I've a prototype in the works and just need interface it with the current "tags" mechanism, and add a few bells and whistles to the offline modes I'll ping back with details when the solution goes to the repo On the NHD1322 OLED front I'm also making progress, not ready for prime time quite yet but its of the blocks so watch out for updates on that front too As of 2020/09/11 *Total Tracks: 152,573 Total Albums: 14,063 Total Artists: 19,846 Total Genres: 712 Total Playing Time: 24417:05:11 * shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185 View this thread: http://forums.slimdevices.com/showthread.php?t=111790 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
ralphy wrote: > From the command line add -r :750 > > You can do it in the squeezelite tab of the picoreplayer web admin. > > 31517 Ah.thanks. I was making it much more complicated than it is! Rg System information Main: SGC microJukebox> RPI4B/piCoreplayer/Squeezelite > USB>RME ADI-2 DAC > Benchmark AHB2 > Revel Performa F208 speakers, 2X REL R-305 subs. Home Theatre: Touch (Wired) > Pioneer VSX 919 > Energy Take 5 Classic 5.1, Touch FW 7.8.0-r16754. LMS 7.9.2 - 0.8.20181005git1538738519 on a 1TB microJukebox Vortexbox Appliance, SonicOrbiter V 2.7. rgro's Profile: http://forums.slimdevices.com/member.php?userid=34348 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
HI - I moved up to 6.1 11 days ago, with no difficulty whatsoever. I migrated the setting (iec958:CARD=S6th,DEV=0) from the 5.00 output setting and it has worked for 9 days. The DAC is a SMSL Sanskrit 6 Now squeezelite refuses to start with the old setting. I've tried all the settings and still can't get any sound. Basically I must be doing something wrong, although I don't understand why it worked immediately after the upgrade and has only now ceased functioning as I've changed nothing in/on the picoreplayer setup. Does anyone have the output settings for either a SMSL Sanskrit 6 or a Topping E30? At present I've dug out an old SB2. TimM's Profile: http://forums.slimdevices.com/member.php?userid=1204 View this thread: http://forums.slimdevices.com/showthread.php?t=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
mcoste wrote: > Thanks. > > 1.8.4-737: > > > > - stops before the end and skips to next track, tested on 2 tracks > (whereas until now it would hang and resume after circa 30s) > > > > > 1.9.2-1145: > > > > - Played in full a track of 2'34 length - Hangs at 2'54 then resumes on a 3'39 track - Hangs at 2'55 then resumes on a 4'01 track (the one I pointed to > in a previous post) - Hangs at 2'54 then resumes on a 3'10 track > > > Thank you for testing the older versions. Could you provide a debug log file *-d all=debug* for 1.8.4-747? There might be some clue there, but more likely the skip is caused by a bug that been fixed since that release. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Request for Comments: Alps
I think it is great extending the LMS ecosystem. One question I was asking myself with your approach was the benefit compared to existing solutions. If you are using RasPi's, I think there already is a great solution that covers quite a lot, maybe everything that is possible with LMS, squeezelite and RasPi's. So your solution would cover also x86 hardware. Is that the reason why you are working on it? Or is there something else? schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557 View this thread: http://forums.slimdevices.com/showthread.php?t=112899 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)
rgro wrote: > Hi, > > I'm a brand new Raspberry Pi 4B and piCoreplayer/Squeezelite user. This > is an awesome product, btw and a big thanks to all of the > developer/contributors (donation made!). > > I know nothing about Linux, but would like some instruction on how to > implement the "optional delay switching rates" function which I found as > an option in the Max Sample Rate box. > > I have multiple playlists that combine various sample rates (44.1, 88.2 > 192). Occasionally when going from one sample rate track to another > (usually up rather than down), the first 1/2 second or so of the next > track is truncated. > > If I understand correctly, the optional delay switching rates function > will insert a delay, in milliseconds, between tracks when the sample > rate changes. This would, hopefully, alleviate the issue. > > Could someone please tell me exactly what Linux command to type in the > Max Sample Rate box in order to implement, say, a 750 ms rate switching > delay? > > Thanks! >From the command line add -r :750 You can do it in the squeezelite tab of the picoreplayer web admin. 31517 +---+ |Filename: sdelay.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=31517| +---+ Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Feature request picoreplayer: Play state to GPIO
Greg Erskine wrote: > hi sakos, > > 99% of piCorePlayer is just shell scripts, so the code is on your SD > card. > > I'd probably start looking at pcp-lms-functions. > > There is the extra complication that pCP uses readonly extensions linked > to in RAM. > > regards > Greg Ok, found the pcp_lms_mode() function, but could not see any mapping. pcp_lms_mode() { REQUEST=$(pcp_lms_build_request "$NAME" mode ?) RESULT=$(pcp_lms_build_result result _mode) pcp_lms_json_request pcp_lms_build_result() { #Should be at least 2 arguments, result is almost always the first. RLOOP="[" pcp_lms_build_loop $@ REQ="$RLOOP]" # escape the brackets [ ] for egrep and sed echo $REQ | sed 's/\[/\\\[/' | sed 's/\]/\\\]/' } pcp_lms_build_loop() { if [ "$1" != "" ]; then [ "$RLOOP" == '[' ] && RLOOP="$RLOOP"$1"" ||RLOOP="$RLOOP,"$1"" shift NEXT=$@ [ "$NEXT" != "" ] && pcp_lms_build_loop $NEXT fi } Do I understand well? sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470 View this thread: http://forums.slimdevices.com/showthread.php?t=110277 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
tparvais wrote: > Hello only few images . > > You propose to add these files in filetool ? But which full path should > I use to point to proper lms server html folder ? I use the path: Code: /usr/local/slimserver/Slim/Plugin/Favorites/HTML/EN/html/images/yourFavorite.png and in the favorites.opml, the path there has to be Code: icon="html/images/yourFavorite.png" I even have a Samba share for the favorite folder. I am not aware of having a separate .filetool.lst entry for that, and it seems to be persistent after reboot (anyway, adding it to the list won't hurt). Though, I experienced that when I added files when LMS was running, all added image files got lost. So I recommend to backup them somewhere. schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557 View this thread: http://forums.slimdevices.com/showthread.php?t=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
Necromancyr wrote: > > EDIT2: I setup a Alpine Linux, installed docker, and tried mapping to > the same underlying directories (mounted in Alpine of course)...and it > works. So, basically this is some kind of permissioning issue with > Docker on Windows w/a Linux container. If anyone has it working in that > setup, let me know. While things are working fine w/the Linux > container...I feel like it defeats the purpose. So I don't use Windows, but I do see many people struggling with permissions. Why not use a volume? It's generally not recommended to persist data using a bind mount (but I know it is super common). Anyway, try something like this. You can add port mappings if you prefer. :) Code: version: "2" services: lms: image: doliana/logitech-media-server network_mode: host volumes: - M:\ServerFolders\music:/srv/music - K:\Docker\timezone:/etc/timezone:ro - lms_config:/srv/squeezebox volumes: lms_config: dasos's Profile: http://forums.slimdevices.com/member.php?userid=66897 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
zordaz wrote: > So far host based networking wasn't neccessary for my use cases with LMS > & Docker. Do you have examples where it is really needed? Imho host > based networking is never the first choice in te container world. I was responding to the request for "dynamic port publishing depending on installed plugins" by DOliana. I have no idea which plugins would need you to forward more ports into the container, but ¯\_(ã)_/¯. I don't need it. I'm happy with a few mappings. As a separate note, I mentioned earlier that LMS doesn't play nice with an overlay Swarm network, I think because it is NAT'd. But I get that most people deep in the container world don't play with that any more, and enjoy K8s instead. :) dasos's Profile: http://forums.slimdevices.com/member.php?userid=66897 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0
Thanks Greg. I followed those instructions and while HiFiBerry Dac+ HD was in the list, it wasn't loading successfully (looked to be old drivers). I ended up flashing a clean install and all is working now.. itsikhefez's Profile: http://forums.slimdevices.com/member.php?userid=69115 View this thread: http://forums.slimdevices.com/showthread.php?t=111787 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Feauter request: squeezelite led strip visualization
Sorry for double posting... I can't imagine that I am the only one who wants to implement an LED visualization. After one month I still have no idea how to connect the LED control directly to Squeezlite. Vaywen's Profile: http://forums.slimdevices.com/member.php?userid=70523 View this thread: http://forums.slimdevices.com/showthread.php?t=112738 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix