Re: [SlimDevices: SqueezeCenter] DeltaWave show LMS and Squeezelite transcoding are not bit perfect with FLAC

2022-12-02 Thread chicks

zzzap wrote: 
> What OS are your Squeezelite running on?
> 

A pretty basic RPi setup: Pi Zero W, PiOS, JustBoom Digi Zero hat, coax
out to RME DAC -> RME USB -> Linux box -> Sox capture.  

Here's a capture of a 1kHz 24-bit signal through the above, from my
piCorePlayer Pi-4 LMS server.  A couple of dB more noise than
theoretical limit due, no doubt, to my el-cheapo setup, but really,
you're not going to hear any difference between -140dB and -136dB.

39288


+---+
|Filename: R rmecoax_441_1khz.wav.png   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39288|
+---+


piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=117152

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] DeltaWave show LMS and Squeezelite transcoding are not bit perfect with FLAC

2022-12-02 Thread chicks

I converted a couple of RME's bit-perfect test files from WAV to FLAC
using Sox.  They still show bit-perfect on the RME ADI-2 DAC FS screen
when played through Squeezelite from my LMS server.

https://www.manualslib.com/manual/1374592/Rme-Audio-Adi-2-Dac.html?page=63



piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=117152

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player

2022-02-20 Thread chicks

Roland0 wrote: 
> > 
Code:

  >   > curl -H "Content-Type: application/json" -X POST -d 
'{"id":1,"method":"slim.request","params":["08:00:27:6c:e1:a2", ["status", "-", 
"1", "tags:al"]]}' "http://192.168.1.29:9000/jsonrpc.js;

> > 
> will return artist/album/title (among others) as JSON, which you can
> convert to plain text if your app cannot parse it
> 

Nice, I wasn't aware of the "status" request.  Put together a 'simple C
program' (https://github.com/retired-guy/lmsstat) to dump this for the
local device (RPi in my case).  It will automatically find the LMS
server, and the local device's MAC address.

Result looks like this:


Code:


  {
"power":1,
"playlist_timestamp":   1645401341.54365,
"duration": 378,
"mixer volume": 100,
"playlist mode":"off",
"player_name":  "PiTouchMini",
"player_connected": 1,
"playlist_loop":[{
"url":  "radioparadise://4-3.flac",
"coverart": "0",
"artist":   "Enigma",
"duration": "378",
"artwork_url":  
"https://img.radioparadise.com/covers/l/B3XB8K.jpg;,
"album":"The Screen Behind The Mirror",
"year": "0",
"remote":   1,
"title":"Push the Limits",
"buttons":  {
"rew":  0
},
"playlist index":   0,
"id":   "-1163321224",
"bitrate":  "820k VBR FLAC"
}],
"repeating_stream": "1688",
"playlist_tracks":  1,
"seq_no":   0,
"rate": 1,
"playlist_cur_index":   "0",
"player_ip":"192.168.68.111:41064",
"remoteMeta":   {
"id":   "-1163321224",
"title":"Push the Limits",
"artist":   "Enigma",
"duration": "378",
"coverart": "0",
"artwork_url":  
"https://img.radioparadise.com/covers/l/B3XB8K.jpg;,
"album":"The Screen Behind The Mirror",
"bitrate":  "820k VBR FLAC",
"url":  "radioparadise://4-3.flac",
"remote":   1,
"year": "0",
"buttons":  {
"rew":  0
}
},
"time": 0,
"digital_volume_control":   1,
"current_title":"World/Etc Mix - FLAC Interactive",
"remote":   1,
"mode": "stop",
"signalstrength":   0,
"playlist repeat":  0,
"playlist shuffle": 0
  }
  




piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=115989

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Oneliner to get currentsong or now playing artist + songtitle on specific player

2022-02-19 Thread chicks

Not sure it can be done with a one liner, because you first need a path
to or id of the current song, then a second query gets the songinfo.

I haven't coded with PowerShell in a while, but there's the
Invoke-Webrequest method that will allow you to post both queries, then
PS can easily parse the json return objects.

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.2

The queries are documented here:
http://:9000/html/docs/cli-api.html

Here's how I do it from an RPi in the C language:

(mac is the macId of the player, tags is an optional list of tags
to be returned)


sprintf(query,"{"id":1,"method":"slim.request","params":["%s",["path","?"]]}",mac);
post(host,port,query,decoded,2048);

... (grab the _path result from the returned json into a var named
p) ...


sprintf(query,"{"method":"slim.request","params":["%s",["songinfo",0,99,"url:%s","tags:%s"]]}",mac,p,tags);

post(host,port,query,decoded,2048);

... (grab the name/value pairs from the returned json for album,
artist, etc.)

Here's a typical result:

id=-1173897872
title=It's You or No One
artist=Lurlean Hunter
duration=191
samplesize=16
coverart=0
artwork_url=http://resources.tidal.com/images/66aeadee/09e1/43c4/ab0d/a007c1f240c2/1280x1280.jpg
album=Lonesome Gal
info_link=plugins/wimp/trackinfo.html
type=FLAC
bitrate=424kbps
samplerate=44100
url=wimp://11062173.flac
year=0



piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=115989

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Touchscreen display for piCorePlayer

2021-12-28 Thread chicks

dorkshoei wrote: 
> I assume you're referring to this: 
> https://www.amazon.com/OSOYOO-Capacitive-Connector-Resolution-Raspberry/dp/B07KKB5YS9/
> 
> Looks interesting.   I'd like to buy from Amazon at this point as if I
> have an issue it's going to be way easier to resolve.

No, this one:  https://www.amazon.com/gp/product/B07Z68QXRH/

Comes with bezel and stand, which works, but is tippy, so needs better
support.



piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=115645

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Touchscreen display for piCorePlayer

2021-12-28 Thread chicks

The Hyperpixel 4 is an excellent touchscreen, capacitive touch is
definitely the way to go, vs resistive.  I found it a bit too small for
JiveLite, but it works well with a custom app with larger touch areas.

The 5" OSOYOO touchscreen works nicely for pCP/JiveLite.  It does need a
more stable stand, as it tips easily.

See this thread for a couple of options with the smaller screens: 
https://forums.slimdevices.com/showthread.php?114625-piTouch



piTouch™ w/JustBoom DigiHat -> RME ADI-2 DAC FS -> JBL 305P MkII
monitors; LMS 8.2 on piCorePlayer/Pi 4;  Material Skin.

chicks's Profile: http://forums.slimdevices.com/member.php?userid=71798
View this thread: http://forums.slimdevices.com/showthread.php?t=115645

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter