Re: [SlimDevices: SqueezeCenter] Is it time to get rid of the Video & Photos scanner?
A poll associated with this post was created, to vote and see the results, please visit http://forums.slimdevices.com/showthread.php?t=116014 Question: Can we remove Video/Photo scanner support? - Yes, I never use this feature. - NO! I use LMS to stream videos and photos to my TV and/or other streaming clients. - What's the media scanner? Should I try it? - I don't care. Also never used it and never will... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=116014 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.2.0 released
d6jg wrote: > But that wasnt scanned or indexed was it? Was it all local or > mixed with online tracks? It most certainly is scanned/indexed but is all local. It took about 15 seconds before playback started so building it took a wee bit. Just for clarity, a random playlist is built when requested - it's not in a .m3u file anywhere. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.2.0 released
mherger wrote: > >Would LMS even be able to load a 20k tracks playlist? I just asked Alexa to 'play some Trance'. It loaded a 26808 tracks playlist no problem. I have my upper limit set at 100K :cool: Don't underestimate LMS ! I do run on an Intel NUC with 8GB RAM. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playlist Creation & non-ASCII characters
As promised, here's my old script which still works perfectly to prepare a playlist for LMS. It reads a full directory of m3u files and modifies/copies all of them into a directory MODDED so the originals are untouched. I keep all my files for tagging purposes on a Win 10 machine. My LMS is on a Ubuntu machine with an external HD so the file paths are modded by this script from Win to Linux as a bonus - you may not need this kind of thing. The main thing is the call to *uri_escape_utf8($line, "\x00-\x1f\x7f-\xff");* which escapes all control chars and hi-bit chars. I'm not sure if my BOM character << print OUT ""; #BOM >> will survive being posted on the forum but there is a BOM marker in there that displays correctly in VS Code. Code: #!/bin/perl # Modifies a playlist to URI-escape control and hi-bit characters for LMS # (c) philchillbill 2012 use URI::Escape; use locale; my $c = 0; my @files = glob "*.m3u"; my $p = scalar(@files); mkdir('MODDED'); # my $original = "D:\\My Music\\"; my $target = "file:///seagate/music/"; foreach my $file (@files) { open(IN, $file); @lines = ; chomp(@lines); close(IN); my @processed = (); foreach my $line (@lines) { $line =~ s/^\Q$original\E//; $line=~s|\\|/|g; if ($line =~ /^#/) { $line =~ s/(#EXTINF:\d+,)/\1 /; } else { $c++; my $modified = uri_escape_utf8($line, "\x00-\x1f\x7f-\xff"); $line = $target.$modified; } push(@processed, $line); } my $mfile = '.\\MODDED\\'.$file; open(OUT, '>', $mfile); binmode(OUT, ":utf8"); print OUT ""; #BOM print OUT "#CURTRACK 0\n"; foreach my $line (@processed) { print OUT "$line\n" }; close(OUT); } print "\nFinished. Processed $c songs in $p playlists\n"; sleep 2; philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114635 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playlist Creation & non-ASCII characters
eCo wrote: > I could see when comparing files that that's what needs to be done, but > I have little coding experience and none of it's in Perl. I'll post my script tomorrow. It's very simple but you would need to have that URI::Encode module installed - maybe it's part of the standard LMS install. Are there any other languages you are familiar with or at least already have installed? A Python3 version should also be pretty easy: >>> from urllib.parse import quote >>> quote('/test') '/test' >>> quote('/test', safe='') '%2Ftest' >>> quote('/El Niño/') '/El%20Ni%C3%B1o/' philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114635 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playlist Creation & non-ASCII characters
eCo wrote: > Foobar2000 saves the playlist as DOS/Windows & UTF-8. I've used > Notepad++ to convert this file to 'UNIX' with BOM, as this is what LSM > creates, but it didn't solve the issue. Perhaps it's not formatted > correctly? I can up a small example file tomorrow if that would be > helpful. I just used the *uri_escape_utf8( $string )* function from the Perl URI::Escape module in my little script. Normally URI escaping is associated with the likes of converting spaces to %20 and such, but you can also escape the likes of umlauts using this function. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114635 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Playlist Creation & non-ASCII characters
Whats the text encoding on the m3u? Does the file have a BOM at the start? I had issues with non-ASCII years ago and solved it by URL encoding the paths. I wrote a small Perl script to read the m3u exported from mp3tag and rewrite it with mods. That approach can handle a really large file to boot. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114635 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How random is random?
@michael, would it be possible to somehow apply this lovely new randomization to the CLI for ["playlist", "loadtracks"] ? In LMS, the concept of shuffle/random is (currently) a *player*-level setting. If this CLI-construct is called for a player that currently has shuffle disabled, the track order will always be the same - even when loading 10K tracks that meet the loadtracks specifier. So asking MediaServer to 'play some oldies' will always produce exactly the same playlist (unless the player happens to have shuffle enabled). Boring :D Any reason to not make the default behaviour of loadtracks randomized, or else add an extra parameter for the call so that random or not can be specified when loadtracks is called? I'd argue that using loadtracks is not the same as playing an album so there should not be an automatic expectation of preserved order anyway. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114355 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Speaker for garden. Bluetooth?
Paul Webster wrote: > My Zipp 2 (full size) still hasn't shipped ... purchase not yet revealed > ... 46GBP inc shipping from Brighton (assuming it turns up). Doesnt this thing also have Alexa built in? I wonder if it supports Amazons AudioPlayer interface - in that case the Stream commands in MediaServer would work with it. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114356 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to setup Username and Password for LMS?
Sorry, I'm experienced with Apache but never used nginx. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114336 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to setup Username and Password for LMS?
bvrulez wrote: > Thanks for the hint. I need to open it up to the internet because I need > a connection for test purposes. I forward it via another port (not the > original one). Not sure how somebody would be able to sniff it. But > thanks again I did not think about this. If you need to access LMS remotely, use something like ngrok which will give you a https url for LMS with encrypted credentials. This is better than always requiring credentials within your LAN and only applies to external connections. You also dont need to open any ports. My Alexa skills use this and its very reliable and secure. See the help at https://smartskills.tech/lmslitesetup for a simple explanation. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114336 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to setup Username and Password for LMS?
bvrulez wrote: > found it! > > http://squeezeplayer.de/2011/05/3g-part-3-secure-your-server/ Because its a http connection with no SSL, the username and password are transmitted in plain text. This will not really protect you. What are you trying to achieve? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114336 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scheduling Automated Events / Settings Changes
A few years ago, I added a Perl script to the Domoticz home-automation wiki which shows how to synchronize a bunch of players using a POST initiated by a Perl script. You could also kick it off from a cron if you don't have Domoticz because all Domoticz was used for here was to launch it from a button click in a UI. Take a look at https://www.domoticz.com/wiki/Logitech_Media_Server#Sync.2FUnsync_a_Group_of_Players_from_Domoticz philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114202 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scheduling Automated Events / Settings Changes
I dont know if you can code but using the LMS jsonrpc.js API from a small script run on a cron schedule you can automate anything. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114202 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can I configure LMS web interface to use https?
gordonb3 wrote: > Oh.. one note: > > Do not attempt any reverse proxying, i.e. do not move LMS into a > subfolder of the proxying web server. It does not work and all that > you'll see is a green screen. > > e.g. in-house I use the following setup for apache: > > Code: > > > > ServerAdmin webmaster@localhost > ServerName squeezebox.localdomain > ServerAlias squeezebox > > ErrorLog /var/log/apache2/logitechmediaserver-error.log > CustomLog /var/log/apache2/logitechmediaserver-access.log combined > ServerSignature On > > DocumentRoot /home/web/common > ErrorDocument 404 /errors/redir9000.php > > # allow local network only > > AllowOverride None > > Require not ip 192.168.10.1 > Require ip 192.168.10.0/24 > > > > RewriteEngine on > RewriteCond %{REMOTE_ADDR} !^192\.168\.10\.1$ > RewriteCond %{REMOTE_ADDR} ^192\.168\.10\. > RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f > RewriteRule ^/(.*)$ http://%{HTTP_HOST}:9000/$1 [NE,P,L] > > > > > > This is targeted to getting rid of the `:9000` in the uri and so does > not include any ssl (https) rules > > For Nginx you'd have to include something like this > > Code: > > location @proxy { > proxy_set_header X-Forwarded-For $remote_addr; > proxy_set_header Connection "Keep-Alive"; > proxy_set_header Proxy-Connection "Keep-Alive"; > proxy_http_version 1.1; > proxy_set_header Host $host; > proxy_pass_header Server; > proxy_pass http://192.168.10.1:9000; > } > > > Its only the web UI that has issues when you do this - the jsonrpc interface still works just fine despite that green screen of death. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114090 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Throwing in towel on LMS on Mac OS. Does it run OK on Windows 10 or is Linux better?
Grumpy Bob wrote: > Well, it has worked so far! Though that has only been a week or so. > Before that I powered a 3B+ the same way. > The last time I drove through a red light with my eyes closed at 100MPH nobody hit me from the side... :cool: Doesn't really prove anything though. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113492 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Throwing in towel on LMS on Mac OS. Does it run OK on Windows 10 or is Linux better?
Sure - thats a real PSU and delivers enough juice. @pommes is the one living on the edge by using a USB port to power a pi. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113492 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Throwing in towel on LMS on Mac OS. Does it run OK on Windows 10 or is Linux better?
The official pi4 PSU is 15W. A USB port on a NAS is very likely 5V @ 900mA (if USB3) so 4.5W. Sounds like this is really pushing things... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113492 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Throwing in towel on LMS on Mac OS. Does it run OK on Windows 10 or is Linux better?
Grumpy Bob wrote: > On the other hand, an Intel NUC7CJYH from Amazon.co.uk is £169.98. > I set up a new LMS server with a Pi4 from Amazon at £57.50, with a case > at about £20. It's powered via USB from the NAS, and I used a 32Gb SD > card I had lying around the place! > > Robert Already paying post-Brexit prices? [emoji23] philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113492 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Throwing in towel on LMS on Mac OS. Does it run OK on Windows 10 or is Linux better?
The OP's original question was actually about an OS rather than h/w so I'll chip in that LMS runs wonderfully under Ubuntu if he wants to remove the Win10 install from the machine he bought. To those promoting the wondrousness of the pi, some thoughts: I just bought a new Intel NUC7CJYH on Amazon.nl on sale for EUR 98 plus EUR 17 for 4GB of RAM. I had a spare 120GB SSD lying around but they only cost about EUR 20 at present. Total EUR 135. This system has a dual-core Celeron with a TDP of 10W. It already comes with a case and 65W PSU, has a built in microphone array, built-in IR receiver, WiFi, BT, ethernet, 4x USB, and it sports a fullsize HDMI socket. I put Ubuntu 20.04 LTS on it. A pi4 with 4GB will cost you EUR 60, you'll need a case (everybody seems to like the FLIRC case which is EUR 27), a power supply at EUR 10, and a decent 128GB Sandisk Extreme Pro SD card for fair comparison's sake costs EUR 35 on Amazon. Total EUR 132. In other words, when you try to make a 'complete' computer out of a pi you end up at the price point of a NUC, which is a 'real' computer out of the box. All prices are approximate but the math will always pan out in pretty much the same ballpark - we are not counting pennies after all. Don't get me wrong here - I think the pi is a wonderful invention. I just don't understand that people mostly look at the price of the bare board and forget what all the extras cost. When you do that, the entry-level NUCs are a better buy IMHO. And they can be repurposed to run Win10 if desired, which a pi cannot do. Just sayin... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113492 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
Actually, doesnt LMS also sound different if you start one and the same song via the Material skin vs the default skin or iPeng? Not to mind if you ask Alexa to play that song on your Transporter using the MediaServer skill... [emoji23] philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Restart of LMS8 on Ubuntu (18.04LTS) - what is the best way?
Bamsefar wrote: > I have to admit that I am not very familiar with systemd timer - any > suggested good web page where I could read up? I Googled systemd timer example and got this - Google is your friend: https://www.linux.com/topic/desktop/setting-timer-systemd-linux/ philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113237 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
If what you want to do is simply capture the path of the *currently-playing song* rather than one randomly clicked on in the LMS GUI, a tiny perl script like this Code: #!/usr/bin/perl use JSON::RPC::Client; use JSON::XS; no warnings 'uninitialized'; $client = new JSON::RPC::Client; $res = $client->call( "http://192.168.1.10:9000/jsonrpc.js;, { method => 'slim.request', params => [ '00:04:20:11:22:33', ['status', '-', '1', 'tags:u' ]]}); if ($res->is_success) { $response=$res->jsontext; $jdata=decode_json $response; $json = JSON::XS->new->pretty(1)->canonical(1)->encode($jdata); print "$json\n"; } will produce output like this Code: { "method" : "slim.request", "params" : [ "00:04:20:11:22:33", [ "status", "-", "1", "tags:u" ] ], "result" : { "can_seek" : 1, "digital_volume_control" : 1, "duration" : 348.455, "mixer bass" : "0", "mixer treble" : "0", "mixer volume" : 19, "mode" : "play", "player_connected" : 1, "player_ip" : "192.168.1.13:37256", "player_name" : "Office", "playlist mode" : "off", "playlist repeat" : 2, "playlist shuffle" : 0, "playlist_cur_index" : "10", "playlist_loop" : [ { "id" : 719006, "playlist index" : 10, "title" : "Alone Tonight (Above & Beyond's Club Mix Mixed)", "url" : "file:///volume1/music/served/Trance/Super8%20&%20Tab/Super8%20&%20Tab%20-%2020%20Years%20of%20Anjunabeats/1-11%20[A%20&%20B]%20Alone%20Tonight%20(Above%20&%20Beyond%27s%20Club%20Mix%20Mixed).flac" } ], "playlist_timestamp" : 1605272315.77755, "playlist_tracks" : 39, "power" : 1, "rate" : 1, "seq_no" : 0, "signalstrength" : 0, "time" : 26.7784540042877 } } which contains the path information in the *url *field. No need to go near the LMS GUI for this info, just grab it using the jsonrpc.js API. This example is perl but I've done it in python, bash and nodejs too. Just sayin'... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
Maybe step back a bit and consider that whats displayed in the skin is the result of a jsonrpc call to LMS under the hood. Theres a debug mode in the Material skin so you can even see this underlying code. This will be the source of truth and Its easier to deal with the source of data than with a version of it rendered in a browser. The skin could append a tiny icon to each displayed track to copy the trackurl to the clipboard. That is then done in JavaScript so is allowable. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Transferring Playlists Between Players
FYI, the playlist is being resumed on the target player using {"id":"1","method":"slim.request","params":["00:04:20:12:34:56",["playlist", "resume", "%tempfollowme", "noplay:0"]]} philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112999 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Normalising artist tag characters to avoid duplicates
mr-b wrote: > Hi > > Is it possible for the media scanner to ignore common variants of Artist > names to avoid duplicates in the Artist list? > (I'm sure this will have been asked before but I couldn't find the > answer.) > > For example normalising "The", &, 'and', punctuations and case variants > would prevent these from all being listed as different artists: > > The Smiths > Smiths, The > 2 many dj's > 2 Many DJ's > 2 many dj"s > Babes in toyland > Babes In Toyland > Belle & Sebastian > Belle and Sebastian > Belle And Sebastian > > > Yes I know I could spend (even more) time with mp3tag but it'd be really > handy to have an LMS scanner option to do this automagically. I have dozens of scripts that run with regexes in mp3tag to do this kind of thing automatically. The problem is really one of taste - maybe you or I want The Smiths but there will be plenty who prefer Smiths, The... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112988 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to prevent adding duplicate entries to playlists?
The MediaServer Alexa skill will tell you if a song you are adding to a named playlist already contains that exact version of the song. If its a different version it allows it. And you specify the name of the playlist to target by voice so you can use as many as you like. If the playlist does not exist yet it is created. Alexa, add this track to my Workout playlist. No need. The song is already in your Workout playlist. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112225 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Praise
And that you can use those Echos as Squeezebox players using the MediaServer Alexa skill? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112782 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8 and stream.mp3
Ive used stream.mp3 extensively with the MediaServer skill with LMS 8 without issue, so it must be a recent problem. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112754 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Track artwork out of sync
bpa wrote: > If you characteristise the problem - it will be easier to find. > How much is it out of sync ? Is art ahead of track or track ahead of art > ? > It's been a long time since I looked at that part of the code but IIRC - > LMS has to estimate how much audio "time" is left in a buffer to delay > before showing the artwork asspociated with data being sent to the > player. This estimation was based on data rate - not sure if that > delay was only for remote streams or it included playlists. Interesting. I wonder if that could be tweaked for the situation where LMS is streaming to an Amazon Echo as audio sink. I cannot display the artwork of the currently-playing track because the large buffer in the Echo causes a big sync issue and I chose to display no metadata rather than badly-wrong metadata. Any idea if LMS could be tamed in its hunger to fill awaiting buffers? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112623 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Accessing LMS from Internet?
Sorry Im late to the party, but wouldnt ngrok do the trick here? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112464 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is it possible to control LMS with a radio remote
This sounds like a nice project for an ESP 32 to send JSON api commands to LMS over WiFi [emoji41] philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112411 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Accessing LMS over Https?
I am the author of the MediaServer and LMS-lite Alexa skills which also need to be able to access LMS via https (with added authentication). The help page at https://smartskills.tech/squeezesetup/index.html describes the use of ngrok as a proxying means (used by almost all my skill users). With ngrok there's no need for messing with certs or opening router ports so it may be an easy fit. If you'd prefer to use nginx or apache there's also a section on configuring that. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=112428 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Random Songs is only getting tracks from a tiny subset of library
jstraw wrote: > Great. Thanks. I have NO experience with the CLI fir LMS. Is there some > place I can learn about it? > > I see that I can telnet in and issue commands. It's not going to be an > attractive option unless there's a way to automate it or schedule it. > Otherwise, going to Random Mix>Select all>Select none>save is just fine. You can also do it using curl from the command line, which will run from a bash script for automation: Code: curl -i -X POST -H "Content-Type: application/json" -d '{"id":1,"method":"slim.request","params":[ "0", ["randomplaygenreselectall", "1"] ]}' localhost:9000/jsonrpc.js philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111435 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Music Service Integration
A poll associated with this post was created, to vote and see the results, please visit http://forums.slimdevices.com/showthread.php?t=111405 Question: What music service should be tightly integrated with My Music first? - Deezer - Napster - Qobuz - Tidal - Other - I don't care about online services mherger wrote: > >> I don't use SlimBrowse because I cannot get extra meta-data, or > control > >> album sort orders, etc - there is not (AFAIK) much that can be > altered > >> with SlimBrowse commands. So, yeah it'd be nice for these extra > actions > >> to also be (optionally, I guess) added to the JSONRPC 'albums' > command > >> response. e.g. add 'extra_commands_loop:[ {text:'More on Spotify', > >> command:['spotty', ]}, {...}]' > > > > I fully agree that whatever is created needs to be able to work with > > jsonrpc - Alexa skills rely on that. > > I think it's the wrong way. To have a link to a music service as part of > > an album list sounds wrong. I'll have to think about an alternative way > > to get those links. But they will not be part of the albums query > response. You can get the "external ID" for a track/album/artist using > the corresponding query, though. > > -- > > Michael I don't mind if the query is not under the 'normal' Albums query and is in its own category, just as long as it can be queried somehow other than iteratively parsing menus ;) Maybe add a 'musicservice' query or some such? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111405 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Music Service Integration
A poll associated with this post was created, to vote and see the results, please visit http://forums.slimdevices.com/showthread.php?t=111405 Question: What music service should be tightly integrated with My Music first? - Deezer - Napster - Qobuz - Tidal - Other - I don't care about online services cpd73 wrote: > I don't use SlimBrowse because I cannot get extra meta-data, or control > album sort orders, etc - there is not (AFAIK) much that can be altered > with SlimBrowse commands. So, yeah it'd be nice for these extra actions > to also be (optionally, I guess) added to the JSONRPC 'albums' command > response. e.g. add 'extra_commands_loop:[ {text:'More on Spotify', > command:['spotty', ]}, {...}]' I fully agree that whatever is created needs to be able to work with jsonrpc - Alexa skills rely on that. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111405 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Finding all tracks with nothing in their "Album" mp3 tag
I have over 70K tracks (about 50:50 mp3:FLAC) and mp3tag loads the whole lib no problem. I deliberately bought a 2TB Samsung QVO-series SSD for my music files, since it used to take over an hour to load up mp3tag with a spinning HD. With the SSD, it all loads in 5-6 minutes. If you tag often and heavily, at today's prices an SSD is not as overkill as it once was :cool: philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111324 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Remote streaming password security
d6jg wrote: > Just had a look at Squeezelite man pages - it might accept a hostname > but what it won't do is send the necessary auth credentials to ngrok. Have you tried embedding the basic-auth in the URL? In other words, "https://joebloggs:loves...@1234567def.ngrok.io;. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111300 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Remote streaming password security
@d6jg Wow, hadnt noticed ngrok didnt support UDP. Sorry for the false hopes. Sent from my iPhone using Tapatalk philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111300 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Remote streaming password security
Maybe ngrok would provide a solution for you. SSH based, its recommended for use with the MediaServer Alexa Skill to control LMS from the cloud. The concept is explained in the Server Configuration tab at https://mediaserver.smartskills.tech/mediaserverhelp.html. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111300 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Stream.flc ?
I tried it with a FLAC file directly from a tiny test skill and a 'MEDIA_ERROR_UNKNOWN' was returned, with silence from the Echo. I'll see what Amazon has to say about it. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111289 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Stream.flc ?
The buffer can be emptied by a skill. Its how I removed the latency with MediaServer. Every change to the playlist by voice just clears the buffer before sending the new stream. You indeed cannot do that from LMS but a skill can. So dont let that worry you. https://developer.amazon.com/docs/custom-skills/audioplayer-interface-reference.html#audio-stream-requirements This is the quoted spec for what the AudioPlayer interface supports. Max 384K and no FLAC. However, Amazon are famous for not updating docs. So maybe that interface had been upgraded, or maybe theyre using a different interface for HD. Should be trivial to test for. Ill start a case asking about HD. If somebody can tell me how to get a FLAC stream out of LMS then I can test how well the Echos can handle it. Sent from my iPhone using Tapatalk philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111289 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter