Re: [SlimDevices: SqueezeCenter] Prevent sorting by artist last name

2022-12-08 Thread cpd73


I'd check your tags, as this sounds like you have an ARTIST_SORT, or
ALBUMARTIST_SORT, tag with a value of (e.g.) "Metheny, Pat". LMS itself
would not know to sort on "Methany" otherwise. The, AFAIK, only
automatic sorting of this nature (by LMS) is to remove "The" prefixes
(so "The Beatles" is sorted under "B")



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=117190

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


Re: [SlimDevices: SqueezeCenter] icon on cover art Material Skin

2022-03-21 Thread cpd73


Teilzeitkraft wrote: 
> Hi,
> can someone please give me a hint where I can turn off the double cd
> icon on the cover art?!
> Thank You

That icon is there for multi-disc albums when LMS is set to group them
as one. As slartibartfast said, this cannot be turned off.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116149

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


Re: [SlimDevices: SqueezeCenter] Qobuz Cover Art Material Skin

2022-03-15 Thread cpd73


Teilzeitkraft wrote: 
> In some sections, the display works. Here e.g. in "Qobuz Auswahl" or "In
> der Presse"...hmm

In the list that fails, are there any items that do not have an image or
icon? e.g. scroll to the bottom, are there entries there that are just
text?



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116115

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


Re: [SlimDevices: SqueezeCenter] Qobuz Cover Art Material Skin

2022-03-15 Thread cpd73


slartibartfast wrote: 
> That menu in the second pic seems to be from the queue screen not the
> browse screen.

The pics are of the desktop layout - you can see the toggle queue button
top right. In this view only the queue subtoolbar buttons are ever moved
to the menu. So the toggle list/grid would be an icon in the browse
pane. As this is not there, Material has (rightly or wrongly) determined
this list cannot be shown as a grid. My previous replies suggested why
this could happen.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116115

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


Re: [SlimDevices: SqueezeCenter] Qobuz Cover Art Material Skin

2022-03-15 Thread cpd73


Teilzeitkraft wrote: 
> Thanks for the contribution. Unfortunately, I didn't quite understand
> what to do.

My response was to Michael explaining why grid is sometimes disabled. I
do not use Qobuz, so can't really help. If any of the items in the lsit
from your screenshot do not have an image/icon then that wouild be the
reason for no grid.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116115

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


Re: [SlimDevices: SqueezeCenter] Qobuz Cover Art Material Skin

2022-03-14 Thread cpd73


mherger wrote: 
> I'm wondering how Craig decides when to use one or the other layout.

First of all the ''windowStyle" needs to be "icon_list" or "home_menu".
If any item's type is "text" then grid is disabled. If there are items
without image or icon then grid is also disabled.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116115

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


Re: [SlimDevices: SqueezeCenter] Material Skin :: Composer field in Track View

2022-03-01 Thread cpd73


jonhd wrote: 
> I've got the Default Skin to show the ID3v2 TCOM field in the Queue
> view. Was wondering if it might be possible to display it in Material
> Skin (perhaps in the Track view)

Material can be configured to show the composer for certain genres - see
the 'Material Skin' settings in LMS's server settings.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116059

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


Re: [SlimDevices: SqueezeCenter] Material Skin icons are shown as text in Safari

2022-02-13 Thread cpd73


SMarti wrote: 
> 
> I'm quite new with LMS and just installed the material skin plugin.
> Now I have an problem with the icons on the start page in safari!
> They are all shown as text!?
> 

A lot of Material's icons come from the MaterialIcon TTF font file. If
you have setup uout browser to prevent sites from using their own fonts,
then you will block this font from being used.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115949

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


Re: [SlimDevices: SqueezeCenter] Starting multiple players simultaneously

2022-02-08 Thread cpd73


slartibartfast wrote: 
> If I type 
> where sh
> in a terminal connected to the Pi I get
> -bash: where: command not found
> I can see sh at /bin/sh in WinSCP.
> My script starts
> #!/bin/bash
> Is that wrong?
> 
> Sent from my Pixel 3a using Tapatalk

Ah, I have no pCP at the moment. If you have "/bin/bash" then you can
use that, else use "/bin/sh" - whichever you use needs to exist on your
system.

But you need to "chmod +x /home/pi/zaireeka.sh" to make the shell script
itself executable.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

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


Re: [SlimDevices: SqueezeCenter] Starting multiple players simultaneously

2022-02-08 Thread cpd73


slartibartfast wrote: 
> I don't have "/home/pi/sh" as a command. I am clutching at straws. All I
> know is that using Putty the command
> sh zaireeka.sh 
> works.
> zaireeka.sh is in the folder /home/pi and the script is executable.
> 
> Sent from my Pixel 3a using Tapatalk

so "sh" is the name of the shell command. If you type (on the machine
where the script is to run):


Code:


  where sh
  



it will give you the path to the current "sh" command - probably
"/bin/sh" Edit you script so that the first line is:


Code:


  #!/bin/sh
  



(change /bin/sh to match the where output). Now your actions.json just
needs:


Code:


  {
  "system":[
  {
  "title":"Zaireeka",
  "command":"/home/pi/zaireeka.sh",
  "prompt":"Do this command?"
  }
  ]
  }
  
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

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


Re: [SlimDevices: SqueezeCenter] Starting multiple players simultaneously

2022-02-08 Thread cpd73


slartibartfast wrote: 
> Do you think I should just use
> /home/pi/zaireeka.sh
> instead of 
> /home/pi/sh zaireeka.sh
> 
> Sent from my Pixel 3a using Tapatalk

Do you have "/home/pi/sh" as a command? Eve if you did You would need
"/home/pi/sh /home/pi/zaireeka.sh" The command that the script runs
(i.e. the first string) either needs to be in PATH or have an absolute
path (hence "/home/pi/sh") If you are using "/home/pi/sh" then the
second part is a parameter to "/home/pi/sh" so also needs to be an
absolute path.

But, if you add the "#/bin/bash" (or "#/bin/sh") at the start, you can
just make the script executable - "chmod +x name-of-script"



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

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


Re: [SlimDevices: SqueezeCenter] Starting multiple players simultaneously

2022-02-08 Thread cpd73


Make sure your shell script is executable: "chmod +x script.sh" and has
"#!/bin/bash" as the first line. e.g.


Code:


  #!/bin/bash
  echo "Hello"
  



Then in actions.json you need the full path to the script:


Code:


  {
  "system":[
  {
  "title":"Zaireeka",
  "command":"/tmp/test.sh",
  "prompt":"Do this command?"
  }
  ]
  }
  



The above works on my system - "Hello" is printed to there terminal
window where LMS is running.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

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


Re: [SlimDevices: SqueezeCenter] Starting multiple players simultaneously

2022-02-08 Thread cpd73


slartibartfast wrote: 
> This is a long shot. Is there a way to run the script from LMS? Material
> skin can shutdown and restart the server so it should be possible.

You can add custom actions to material - and these can invoke shell
scripts. See "Custom menu entries and actions" at
https://github.com/CDrummond/lms-material/wiki/07-Customisation



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927

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


Re: [SlimDevices: SqueezeCenter] Album Artist list shows albums from compilations

2022-01-01 Thread cpd73


HerculePirate wrote: 
> I have ALBUM ARTIST menu which shows albums under a certain artist. But
> i do not want it to show albums where the artist is part of a
> compilation.

Yeah, that annoys me too. I can sort of understand its reasoning - as
the list is of album-artists, and then you see the albums that
album-artist appears on.

The only way I think that you can resolve this is to create a new
'AlbumArtist' browse mode. If you go to server settings, 'Additional
Browse Modes' you can define a new mode and set the 'Contributor Roles'
to ALBUMARTIST, and 'Browse By' to 'Artists'



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115646

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


Re: [SlimDevices: SqueezeCenter] New in 7.9.2: Presets editor

2021-12-17 Thread cpd73


agbagb wrote: 
> I agree in so far as I have never myself found the need.  However,
> having got Madame AGBAGB to put an LMS app on her phone, she did enquire
> why she could not simply continue to do the thing she best understands -
> 1 for BBC R3, 2 for R4, 3 for 4Ex and 4 for France Culture.  She has a
> point (as ever) .  I love the precise control of quite complex audio
> that the LMS world gives me (brilliantly well-supported by the Resident
> Geniuses here...); others though want to use the same physical kit in a
> far, far simpler way.

Well, with Material you can pin your favourites to its home screen -
this, IMHO, makes things easier, as you don't need to remember a number
mapping and the station logo is on the first screen you see.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2021-12-17 Thread cpd73


agbagb wrote: 
> 'Morning All,
> 
> I have Presets on all my Radios (via the hardware buttons) and on my
> Touches (via the numeric keypad on the remotes).  Is there a way of
> selecting a Player within the LMS GUI (or, eg, MaterialSkin on a phone /
> pad) and then selecting one of the Presets to play?  I use the Default
> GUI usually, and I can't see a way of doing this.  It would be
> especially handy from the phone / pad apps, as the phone would then
> effectively replace the dedicated remote

Material used to support showing the presets, but I removed this. I fail
to see the point when you can use favourites, which have icons. I can
see the point of presets on a hardware device, but not on a software
controller.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] Titles when browsing Random Albums

2021-11-01 Thread cpd73


kidstypike wrote: 
> Me too.
> 
> The enable/disable "year" does seem to work. :confused:

Are you referring to it having no effect on Material or Default skin?
Material ignores these settings.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115346

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


Re: [SlimDevices: SqueezeCenter] Power on/off notification?

2021-10-27 Thread cpd73


mark f wrote: 
> I've been working on (writing/debugging/redefining/repeat) an LMS remote
> control UI for a long time.  I have read and re-read the Help >
> Technical Information > Command Line Interface stuff about listen and
> notification subscriptions many many times.  I would like the UI to be
> notified when a player is turned off.  This seems like such a basic
> thing that I MUST be missing something obvious.  Could someone please
> point me to the subscription I need to use to be notified about a "power
> on/off" event of a player?
> 
> Right now I poll the server often to keep the interface up to date.  I'd
> like it to be more event driven.
> 
> Thank you.

MaterialSkin uses cometd to receive notifications from LMS. One of the
channels is 'serverstatus' and this lists the power state of players.
See
https://github.com/CDrummond/lms-material/blob/master/MaterialSkin/HTML/material/html/js/server.js
from more details.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115326

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


Re: [SlimDevices: SqueezeCenter] Squeezer/Squeezelite-X -type remote for Linux?

2021-07-04 Thread cpd73


ShaneC80 wrote: 
> LMS is running on a Pi (through a Volumio plugin).  Squeezelite-X works
> in Windows to remotely control the player, but is there something
> similar for Linux systems?

Why not just run use Chrome (or Chromium) in app mode?

  
-  Start chrome
-  Navigate to LMS
-  Chrome menu -> More tools -> Create shortcut
-  Select "Open as window"
  

This will create a -.desktop- file in -~/.local/share/applications- to
launch LMS in a separate chrome window. But it will have a thin titlebar
and (for LMS) an insecure site warning. You can work-around these by
editing the desktop file (it will have a random name starting with
"chrome-") and add the following at the end of the Exec line:
"--new-window --app=http://SERVER:9000;  - replace "SERVER" with
hostname/IP of your LMS. e.g.


Code:


  Exec=/usr/lib64/chromium-browser/chromium-browser.sh 
--profile-directory=Default --app-id=paaimebbekiccdafaddkineemmdijoxy 
-new-window --app=http://pi:9000
  



I use my MaterialSkin with a dark theme, but unfortunately it seems
chromium ignores any dark mode flag in app mode and I get a light
titlebar. To work-around this I created a shell script to launch
chromium and then set it to use a dark theme  - which then gives me the
dark titlebar. This script requires 'xdotool', and is as follows:


Code:


  #!/bin/bash
  IFS="
  "
  
  class=$1
  shift
  $* &
  
  for attempt in `seq 1 10` ; do
  id=`xdotool search --classname "$class"`
  if [ "$id" != "" ] ; then
  xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark" -id $id
  exit
  else
  sleep 1
  fi
  done
  



To use this I have edited the desktop file again, so that the Exec line
use my script to launch. e.g.


Code:


  Exec=/home/craig/.local/share/applications/launch.sh pi__material 
/usr/lib64/chromium-browser/chromium-browser.sh --profile-directory=Default 
--app-id=paaimebbekiccdafaddkineemmdijoxy -new-window 
--app=http://pi:9000/material
  



-pi__material- is the window's "class name" - and this can be found by
launching the app and then using "xprop" from a terminal.


...if this is all too much (and it is a bit messy really), you can
always use GNOME's Epiphany browser. Epihany has a menu entry to
"Install Site as Web Application". This also creates a desktop file, and
to force this into dark mode you just need to prepend "env
GTK_THEME=Adwaita-dark " to the Exec line. However, I find Epiphany to
be slower and it does not support Material's blurring of background
images.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114794

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


Re: [SlimDevices: SqueezeCenter] 8.2 nightly

2021-06-28 Thread cpd73


philippe_44 wrote: 
> [edit]: oh, you want the feed as a favorite, not an episode

Yes, for feature parity with the default skin.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114760

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


Re: [SlimDevices: SqueezeCenter] 8.2 nightly

2021-06-28 Thread cpd73


mherger wrote: 
> Did you try the latest LMS 8.2 build? Here's a snippet from the response
> Material is getting:
> 
> ...
> And this actually renders an "Add to Favourites" menu item.
> 
> That said, the favourited item (the podcast feed URL itself) wouldn't be
> useful in the favs, as it doesn't render the individual episodes.

That response is from a search result. What I was interested in was:

  
-  Search for a podcast (any)
-  In search results, use the 'More' menu (or 'M' button on default
  UI)
-  Subscribe to podcast
-  Leave podcast app
-  Go back into podcast - newly subscribed podcast should be listed
-  With default skin you can favourite from here, in Material you
  cannot
  

*But* I can see now that Material's favourited podcasts don't work -
Material needs to set "type" to "link", I'll fix this for 2.5.1

Still, Material cannot favourite from the -main- podcast list - as no
URL is supplied here.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114760

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


Re: [SlimDevices: SqueezeCenter] 8.2 nightly

2021-06-28 Thread cpd73


mherger wrote: 
> I think I've fixed this in the latest 8.2 build. Please give it a try 
> (available in an hour or two).

With the default skin it is possible to save a subscribed podcast (i.e.
one that appears in the podcast list when the podcast app is opened,
without needing to search) as a favourite. However, I can not do this
with Material as the podcast's URL is not returned in the list (ony its
name/title and icon are supplied). Any chance this can be fixed? I
looked at the code, but ended up getting lost...



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114760

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


Re: [SlimDevices: SqueezeCenter] Playlist Creation & non-ASCII characters

2021-05-27 Thread cpd73


eCo wrote: 
> If I use the LMS advanced search tool, I can build the playlist within
> LMS in a reasonable time entering the terms mentioned above
> one-at-a-time. But then I end up with a large number of duplicate
> entries since there's considerable overlap between the searches.

Not sure if this will work, and not sure how slow it would be as I've
never created such a large playlist, but MaterialSkin can remove
duplicates from playlists. This is done by using the track's title - so
if you have multiple tracks with the same title, this would fail. Might
be worth a try. To use: navigate into your list of playlists, and select
"Remove duplicates" from the specific playlist's context menu (use the
three dotted button the the right of each item).



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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?

2021-05-03 Thread cpd73


mherger wrote: 
> >> Why don't you just play that playlist and turn shuffle on?
> > 
> > Michael , because that gives a non-random-feeling list (again).
> 
> Oh, I should probably implement the same there...

If you do, which makes total sense, perhaps the config item (to control
shuffle type) should be a global LMS setting, and not a random mix
specific setting? If so, then I'll remove this config from Material...



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] How random is random?

2021-05-02 Thread cpd73


staresy wrote: 
> BTW the way the enable/disable setting option doesn't appear in
> material, I guess that's a Craig thing.

...although it is if you use Material from git :) Change will be in
2.4.0



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] Can I add 'Stop Random Mix' to Favorites?

2021-03-27 Thread cpd73


For Material, create a file named "actions.json"  within a sub-folder
named "material-skin" within your LMS' prefs folder  - e.g.
"/usr/local/lms/prefs/material-skin/actions.json" - with the following:


Code:


  {
  "allplayers":[
  {
  "title":"Stop random mix",
  "script":"lmsCommand('$ID', ['randomplay', 'disable'])",
  "icon":"stop"
  }
  ]
  }
  



This will add a 'Stop random mix' entry to the now-playing cover-art
context-menu, and to each player's menu in the 'Manage players' dialog.
For more details, refer to
https://github.com/CDrummond/lms-material/wiki/Detailed-Information



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114231

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


Re: [SlimDevices: SqueezeCenter] Library View difference between Classic & Material Skin

2021-03-13 Thread cpd73


mamema wrote: 
> . dunno if i have found a "bug"
> 
> If i create a saved search in the default skin, then i use "file format"
> and found my >i80.000 files
> If i do the same in Material skin, then i get 2002 entries in 1001
> albums.
> This smells like fixed limitation. Other search params which also should
> return >80.000 will also show that 2002/1001 pair

Material limits the number of items that will be returned - as you are
unlikely to want to scroll through 80k tracks! But, the same code is
performing the search on LMS - as in 100% the same. If you save a search
as a virtual library it will have all tracks, as (AFAIK) its the SQL
used to filter the tracks that is stored as the 'virtual library'
Basically, apart from the UI and the displayed results, everything is
the same.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114128

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


Re: [SlimDevices: SqueezeCenter] Most albums not listed on web interface

2021-02-22 Thread cpd73


Looks the same as:
https://forums.slimdevices.com/showthread.php?114003-LMS-8-1-2-(2-20)-showing-only-FIRST-album-only-under-ALBUM-ARTIST



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=114005

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


Re: [SlimDevices: SqueezeCenter] LMS advanced search: Sort by file modification date?

2021-02-21 Thread cpd73


bobertuk wrote: 
> Is it possible to use LMS Advanced Search to sort by file modification
> date (Date Modified?) in the same way that 'New Music' displays albums?
> 
> I use Trackstat ratings to select out my favourite albums and save 'As
> Library View' then set up an 'Additional Browse Mode' so I can display
> them and easily select/play my most recent favourite purchases. The
> Library View displays in order of album name but I would rather it
> displayed effectively in the order I purchased them. Like most people I
> end up purchasing albums that I play over and over (my favourites) and
> others I play rarely.
> 
> It's a convenience thing really but is it possible?

If you create a library view, can you not just use that library view and
when you enter 'New Music' you should only see albums from that library.
So, whilst the search results are not sorted that way, you can still see
the albums in that order using New Music.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=113992

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


Re: [SlimDevices: SqueezeCenter] random start of players on LMS

2021-02-08 Thread cpd73


I have no direct experience of this, and have never used the MediaServer
skill, but this sounds like during the setup of that skill that you left
you LMS accessible via the internet. See:
https://forums.slimdevices.com/showthread.php?107165-IMPORTANT-Stop-forwarding-your-LMS-ports-to-the-internet!



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] How to use Virtual Libraries in LMS 7.9

2021-01-28 Thread cpd73

erland wrote: 
> Might be worth to check in the Material thread if the Material developer
> is interested to add an All Albums entry at the top after selecting a
> genre in standard genres menu. That way you more or less have the same
> possibilities as Custom Browse shallowgenres menu, you just have to
> select “All Albums” as an intermediate step after selecting genre to get
> the list of albums.

When you browse into a genre, Material will show a list allowing you to
chose from:


