Re: [SlimDevices: SqueezeCenter] QLogitechMediaServer for Qnap with QTS 4.2 or higher and x86_64/I686/X86 support !

2019-06-02 Thread Zombie


So, here I am in the stoneage, where can I find the folder with the info
you are looking for?



Zombie's Profile: http://forums.slimdevices.com/member.php?userid=25009
View this thread: http://forums.slimdevices.com/showthread.php?t=108702

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


Re: [SlimDevices: SqueezeCenter] CLI Interface - Setting server preferences (pref cmd) for array values (mediadirs)

2019-06-02 Thread gharris999


Code:


  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","useUnifiedArtistsList","1"]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "useUnifiedArtistsList",
  "1"
  ]
  ]
  }
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","bandInArtists",""]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "bandInArtists",
  ""
  ]
  ]
  }
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","composerInArtists",""]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "composerInArtists",
  ""
  ]
  ]
  }
  d
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","conductorInArtists",""]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "conductorInArtists",
  ""
  ]
  ]
  }
  


That results in prefs like:

Code:


  useUnifiedArtistsList: '1'
  bandInArtists: ''
  composerInArtists: ''
  conductorInArtists: ''
  



The "bad thing" (actually, a relatively minor thing) that happens is
that useUnifiedArtistsList then gets reset to 0 and the interface is
back to using two separate lists for Album Artists and All Artists.

If the prefs are attempted to be set via:

Code:


  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","useUnifiedArtistsList","1"]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "useUnifiedArtistsList",
  "1"
  ]
  ]
  }
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","bandInArtists","~"]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "bandInArtists",
  "~"
  ]
  ]
  }
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","composerInArtists","~"]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "composerInArtists",
  "~"
  ]
  ]
  }
  
JSONSTR='{"id":1,"method":"slim.request","params":["",["pref","conductorInArtists","~"]]}'
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "conductorInArtists",
  "~"
  ]
  ]
  }
  


..you end up with prefs:


Code:


  useUnifiedArtistsList: '1'
  bandInArtists: '~'
  composerInArtists: '~'
  conductorInArtists: '~'
  

...and having the tildy quoted has the effect of checking the pref's
checkbox -- the opposite desired effect.



gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=9

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


[SlimDevices: SqueezeCenter] I keep getting kicked off Shairtunes

2019-06-02 Thread ryangodammit


I'm running picoreplayer 3.5 on a raspberry pi 3.

I am running the app Shairtunes2 by Phillipe within LMS. 

It is always available to connect to, and I am able to connect to it,
but after a minute or so after connecting from my iphone it just drops
out and I'm no longer connected.

It's worth noting that picoreplayer has its own ios integration called
Shairport-sync, which I don't have enabled as when it is through LMS I'm
able to view and control it through jivelite, but not when its through
picoreplayer.

Anyone come across this?



ryangodammit's Profile: http://forums.slimdevices.com/member.php?userid=67252
View this thread: http://forums.slimdevices.com/showthread.php?t=110623

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


Re: [SlimDevices: SqueezeCenter] CLI Interface - Setting server preferences (pref cmd) for array values (mediadirs)

2019-06-02 Thread Michael Herger

false.  But setting the pref value to '~' results in checked, and
setting it to "" causes bad things to happen.


Please share the exact JSON you sent for an empty string, and what bad 
things happened?


--

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


Re: [SlimDevices: SqueezeCenter] CLI Interface - Setting server preferences (pref cmd) for array values (mediadirs)

2019-06-02 Thread gharris999


Ok, so my json string was screwed up.  This works:

Code:


  LPREF_VALUE == ignoreInImageScan: ["/mnt/Media/AudioBooks", 
"/mnt/Media/MusicGary","/mnt/Media/Music","/mnt/Media/MusicMP3s"]
  LPREF == ignoreInImageScan
  LVALUE == ["/mnt/Media/AudioBooks", 
"/mnt/Media/MusicGary","/mnt/Media/Music","/mnt/Media/MusicMP3s"]
  JSONSTR == 
{"id":1,"method":"slim.request","params":["",["pref","ignoreInImageScan",["/mnt/Media/AudioBooks",
 "/mnt/Media/MusicGary","/mnt/Media/Music","/mnt/Media/MusicMP3s"]]]}
  echo "$JSONSTR" | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  [
  "pref",
  "ignoreInImageScan",
  [
  "/mnt/Media/AudioBooks",
  "/mnt/Media/MusicGary",
  "/mnt/Media/Music",
  "/mnt/Media/MusicMP3s"
  ]
  ]
  ]
  }
  curl --silent -H "Content-Type: application/json" -X POST -d "$JSONSTR" 
http://localhost:9000/jsonrpc.js
  



My next problem: how do you set the value of a pref to ~?  I assume that
in the server.prefs file, the ~ value is equivalent to 'unchecked' or
false.  But setting the pref value to '~' results in checked, and
setting it to "" causes bad things to happen.  E.g. what do I need to do
if I want the prefs:

Code:


  useUnifiedArtistsList: 1
  bandInArtists: ~
  composerInArtists: ~
  conductorInArtists: ~
  




gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=9

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


Re: [SlimDevices: SqueezeCenter] QLogitechMediaServer for Qnap with QTS 4.2 or higher and x86_64/I686/X86 support !

2019-06-02 Thread Zombie


Btw, does it work with the latest QTS release?



Zombie's Profile: http://forums.slimdevices.com/member.php?userid=25009
View this thread: http://forums.slimdevices.com/showthread.php?t=108702

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


Re: [SlimDevices: SqueezeCenter] CLI Interface - Setting server preferences (pref cmd) for array values (mediadirs)

2019-06-02 Thread gharris999


Sorry to necropost, but I'm trying to achieve the same thing: set the
mediadirs pref from outside lms.

After trying to piece together what's required by following Michael's
suggestion and looking at Slim::GUI::ControlPanel->setPref() and
Slim::GUI::ControlPanel->serverRequest()

..this string seem to be OK json:


Code:


  echo 
'{"id":1,"method":"slim.request","params":["","pref","mediadirs",["/mnt/Media/Music"]]}'
 | jq
  {
  "id": 1,
  "method": "slim.request",
  "params": [
  "",
  "pref",
  "mediadirs",
  [
  "/mnt/Media/Music"
  ]
  ]
  }



..but neither:

Code:


  curl -d 
'{"id":1,"method":"slim.request","params":["","pref","mediadirs",["/mnt/Media/Music"]]}'
 -H "Content-Type: text/plain" -X POST http://localhost:9000/jsonrpc.js
  


-- or --

Code:


  curl -d 
'{"id":1,"method":"slim.request","params":["","pref","mediadirs",["%2Fmnt%2FMedia%2FMusic"]]}'
 -H "Content-Type: text/plain" -X POST http://localhost:9000/jsonrpc.js


..do anything.

Obviously, I'm missing a step here.  Help, anyone?



gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=9

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


Re: [SlimDevices: SqueezeCenter] Lost connection to LMS, think port 9000 is blocked

2019-06-02 Thread BosseJ


bpa wrote: 
> It is curious - I also have a secondary not connected interface eth0, a
> wlan interface is active but I manually activate the interfaces
> according to what I am testing.

Yes, curious indeed.
I wonder if it is related to my server having no WLAN and no
NetworkManager involved? Everything is managed by the if-up/if-down
scripts. Here's the output from the "ip addr" command which shows the
suppressed eth1. Maybe "netstat" picks up these interfaces even though
one of them has no IP assigned? The "0.0.0.0" local address is maybe
shown in analogy with how the external destination addresses are shown.


Code:

root@linux2:~# ip addr
  1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  inet 127.0.0.1/8 scope host lo
  valid_lft forever preferred_lft forever
  inet6 ::1/128 scope host 
  valid_lft forever preferred_lft forever
  2: eth0:  mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
  link/ether 00:1b:fc:d4:07:0b brd ff:ff:ff:ff:ff:ff
  inet 192.168.20.3/24 brd 192.168.20.255 scope global eth0
  valid_lft forever preferred_lft forever
  inet6 fe80::21b:fcff:fed4:70b/64 scope link 
  valid_lft forever preferred_lft forever
  3: eth1:  mtu 1500 qdisc noop state DOWN group default 
qlen 1000
  link/ether 00:1b:11:ea:61:8f brd ff:ff:ff:ff:ff:ff
  root@linux2:~# 




2 Touch, 1 Picoreplayer 4.1.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired

BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378
View this thread: http://forums.slimdevices.com/showthread.php?t=110620

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


Re: [SlimDevices: SqueezeCenter] Lost connection to LMS, think port 9000 is blocked

2019-06-02 Thread bpa


BosseJ wrote: 
> On my Ubuntu 18.04 I have the same 0.0.0.0 local addresses for most of
> my listening connections, very few are the active LAN address or the
> 127.0.0.1 address. I THINK it is because I have a secondary interface,
> not connected or active, that causes the somewhat strange Local Address
> identities. Here's what my /etc/network/interfaces look like:

It is curious - I also have a secondary not connected interface eth0, a
wlan interface is active but I manually activate the interfaces
according to what I am testing.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110620

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


Re: [SlimDevices: SqueezeCenter] Lost connection to LMS, think port 9000 is blocked

2019-06-02 Thread BosseJ


bpa wrote: 
> 0.0.0.0 is unusual for an IP address and if statically set or more-so if
> using DHCP  then it could mean other settings such as gateway and mask
> is not correct.
> 
> My netstat for an Ubuntu 18.04 system with a few active connections
> > 
Code:

  >   > 
  > Active Internet connections (w/o servers)
  > Proto Recv-Q Send-Q Local Address   Foreign Address State   
   
  > tcp0  0 192.168.1.58:42778  192.30.253.125:443  
ESTABLISHED
  > tcp0  0 192.168.1.58:3483   192.168.1.58:43604  
ESTABLISHED 


   
  > tcp0  0 127.0.0.1:9000  127.0.0.1:37292 
TIME_WAIT   


   
  > tcp0  0 127.0.0.1:9000  127.0.0.1:37324 
ESTABLISHED 


   
  > tcp0  0 127.0.0.1:37332 127.0.0.1:9000  
ESTABLISHED 


   
  > tcp0  0 192.168.1.58:9000   192.168.1.53:51092  
TIME_WAIT   


   
  > tcp0  0 192.168.1.58:43878  74.125.193.95:443   
ESTABLISHED 


   
  > tcp0  0 192.168.1.58:36842  138.197.254.209:443 
ESTABLISHED 


   
  > tcp0  0 127.0.0.1:37324 127.0.0.1:9000  
ESTABLISHED 


   
  > tcp0  0 192.168.1.58:43882  74.125.193.95:443   
ESTABLISHED 


   
  > tcp0  0 192.168.1.58:43604  192.168.1.58:3483   
ESTABLISHED 


   
  > tcp0  0 127.0.0.1:9000  127.0.0.1:37332 
ESTABLISHED  
  > 

> > 

On my Ubuntu 18.04 I have the same 0.0.0.0 local addresses for most of
my listening connections, very few are the active LAN address or the
127.0.0.1 address. I THINK it is because I have a secondary interface,
not connected or active, that causes the somewhat strange Local Address
identities. Here's what my /etc/network/interfaces look like:


Code:

# This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).
  
  # The loopback network interface
  auto lo eth0
  iface lo inet loopback
  
  # The primary network interface
  iface eth0 inet dhcp
  
  # the secondadry interface
  allow-hotplug eth1



BTW, I do not have the issues the OP is describing. I think it is
something else, possibly the ickStream plugin.



2 Touch, 1 Picoreplayer 4.1.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired

BosseJ's 

[SlimDevices: SqueezeCenter] "Problem: no saved playlists folder. Visit server settings to fix this."

2019-06-02 Thread bzlrbi


I'm getting this new, odd message when trying to play some new files. 
I've never named a location for Playlists Folder while performing an LMS
scan before.  i do have the "Use iTunes" box checked (whatever that
does).  I've rescanned a couple times without success.  I added a
"dummy" playlist folder location but that just resulted in my being
prompted to name and save a playlist, which is something I'm not gonna
do!  

Logitech Media Server Status 
Logitech Media Server Version: 7.9.2 - 1543258616 @ Mon Nov 26 20:08:12
WEST 2018 
Hostname: RRB-desktop 
Server IP Address: 192.168.0.112 
Server HTTP Port Number: 9000 
Operating system: Windows 10 - EN - cp1252 
Platform Architecture: 8664 
Perl Version: 5.14.1 - MSWin32-x86-multi-thread 
Audio::Scan: 0.95 
IO::Socket::SSL: 2.024 
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) 
Total Players Recognized: 3   

I don't see anything unusual when looking at the scanner log.  

If I look at the server log I see lots of these:" illegal file
descriptor or filehandle (either no attached file descriptor or illegal
value):  at /Slim/Networking/IO/Select.pm line
134."

Thanks!



bzlrbi's Profile: http://forums.slimdevices.com/member.php?userid=30606
View this thread: http://forums.slimdevices.com/showthread.php?t=110622

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


Re: [SlimDevices: SqueezeCenter] Lost connection to LMS, think port 9000 is blocked

2019-06-02 Thread bpa


loz2103 wrote: 
> no. I just assumed they were all meant to be 0.0.0.0.
0.0.0.0 is unusual for an IP address and if statically set or more-so if
using DHCP  then it could mean other settings such as gateway and mask
is not correct.

MY netstat for an Ubuntu 18.04 system

Code:


  Active Internet connections (w/o servers)
  Proto Recv-Q Send-Q Local Address   Foreign Address State 
 
  tcp0  0 192.168.1.58:42778  192.30.253.125:443  
ESTABLISHED
  tcp0  0 192.168.1.58:3483   192.168.1.58:43604  
ESTABLISHED 


   
  tcp0  0 127.0.0.1:9000  127.0.0.1:37292 TIME_WAIT 



 
  tcp0  0 127.0.0.1:9000  127.0.0.1:37324 
ESTABLISHED
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110620

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


Re: [SlimDevices: SqueezeCenter] Lost connection to LMS, think port 9000 is blocked

2019-06-02 Thread loz2103


no. I just assumed they were all meant to be 0.0.0.0.



loz2103's Profile: http://forums.slimdevices.com/member.php?userid=55887
View this thread: http://forums.slimdevices.com/showthread.php?t=110620

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


Re: [SlimDevices: SqueezeCenter] Issue with logitechmediaserver_7.9.2~1559133196_amd64.deb?

2019-06-02 Thread Bojanko48


badboygolf16v wrote: 
> I just installed 1559133196 under QLogitechMediaServer so I guess it's
> not the build.

Yes, you are right. The newest build (update) has nothin to do with the
problems as I thought before. I remove Ickstream plugin (unchecked it
from the 3rd parties plugins and deleted its link on the bottom of the
Plugins-Additional Repositories) and after applying this changes, LMS
restarted in everything is ok. Sqeezebox and other players have normal
access to to LMS. Ana of course it can be access normally via internet
link (192.168.1.xxx:9000).



Bojanko48's Profile: http://forums.slimdevices.com/member.php?userid=66181
View this thread: http://forums.slimdevices.com/showthread.php?t=110617

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


Re: [SlimDevices: SqueezeCenter] How can I shuffle the play queue this way?

2019-06-02 Thread slartibartfast


bgentry wrote: 
> Hello,
> 
> I have a music selection and playback workflow that I developed with
> several other players.  It's fairly simple, but I can't figure out
> exactly how to do it with LMS.  Let me describe that workflow:
> 
> 1.  Find albums, one by one, and add them to the play queue.  I can do
> this with LMS.
> 2.  Shuffle the songs in the play queue so they are in a random-ish
> order and then leave them in that same order.  I know how to turn on
> shuffle mode, but it doesn't act the way I expect.  It seems to
> reshuffle any time tracks are added.  Which I don't want it to do
> because...
> 3.  Hours later, I add another album or two.
> 4.  Shuffle only the remaining tracks, including the newly added files.
> 
> What keeps happening to me is, when I add a track or an album, LMS
> re-shuffles the play queue and then songs that have already played are
> shuffled back into the mix.  Also, the order that was there before is
> gone.  I sometimes like to insert a track or two into a random mix. 
> With shuffle mode turned on, I don't seem to be able to do this.
> 
> What I'd really like to find is a way to just shuffle the tracks in the
> play queue *once* and not keep reshuffling them.  Ideally I would be
> able to only shuffle the remaining tracks so I don't get repeats of
> tracks I already heard from this play queue.
> 
> Are there a combination of plugins that might let me do this?  Or any
> other clever techniques I could use to emulate this?
> 
> Thanks,
> 
> Brian.

There is a plugin called "Remove Played Songs" which removes songs from
the playlist after they have been played. This would eliminate repeat
tracks.

Sent from my SM-G900F using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=110621

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