-  All Artists (if LMS configugured for Artists and Album Artists)
-  Album Artists (if LMS configugured for Artists and Album Artists)
-  Artists (if LMS -not- configugured for Artists and Album Artists)
-  Albums
-  Random Albums
-  Composers (if genre matches Material's composer genre list)
-  Conductors (if genre matches Material's conductor genre list)
-  Bands (if genre matches Material's bandgenre list)
  

So here 'Albums' is the same as 'All Albums'



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=106488

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


Re: [SlimDevices: SqueezeCenter] Composers in All Artist List

2020-11-22 Thread cpd73


I realise this is a pretty late reply, but I was bugged by this too.
What you can do, is create an "Additional Browse" mode named "Artists"
that has "ALBUMARTIST, ARTIST, TRACKARTIST" as the "Contributor Roles".
Then you just need to configure the player to show this new "Artists"
mode and "Album Artists" but not "All Artists"



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=29

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


Re: [SlimDevices: SqueezeCenter] How to return path of playing item?

2020-11-21 Thread cpd73


Roland0 wrote: 
> try escaping the backslashes:

Yup, that works for me:


Code:


  {
  "track":[
  {
  "title":"Edit with foobar",
  "command":"start /b O:\\Mes_Documents\\Computer\\SCRIPTING\\LMS2Foo.vbs 
$TRACKID",
  "icon":"file_copy"
  }
  ]
  }
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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?

2020-11-21 Thread cpd73


Lestrad wrote: 
> Well, I've made a first stab. For the moment all I'm trying to do is get
> "Edit with foobar" to appear on the right-click menu and send the path
> of the playing item to my little .vbs script when I click it. 
> 
> I edited actions.json as follows:  
> 
> > 
Code:

  >   > {
  > "track":[
  > {
  > "title":"Copy file location",
  > "script":"lmsCommand('$ID', 
  > ['status', '-', '1', 'tags:u']).then
  > (({data}) => {copyTextToClipboard
  > (decodeURI(data.result.playlist_loop
  > [0].url));});",
  > "icon":"file_copy"
  > 
  > \"TITLE\":\"EDIT WITH FOOBAR\",
  > \"COMMAND\":\"START /B O:\MES_DOCUMENTS\COMPUTER\SCRIPTING\LMS2FOO.VBS 
$TRACKID\",
  > \"ICON\":\"FILE_COPY\"
  > }
  > ]
  > }

> > 
> 
> The part I added is in bold. Now neither "Copy file location" nor
> "Edit with foobar" show up in the right-click menu.  I'm sure there's
> a stupid error I'd see if I... weren't so stupid ;-[

Try this:

Code:


  {
  "track":[
  {
  "title":"Edit with foobar",
  "command":"start /b O:\Mes_Documents\Computer\SCRIPTING\LMS2Foo.vbs $TRACKID",
  "icon":"file_copy"
  }
  ]
  }
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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?

2020-11-17 Thread cpd73


Lestrad wrote: 
> Hmm... Since I know a little VBScript, could I use that instead of
> Python?

The "command" can be any command - all Material does here is blindly
call whatever is set in the string.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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?

2020-11-17 Thread cpd73


Lestrad wrote: 
> Wow. That works. I know this is beyond the call of duty, but can the
> script (which I assume is what's in the line beginning "*"script"*" up
> to the first "*"*") be altered to convert the path that's sent to the
> clipboard from //Linux /to \\Windows\ ? And/or possibly call another
> script (to launch Foobar, for example)? 
> 
> I'm now refreshing my almost non-existent knowledge of Javascript.

The script is javascript, so yes it could do path conversion, etc.
Pretty sure it cannot launch another app though - as the script runs in
the browser. If you want to launch a command the you can use "command"
and not "script" as the action. This would start a command on the LMS
machine. So, what you could do is have a simple python script that
converts an LMS track ID into a path and then runs Foobar. e.g.


Code:


  {
  "track":[
  {
  "title":"Edit with foobar",
  "command":"start /b c:\to\command\launch-foobar.py $TRACKID",
  "icon":"file_copy"
  }
  ]
  }
  



(My windows knowledge is pretty non-existant, but I'm assuming "start /
b " launches a command in the "background" - as you dont want
LMS to be stalled whilst your command runs)

'launch-foobar.py' would be passed a track ID, it then needs to call
into LMS to convert this into a path - using code similar to the above.
e.g.


Code:


  import json
  import os
  import requests
  
  SERVER_IP = '127.0.0.1'
  
  try:
  resp = json.loads(requests.post('http://%s:9000/jsonrpc.js' % SERVER_IP, data 
= 
'{"id":1,"method":"slim.request","params":["",["songinfo",0,10,"tags:u","track_id:%s"
 % sys.argv[1]]]}').text)
  url = resp['result']['songinfo_loop'][0]['url']
  # convert URL, invoke foolbar
  except:
  print("FAILED")
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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?

2020-11-14 Thread cpd73


If you use Material skin, you can add an entry to the context menu shown
when you right-click (or long press for mobile) on the cover in
now-playing. Create a file named "actions.json" and place it within a
"material-skin" folder in your LMS's prefs folder - e.g.
"prefs/material-skin/actions.json" - with the following:


Code:


  {
  "track":[
  {
  "title":"Copy file location",
  "script":"lmsCommand('$ID', ['status', '-', '1', 'tags:u']).then(({data}) => 
{copyTextToClipboard(decodeURI(data.result.playlist_loop[0].url));});",
  "icon":"file_copy"
  }
  ]
  }
  



Selecting "Copy file location" from the menu will copy the location of
the current track to the clipboard.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] server on port 80

2020-10-24 Thread cpd73


You could use this piece of Python code to redirect "http:// SERVER" to
"http:// SERVER:9000"


Code:


  #!/usr/bin/env python3
  
  import sys
  from http.server import HTTPServer, BaseHTTPRequestHandler
  
  class Redirect(BaseHTTPRequestHandler):
  def do_GET(self):
  self.send_response(302)
  self.send_header('Location', 'http://%s:9000%s' % 
(self.headers['Host'].split(':')[0].strip(), self.path))
  self.end_headers()
  
  HTTPServer(("", 80), Redirect).serve_forever()
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=113093

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


Re: [SlimDevices: SqueezeCenter] separate libraries?

2020-10-13 Thread cpd73


kidstypike wrote: 
> Agree it's a Material skin issue, web GUI and .apk.

No, it i snot a Material issue but an LMS one. Material and the default
UI use different APIs. I have created an issue on LMS's github page for
this - https://github.com/Logitech/slimserver/issues/437



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111797

___
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?

2020-09-22 Thread cpd73


kidstypike wrote: 
> My  Music > Playlists > click on a playlist > click the 2 notes icon.

It's also avaible from the context (three-dotted) menu when listing
playlists.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] Plugin update process

2020-08-15 Thread cpd73


mherger wrote: 
> > Thanks Michael for the ack. No biggie, but was intrigued since a fix
> is
> > coming in Material skin and I was interested as to how the fix was
> > rolled out.
> 
> Can you point me to some relevant posting talking about this? I checked
> 
> Material's changes and didn't see anything.

I -think- mr-b is referring to a mousehweel related change to Material,
and wanting to know when the fix for that is available. Not a fix for
the plugin auto-update issue.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112746

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


Re: [SlimDevices: SqueezeCenter] How to restrict view to and play lossless albums only

2020-08-09 Thread cpd73


SlimChances wrote: 
> You need to save the search as a library view and then it should appear
> under library views. I notice this does not work so well in Material
> skin (to my knowledge) but does work in Classic skin

At the risk of getting off topic... What does not work with Material's
advanced search? Material uses the Classic skin for this - all it does
is load this view in a frame and add some CSS to make it more
Material-like. But it -should- function exactly the same. So, I'm curios
to find out what might be wrong. (Please feel free to reply in the
Material thread).



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112733

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


Re: [SlimDevices: SqueezeCenter] No current player persistence in clients after SBS restart

2020-06-20 Thread cpd73


Czig wrote: 
> After further testing, this problem seems to be unique to Material App
> and Web.  I confirmed that all Material APK/Web controller instances are
> set with a default player.   After SBS restart, they all revert to the
> last entry in my player list.
> 
> Maybe the problem is unique to SBS on Fedora?   I continue to
> investigate...

Material stores the ID of the current player in the browser's
localstorage. If you set your browser to clear cookies, etc, then this
will also be cleared. But, if this is happening in the APK - then that
probably is not the reason. Perhaps your server is slow in returning the
list of players? When Material starts it will ask for 'serverstatus'
which will return the list of players. If your chosen player is in that
list, then it will be selected. If it is not in this first list, then a
player from that list is chosen instead.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112450

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


Re: [SlimDevices: SqueezeCenter] Home Menu Order in LMS GUI

2020-06-16 Thread cpd73


kidstypike wrote: 
> I'm not seeing this on a desktop (web browser) or Android phone (web
> browser or Material App). Where exactly can you drag & drop either
> "Home" or "Browse" menu items?.

In Material's settings dialog, ensure you have *not* enabled "Sort home
screen items". Then you can move items on the top-level ('Home') by
pressing and dragging.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112423

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


Re: [SlimDevices: SqueezeCenter] Home Menu Order in LMS GUI

2020-06-16 Thread cpd73


kidstypike wrote: 
> Are we talking about re-ordering as in moving visible items up or down
> in a list, or choosing which items appear in a list? Two very different
> things.
> 
> 
> If you are referring to the post by @d6jg, he says you can re-order the
> "Home" page using Material, this isn't the same as the "My Music" page.
> 
> But I don't see how you can re-order the "Home" page in Material, yes, I
> know you can choose what appears there, but there's no way to re-order
> the menu items. Happy to be proven wrong though. :)

You can re-order via drag'n'drop - but not on iPhone (iPad yes, iPhone
no) as HTML5 d'n'd does not seem to work there. I have an issue open on
the github page for this -
https://github.com/CDrummond/lms-material/issues/107 - since April 2019!
However, as I don't use an iPhone its not a high priority for me.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112423

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


Re: [SlimDevices: SqueezeCenter] Additional Browse Modes Feature Request - Addition Views by Tag or other fields.

2020-06-04 Thread cpd73


antagron wrote: 
> I'd like to suggest an enhancement to the Additional Browse Modes
> plugin. Here is my use case: I have all of my hi-resolution files tagged
> with 24/96 (for example) in the comment field. I'd like to be able to
> create a high resolution music browse mode that lets me filter just
> those files that have a tag that contains "24/" ... Perhaps in general
> the Additional Browse Modes set up could model the "view" function in
> Winamp, which lets you pick several fields for filtering, like: 
> 1. Tag contains "24/"
> 2. Genre = Classical, Jazz
> 3 etc etc
> 
> this would be on top of the current method of view construction.
> 
> Is this possible? Anyone else interested in this?
> 
> I do not want to do this with any external plugins, but rather the
> Logitech "native" plugin.

Use a library view for this. Then create a browse mode using that
library. Library view can be created by advanced search.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112343

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


Re: [SlimDevices: SqueezeCenter] Streaming from LMS to DLNA device

2020-05-28 Thread cpd73


michael123 wrote: 
> Hello
> 
> Is it possible to add DLNA renderer devices  to LMS?
> 
> Thanks,

Yes, install the UPnP Bridge. See:
https://forums.slimdevices.com/showthread.php?103728-Announce-UPnPBridge-integrate-UPnP-DLNA-players-with-LMS-(squeeze2upnp)



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112305

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


Re: [SlimDevices: SqueezeCenter] Problems reading pdfs in LMS on ipad with Music and Artists plugin

2020-05-16 Thread cpd73


slartibartfast wrote: 
> Are you using default skin or material skin? If you are using material
> try the default skin

Material. Its an issue with iOS's PDF viewer - or, more likely, the way
Material is using it in an embedded iframe. (This embedding was added to
work-around the free version of 'Fully Kiosk Browser' not opening
external links). I've removed this embedding for iOS in the next
Material release - as I can see the issue on iOS 12 and 13. The
embedding of advanced search, extra player settings, and server
settings, is also somewhat broken with iOS 12 (on iPad), but seems to be
OK with iOS 13 (on iPhone). If only Apple allowed alternative browser
engines, then the *real* chrome (blink) engine could be used on older
devices...



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112224

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


Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi4

2020-05-12 Thread cpd73

Cut-Throat wrote: 
> What are the Current thoughts on Running LMS on a Raspberry Pi 4 ?
> 
> 1.) Heat Issue - Fan or No Fan ?
> 2.) 4 GB of Ram useful ?
> 3.) Cases ?
> 
> Any Problems currently ?

I run LMS on a Pi4 4GB 24/7, no fan, FLIRC case, and no heat issues
whatsoever. I did have the Pimoroni fan-shim for a while, but it gathers
a lot of dust - FLIRC case is *much* better (and only £16 from CPC). I
use the Pi4 for LMS, Plex, as a print server (CUPS), photo server,
file-server, and to regularly backup my laptop. Fantastic device.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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


Re: [SlimDevices: SqueezeCenter] Check if plugin installed (Material Skin) using CLI

2020-04-30 Thread cpd73


rgdawson wrote: 
> How do I determine if a plugin, specifically Material Skin, is installed
> using the CLI?

Call 
Code:

["can","material-skin","items","?"]

 this will return the following if Material is installed:
Code:

"result":{"_can":1}



-"_can":0- => Material is *not* installed.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=112092

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-12 Thread cpd73


slartibartfast wrote: 
> Which cache do I need to clear? Browser cache doesn't help.
> 
> Sent from my Pixel 3a using Tapatalk

If you have Material (set as default I think?) then you will need to
update to 1.5.3 - to remove its artists.png image. Then, I think, you'll
need to remove the artist image from LMS's cache.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-12 Thread cpd73


mherger wrote: 
> > What about this? Its 50% transparent...
> 
> I just deployed a v1.6.15 which comes with this artwork. Might require 
> some wiping of caches etc. But thanks a lot!
> 
> -- 
> 
> Michael

Great! I'll remove the image from Material in 1.5.3



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-11 Thread cpd73


mherger wrote: 
> the cover artwork is built around 
> transparency, which helps to fit in with the various skins. I'll see 
> what I can do.

What about this? Its 50% transparent...

29996


+---+
|Filename: artist-fallback-3.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29996|
+---+


*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-10 Thread cpd73


mherger wrote: 
> > As stated in th elinked thread the issue is because of the Material
> > fallback icon. Removing this from Material will allow the exiting
> icon
> > to be used in the default web UI icon list. But, it would mean this
> icon
> > being used as an artist image when MAI cant find one online. Perhaps
> > abetter work-around would be; remove icon from Material *and* for MAI
> to
> > have its own generic artist fallback icon - one that is *not* an LMS
> > icon. Like the fallback used for missing album covers?
> 
> I'm not sure I understand the issue you're describing, and why you'd 
> have to override anything. You should be able to have your own in your 
> skin folder which would then be used when the skin was used.
> 
> But I don't understand how that would have to interfere with other 
> skins, _except_ for when you change the skin setting in LMS. In that 
> case I could imagine that some resized versions might remain in the LMS
> 
> cache.
> 
> Craig - when you do replace those icons, would the menu items be using 
> absolute paths to the image? Or would they use relative paths? Maybe 
> it's something simple the plugin author (me?) could fix.

To be honst I'm not 100% sure exactly what is happening. But MAI, in
LocalArtwork.pm, has -$defaultArtistImg =
Slim::Web::HTTP::getSkinManager->fixHttpPath(preferences('server')->get('skin'),
'/html/images/artists.png');- as the fallback artist image. Material
ships a more material-esque fallback image in
-MaterialSkin/HTML/material/html/images/artists.png- Now, I'm guessing
if Material is set as the -default- skin, then its -artists.png- is
being picked up as the icon to use for artists in the 'My Music' list.
As stated, I have seen it appear on my SB Radio.

I can easily remove the Material shipped artists.png - but then I get
the LMS -icon- artists.png used as an artist -image- fallback. Which,
IMVHO, is not a good mix. Hence, if MAI used its own, generic, fallback
image (e.g. the one above) then the issue would be resolved. After-all,
a generic CD image is used for missing album covers - so why not the
same for missing artist images?



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-10 Thread cpd73


What about this quick conversion of the current LMS artist icon? Its
more generic (no shadow/gradient), and suitable?

29982


+---+
|Filename: artist-fallback-2.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29982|
+---+


*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Web UI icons

2020-04-10 Thread cpd73


slartibartfast wrote: 
> Finally found the issue I was looking for in the Material thread. Is
> this related to my issue?
> https://forums.slimdevices.com/showthread.php?p=970530

As stated in th elinked thread the issue is because of the Material
fallback icon. Removing this from Material will allow the exiting icon
to be used in the default web UI icon list. But, it would mean this icon
being used as an artist image when MAI cant find one online. Perhaps
abetter work-around would be; remove icon from Material *and* for MAI to
have its own generic artist fallback icon - one that is *not* an LMS
icon. Like the fallback used for missing album covers?



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111968

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


Re: [SlimDevices: SqueezeCenter] Random Albums

2020-03-27 Thread cpd73


Shozzer wrote: 
> Hi, I am enjoying using the Random Album library view which enables me
> to see albums I have not listened to in a while. Is it possible to
> refine the choice by genre or does it just work with the entire library?

For the next release of Material I've added 'Random Albums' as a choice
when listing a genre. e.g. when showing "My Music > Genres > Classical"
you will be presented with a choice of Artists, Albums, Random Albums,
Composers, or Conductors.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111881

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


Re: [SlimDevices: SqueezeCenter] LMS not reachable anymore

2020-03-08 Thread cpd73


slartibartfast wrote: 
> Is it normal to have /var/log as a partition? I don't see it on my Pi.

i have /var/log mounted as a tmpfs mount - to save writes to the SDCard.
e.g.:


Code:


  tmpfs /var/log tmpfs nodev,nosuid,size=20M 0 0
  




*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111782

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


Re: [SlimDevices: SqueezeCenter] Now Playing Window

2020-02-27 Thread cpd73


mherger wrote: 
> This should do it: 
> https://github.com/Logitech/slimserver/commit/013a537c6e4334b9c1dbe1647666c3545bff31b9
> -- 
> 
> Michael

You might also want:

Code:


  text-overflow:ellipsis; 
  overflow:hidden;
  



So that truncated text ends with "..."



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111738

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


Re: [SlimDevices: SqueezeCenter] Music Service Integration

2020-01-04 Thread cpd73



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 would NOT import followed artists.

Ah! So, would this *only* affect albums listed under an Artist? Would
these albums also appear in the 'albums' list? i.e. the list of all
albums? It it is just the albums under an artist then this would not
affect Material's cache. (Not that you should have to care about that,
but I do...)

As for handling duplicates, is this really required? The local version
and the version on the music service could be different - different
release, encoding quality, etc. Instead of removing duplicates, why not
add a flag stating where the album is from? That way a control point
could add a small icon over the album cover indicating that its from
(e.g.) Spotify.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2020-01-04 Thread cpd73



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: 
> > As this music service integration will be for an 8.0 release, what
> about
> > going 1 step further and adding user support throughout LMS?
> 
> Feel free to submit a pull request - and make sure you're willing and 
> able to maintain the feature for the foreseeable future.

Whilst I'm more than willing to support any features I implement (been
supporting 'Cantata' for 9 years, but stopped using it more then 2 years
ago) - I'm afraid this is probably well beyond my perl skills.

mherger wrote: 
> 
> Seriously: I'm open for new features. But as long as I'm the only one 
> working on this we'll have to live with what my little sparetime allows.
> 
> And as I don't really see a need for user management beyond music 
> services (my kids will never buy music), this feature hasn't even made 
> it on my already long bucket list.

Very reasonable response. 

mherger wrote: 
> BTW: I believe you should already be able to use per control-point 
> libraries etc. as you're not using SlimBrowse anyway. You could just 
> send the library_id with every request, couldn't you?

By library_id is not used by 'Apps'. The idea was just a way to handle
multiple user-accounts with services. So, an LMS 'user' would configure
the plugins with their account details. The brows-modes, and favourites,
ideas were just an extension of that.

Anyhow, I'll stop discussion of this (user profiles), as its also not a
feature I have much use for right now.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2020-01-04 Thread cpd73


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: 
> >> Please define "main account"...
> > 
> > I knew you’d say that!
> > 
> > Mine :) not theirs!
> 
> And that would have been my response too :D.
> 
> I think I'll look into automatically creating library views per user.

As this music service integration will be for an 8.0 release, what about
going 1 step further and adding user support throughout LMS? The main
music service account would be linked to the user, the list of browse
modes could be per-user (instead of per device), the list of favourites
could also be per-user. Control points (e.g. iPeng, Material,
SqueezeCtrl) could then specify the user ID with each query, etc.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2020-01-02 Thread cpd73



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: 
> > the toolbar as an extra action. So, when querying albums by an
> artist,
> > this would be (I assume) the last entry in the list and hardware
> UI's,
> > etc could just have this as the last entry - but control points (if
> they
> > wish) would be informed that this is an action that can be moved
> > elsewhere.
> 
> Re-reading your posting (and digging your code)... you don't use the 
> SlimBrowse menus, but raw "albums" queries? In that case you wouldn't 
> get the item. It's not an album, but really an action in the artist's
> menu.

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', ]}, {...}]'


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2019-12-31 Thread cpd73


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: 
> >> “More of this Artist” would be fantastic. :)
> > 
> > If this is done, can you please mark (via a property, or standard ID)
> > that this is an action, and not an album in the list. i.e. in
> Material
> 
> I haven't looked into implementation details yet. But I imagined an 
> additional item like the "play all" item at the end of the list.

That is what I'd assumed you would do as well. I was just asking for it
to be trivial for a control point to determine that this was an action,
and not (e.g.) another album in the album list. e.g. add an
"action:play-all" property.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2019-12-30 Thread cpd73



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: 
> Some more questions: when browsing artists, should an artist from your
> online service show all albums in "My Music", or only the albums you've
> added to your favorites? Eg. Frank Zappa would have dozens, if not
> hundreds of albums. When drilling down My Music/Artists/Frank Zappa,
> would you expect them all to be there, or only the ones you like?
> 
> I tend to the second option, making My Music really the entry point to
> the stuff I have actively added to my collection. For discovery I'd go
> to the service specific app menus. Or I could try to add a "more of this
> artist on XYZ"?

Material caches the artist and album lists (but not lists of albums by
an artist), and uses the 'LMS last scan time' to know when the cache is
invalid. If artists from online services are to be merged, I'd need
someway of knowing when my cache is invalid.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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

2019-12-30 Thread cpd73


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


Ge Ba wrote: 
> “More of this Artist” would be fantastic. :)

If this is done, can you please mark (via a property, or standard ID)
that this is an action, and not an album in the list. i.e. in Material
I'd prefer to *not* have this in the list of albums, but move it into
the toolbar as an extra action. So, when querying albums by an artist,
this would be (I assume) the last entry in the list and hardware UI's,
etc could just have this as the last entry - but control points (if they
wish) would be informed that this is an action that can be moved
elsewhere.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
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] LMS on Raspberry Pi4

2019-12-28 Thread cpd73


slartibartfast wrote: 
> All working now. Just need to install MusicIP. [emoji3]

If you get this working a simple step-by-step guide would be greatly
appreciated. Never used MusicIP or Sugarcube, and I'm very interested in
seeing what these can provide and having them (do I need both?) running
on my Pi4.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110838

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


Re: [SlimDevices: SqueezeCenter] Unusual Server Behavior with Genres

2019-12-28 Thread cpd73


the_arm wrote: 
> 
> slartibartfast confirmed the behavior is correct in Material Skin but
> not in Orange Squeeze as additional data points showing the
> inconsistency.

Not sure if this helps, but... I'm pretty sure that SqueezeCtrl uses
'SlimBrowse' to retrieve artist, albums, and genre listings. It probably
then also uses the associated commands in these list responses for the
add-all/play-all buttons. For Material I wanted more control over these
lists - more metadata, and option to change sorting, etc. So, for these
I use the JSONRPC "albums", "artists", "genres", etc. commands. I then
manually construct the add-all/play-all commands - and I add the
appropriate artist_id and genre_id elements to the commands - which is
why only tracks matching a genre will be added.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=111377

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


Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.

2019-10-24 Thread cpd73


Is there a backup of this plugin somewhere? The server
(http://www.marcoc1712.it) seems to be down at the moment.



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

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


Re: [SlimDevices: SqueezeCenter] Server Machine Alternatives.

2019-08-04 Thread cpd73


kidstypike wrote: 
> I do have a Pi4 4GB but these run hot, until some manufacturer comes up
> with a *similar* case that adds some method of cooling to a Pi4, I'll
> stick to the Pi3B+. The Pi4 has been relegated to my spares drawer. :(

What about one of these? https://www.argon40.com/argon-one-pi4.html -
never used one, but seems to provide what you are looking for (or will,
when released). Personally I use the fan-shim from pimoroni (which can
be controlled to only switch on when temperate exceeds a certain value),
and this works great for me (my pi4 4gb is on 24x7).


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110796

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-08 Thread cpd73


mherger wrote: 
> >> Hmm... I thought the player UIs were working as expected. Then you
> >> should be fine, as you're using the same methods as those. I'm
> hesitant
> >> to change something which has been working as expected for years...
> > 
> > It's your call - you know the code *much* better than I. But Material
> is
> > using the "trackinfo" command via JSONRPC - and this is handled in
> > 'Slim/Menu/Trackinfo.pm', *not* 'Slim/Web/Pages/Trackinfo.pm' - so
> your
> > changes have no affect on Material (or any other clients using this
> via
> > JSONRPC). As stated, passing the playlist_index to "trackinfo"
> -seems-
> > to be working OK for me, so perhaps no change is required. However, I
> > only discovered this by chance. If I pass a trackId, then the index
> is
> > not used - and the wrong URL is used.
> 
> Got too many mails in my inbox today... could you please summarize the 
> issue you're seeing? I did indeed only fix the web handler, as I was 
> assuming the other interfaces were working as expected. What does work 
> for you, and what does not? Can you give me step-by-step instructions to
> 
> reproduce?

With a relased version of Material (i.e. not latest from git):
  
-  Locate a station under "Radio" - noy BBC iPlayrt, etc.
-  Add station to queue
-  Queue initially has http://opml.radiotime.com/ URL for loaded
  station
-  Wait some time, or re-load web page - and queue will now have
  stations action URL
-  Activate 'More' option on queue item's context menu
-  'More' details will not have "TuneIn Options"
  

*However*, this would never have worked - as Material does not pass the
stations URL to the "trackinfo" command. I did try adding the URL - this
worked initially, but (as stated) sometime later the URL changes and the
command fails. In git/master I have changed Material to pass the queue
index when asking for "trackinfo" of a queue item. This seems to work -
as 'Slim/Menu/Trackinfo.pm' has some code to handle the case where an
index and *no* id is sent. I -think- it should handle the case where an
id and url are sent - as using just the index there is a (very unlikely)
race condition (e.g. a plugin removes a track from the queue just after
Material is about to make the request (so material has index X) but
before LMS receives the request (so track is now at X-1)).

If you load a TuneIn station into the play queue, you can see what URL
it is using via:


Code:


  curl 'http://localhost:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["00:01:02:03:04:05",["status","-",1,"tags:u"]]}'
  



(replace '01:02:03:04:05' with your player's MAC). You should see that
initially it has the TuneIn URL, but later it changes.

If you call the following with the TuneIn URL (as THE_URL), then you
will see the options:

Code:


  curl 'http://localhost:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["00:01:02:03:04:05",["trackinfo","items",0,50,"url:THE_URL","menu:1","html:1"]]}'
  



...but as the URL in the queue changes, using the queue item's current
URL as THE_URL will then not have the TuneIn options, but (if the
station was the 1st URL) the following would:

Code:


  curl 'http://localhost:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["00:01:02:03:04:05",["trackinfo","items",0,50,"playlist_index:0","menu:1","html:1"]]}'
  



Does that make sense?



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-06 Thread cpd73


cpd73 wrote: 
> (I'ts -Slim/Menu/Trackinfo.pm- - no -Web-) As stated, it depends on how
> the API is called. This API can take a "track_id", "url", and
> "playlist_index". The "url" is used by the TuneIn side to detect if its
> a TuneIn URL. Initially the queue has the TuneIn URL, but at somepoint
> this is replaced with the station's URL. (As a TuenIn URL is a playlist
> file pointing to the real URL). So, if the controller caches the TuneIn
> URL and uses this, all is fine. If it passes (as the next Material
> version will) the "playlist_index" and does *not* pass "track_id" - then
> -Slim/Menu/Trackinfo.pm- will use this index to lookup the URL. This
> appears to work. Hence, I'm not sure a change needs to be made. But, as
> this API is not documented, I'm not sure of its usage.
> 
> Looking at the JSONRPC docs in LMS, the "songinfo" section (which
> details what info a controller can retreive about a song) mentions:
> 
> > 
Code:

  >   > 
  > L   info_link   A custom link to use for trackinfo. Only available for 
certain online music services.
  > 

> > 
> 
> So, it -could be- that Material needs to use this "info_link" as the
> streams URL when calling "trackinfo" If so, then this would (to me at
> least) be a more robust way of calling the API. (I dislike
> playlist_index due to the race condition of the queue changing between
> when the call was made and received by LMS - not likely, but not
> impossible). If this "info_link" *always* returns the TuneIn URL, even
> after the other URL has changes to the station's, then this would be
> the real fix.

Well, using "info_link" did not work (nothing was received). So, using
playlist_index seems to be the only way...



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-05 Thread cpd73


slartibartfast wrote: 
> If Slim/Web/Menu/Trackinfo.pm is used by Orange Squeeze and Squeezeplay
> there doesn't appear to be an issue with it.

(I'ts -Slim/Menu/Trackinfo.pm- - no -Web-) As stated, it depends on how
the API is called. This API can take a "track_id", "url", and
"playlist_index". The "url" is used by the TuneIn side to detect if its
a TuneIn URL. Initially the queue has the TuneIn URL, but at somepoint
this is replaced with the station's URL. (As a TuenIn URL is a playlist
file pointing to the real URL). So, if the controller caches the TuneIn
URL and uses this, all is fine. If it passes (as the next Material
version will) the "playlist_index" and does *not* pass "track_id" - then
-Slim/Menu/Trackinfo.pm- will use this index to lookup the URL. This
appears to work. Hence, I'm not sure a change needs to be made. But, as
this API is not documented, I'm not sure of its usage.

Looking at the JSONRPC docs in LMS, the "songinfo" section (which
details what info a controller can retreive about a song) mentions:


Code:


  L info_link   A custom link to use for trackinfo. Only available for 
certain online music services.
  



So, it -could be- that Material needs to use this "info_link" as the
streams URL when calling "trackinfo" If so, then this would (to me at
least) be a more robust way of calling the API. (I dislike
playlist_index due to the race condition of the queue changing between
when the call was made and received by LMS - not likely, but not
impossible). If this "info_link" *always* returns the TuneIn URL, even
after the other URL has changes to the station's, then this would be the
real fix.



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-05 Thread cpd73


mherger wrote: 
> > It's not my code. Michael's change modifies
> > 'Slim/Web/Pages/Trackinfo.pm', whereas the JSONRPC I'm using is
> handled
> > by 'Slim/Menu/Trackinfo.pm'. Perhaps a similar change needs to be
> made
> > there?
> 
> Hmm... I thought the player UIs were working as expected. Then you 
> should be fine, as you're using the same methods as those. I'm hesitant
> 
> to change something which has been working as expected for years...

It's your call - you know the code *much* better than I. But Material is
using the "trackinfo" command via JSONRPC - and this is handled in
'Slim/Menu/Trackinfo.pm', *not* 'Slim/Web/Pages/Trackinfo.pm' - so your
changes have no affect on Material (or any other clients using this via
JSONRPC). As stated, passing the playlist_index to "trackinfo" -seems-
to be working OK for me, so perhaps no change is required. However, I
only discovered this by chance. If I pass a trackId, then the index is
not used - and the wrong URL is used.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-05 Thread cpd73


bpa wrote: 
> The change that is suggested by Michael means than for a plugin routine
> registered for trackinfohandler - the routine will now use the passed
> client ref to obtain the URL of the song that is being played by
> streamingcontroller as long as it exists otherwise it will use the
> passed URL, previously it always used the passed URL.  It seems your
> code is doing something similar.


It's not my code. Michael's change modifies
'Slim/Web/Pages/Trackinfo.pm', whereas the JSONRPC I'm using is handled
by 'Slim/Menu/Trackinfo.pm'. Perhaps a similar change needs to be made
there? i.e. to handle the case where the URL is no longer
opml.radiotime...  I just looked at the code in 'Slim/Menu/TrackInfo.pm'
and noted that if it does not receive a trackId but does receive a
playlist_index, then it obtains a URL itself. I'm not 100% certain this
(using the index) handles the case fully, hence thinking perhaps
Michael's change to  'Slim/Web/Pages/Trackinfo.pm' also needs to be
applied to 'Slim/Menu/Trackinfo.pm' ???


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-04 Thread cpd73


bpa wrote: 
> I'm not sure what call you are using.  The code used by plugin just
> registers to be informed of a trackinfohandler request - no URL is
> supplied by the plugin.  When a context menu is opened on a GUI - AFAICT
> ALL plugins who have registered have their callback executed with a
> client ref and the URL that is playing and the plugin decides from the
> supplied URL from LMS whether to add their own menu or not (i.e. Tune-in
> will add a "Tune-in Options" menu only if the url is
> "opml.radiotime.com" or "tunein.com" ).

I'm using the JSONRPC interface. This has a "trackinfo" command that
returns the details. Usually I'm passing it a "track_id:" parameter. I
looked at the code, and for the TuneIn options to appear, it needs a
URL. I tried adding this, and inittially it works. I use the "status"
JSONRPC command to get the list of tracks in the playqueue. This can
also return a track's URL - so I used that. However, if the stream's
meta-data changes, or the web-page is refreshed, this URL changes.
Initially it is the "http://opml.radiotime.com/...; URL, but afterwards
it becomes the station's real URL. The TuneIn URL works, the real URL
does not. I know of no way to force LMS to just always return the TuneIn
URLs.

However, I have noticed that if I do not pass an ID to "trackinfo", but
instead just pass the track's index in the queue instead, the LMS code
uses this index to lookup the track, and this seems to then retrieve the
TuneIn URL.

This should be resolved in the next Material release.



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-04 Thread cpd73


bpa wrote: 
> I am not sure and I don't want to work through LMS.

Don't worry, I didn't expect you to :-)

bpa wrote: 
> When LMS gets a playlist to play (e.g.radiotime reply with a number of
> different station and different formats.) - LMS will parse the list and
> process each URL in turn - checking if they are playable (i.e. get MIME
> response from source) and then see if payer can play that format.  It
> does this processing asynchronously because each playable URL may
> require a number of http/GET to determine the format but when LMS finds
> a workable candidate - LMS will start playing that stream while in the
> background the rest of the playlist is being processed.  My guess is
> that the URL delivered in trackinfohandler is only updated when all item
> on the list have been processed - so there is a window.  This delay may
> be a result that playlists were initially only files not remote streams
> and so there would be no delay.
> 
> I have a vague feeling that the issue of "what URL is playing" between a
> playlist URL or the playing URL within the playlist was changed in the
> past maybe in 7.7/7.8 - and perhaps this piece of LMS code was never
> updated.  I recall Triode changing BBCiPlayer plugin (FlashAAC version)
> to handle this issue.

The confusing bit is that Material does *not* send a URL when it is
asking for this info - so I'm unsure how it *ever* worked! I've made a
change, for the next release, to also send URL when asking for
"trackinfo" - so that should resolve the issue. Just odd it working
before, when it should not have...


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-04 Thread cpd73


I'm confused as to why it sometimes works, and not others. Looking at
the LMS code, it would appear as if I also need to pass the URL when
asking for "trackinfo" - I'll update the code to do this. But this does
not explain why it sometimes works.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] Tunein Radio options missing in Web GUI

2019-07-04 Thread cpd73


bpa wrote: 
> Is your Material display on a tablet / phone ?

There should be no difference between desktop/mobile - the command used
is the same. In fact the only difference is that for mobile, material
changes the page to the browse page then asks for the info.

bpa wrote: 
> Clearly there is some issue with Material so the fix is likely to
> improve things either way.

Whilst I have no doubt there might be an issue with material, not sure
what it'd be. To get the 'More' menu items, all I am doing is using the
following JSONRPC command:


Code:


  ["trackinfo", "items", 0, 25000, "menu:1", "track_id:", "html:1"]
  



...where "track_id:xxx" is the ID returned by LMS when retreiving the
list of queued items as follows:


Code:


  ["status", 0, 25000, "tags:cdgltuyAKNS"]
  



So, not sure why clicking quickly would make and difference - as the
"track_id:" should not change.



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110714

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


Re: [SlimDevices: SqueezeCenter] LMS hard wedge when plugin repos not available

2019-06-14 Thread cpd73


mherger wrote: 
> > Do you think this may also be the cause of the slow resize of radio
> > paradise images when using LMS and not mysqueezebox.com? These are
> > fetched via https, and as the images are not that big I can't see why
> it
> > would take LMS so long to resize.
> 
> Hah! I was browsing your thread exactly for this (but gave up after a 
> few postings). I'm not sure. But then I don't understand why RP would be
> 
> so slow either. I've been using the local image proxy for a while 
> (somebody needs to test that thing :-)). While I would have considered 
> it slower for the reasons I mentioned in your thread, I've never 
> experienced a real problem with it. But I'll certainly play with it some
> 
> more over the weekend, to exercise this change.

Well, if you test with git/master of Material, note that I added a hack
to just fetch the raw RP images if using local resize (so browser itself
does the resize). I'll revert this commit later today, as its a really
hacky work-around.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110660

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


Re: [SlimDevices: SqueezeCenter] "Various Artists" position in lists

2019-04-25 Thread cpd73


bakker_be wrote: 
> I think you're making it too hard on yourself, which results in these
> inconsistencies. I'd advise to just return what LMS gives without
> forcing any other "logic" on it. An example why I would say that: I've
> disabled the "Compilation" feature, I have not one single album tagged
> with "Various Artists" as ALBUMARTIST, having tagged all compilations
> with just "Various" instead. This gives me the exact behaviour *_I_*
> want. If you apply some forced qorting/listing logic to the artist list
> you'll risk upsetting my preferred logic. I'm convinced that quite a lot
> of usershave their sorting & tagging set up to obtain a specific way of
> representing their collection, so your userbase would probably be
> strongly impacted.

I can understand what you are saying, but still (for me) VA is a special
case. Its not a real artist, so being on top make sense. You can also
configure LSM to treat "Various" as the "Various Artists" string. As
stated, if the Compilations option was still accessible when there are 2
lists then this would be a non-issue.

For Material, I think I'll add an -option- to always place "Various
Artists" at the top of the list.



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110502

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


Re: [SlimDevices: SqueezeCenter] "Various Artists" position in lists

2019-04-25 Thread cpd73


DJanGo wrote: 
> Isnt it the other way?
> 
> I use single list and "Various Artists" is placed under "V"

Not for me. I've just checked with the default web UI. Single list => VA
at top. Split lists, VA in middle. But, eitherway it should be
consistent, no?


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110502

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


[SlimDevices: SqueezeCenter] "Various Artists" position in lists

2019-04-25 Thread cpd73


If I configure LMS to use a single artist list, then "Various Artists"
is placed at the top of the list. But, if I use 2 seperate lists,
"Various Artists" is placed under "V" in the "Album Artists" list. Is
there a way to have "Various Artists" placed at the top of "Album
Artists" when using 2 artist lists? This behaviour seems a little
inconsistent.

If not, I might modify Material skin to move VA to the top of the list
in this scenario.

Also, "Various Artists" appears in the "All Artists" list. Should it? I
would expect this list to contain artists, not album-artists (as there
is an "Album Artists" list).



cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110502

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


Re: [SlimDevices: SqueezeCenter] Trying to create a modified interface that would include a player...

2019-01-23 Thread cpd73


you could use the 'status' command on the JSONRPC interface to obtain
details of the current track. You can find details of the JSONRPC
interface by clicking on the "Help" button in the lower left of the
default webUI (then navigate into technical info / CLI interface (I
think?)) The interface is quite simple, and requires you to POST a JSON
message to LMS. This is what I use for my "Material" skin.


----
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=110068

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