Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Sujet officiel] SqueezeBox Control

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 09:12

Hello seccho,

Ok, which os is used for your jeedom ?
Did you set the language to German ?
I am just giving inputs, but not sure where to look at because you seem to have all the informations (picture for example)...

What is sure is that if you use your external url to access your jeedom it will not work.

Can you click on the link thumbnail ? is it a link ?
It should open the LMS web interface directly on jeedom, can you give a screen shot of what you see ?
You should be able to navigate on the LMS to start a song for example.

Do you have the same behaviour when listening to a song ? not to a radio ?

Thanks

seccho
Timide
Messages : 21
Inscription : 03 nov. 2017, 13:14

Re: [Sujet officiel] SqueezeBox Control

Message par seccho » 05 janv. 2018, 11:20

Hi TaG

It's a Debian Jessie (8) Server. Yes i use it in german but tried it already in frech.
What is sure is that if you use your external url to access your jeedom it will not work.
Hmm i'm not sure.. because jeedom and lms speaks on the local lan ... but that's another thing.

Yes it's a link:
lsm2.PNG
lsm2.PNG (69.75 Kio) Consulté 1515 fois
lms1.PNG
lms1.PNG (86.05 Kio) Consulté 1515 fois
Same Problem when i Play a song

Thank you!

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 11:23

Ok, so you do have the same behaviour as I have, except the pictures that are not displayed.

Have you tried on different browser ?
Have you disable and enable the LMS plugin ?
Have you restarted jeedom ? (just in case ) ?

seccho
Timide
Messages : 21
Inscription : 03 nov. 2017, 13:14

Re: [Sujet officiel] SqueezeBox Control

Message par seccho » 05 janv. 2018, 11:36

Tried with FF and Edge
Several times disabled and enabled
And restartet the Server Jeedom and Win2012 with LMS

yes... did every thing

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 11:37

Chrome is the only official supported browser, can you give a try with it ?

After that i will not have anymore ideas at this time :(

Avatar de l’utilisateur
Theduck38
Helper
Messages : 2714
Inscription : 22 févr. 2015, 17:32
Localisation : Près de Grenoble
Contact :

Re: [Sujet officiel] SqueezeBox Control

Message par Theduck38 » 05 janv. 2018, 11:55

Have a look to your plugin / dependancies install logs, just in case something went wrong during plugin install...
-- TD38 --
Helper Officiel Jeedom
Zimeteo sur Jeedom : http://www.meteo.lecoin.info
Jeedom Stable sur serveur custom
Le risque électrique - Afficheur leds RGB - Tablette Murale - Thermostat connecté

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 12:46

yes, try to reinstall the dependencies but before :
Change the log mode to verbose (plugin LMS -> configuration)
Save on the top right of the log window
disable the plugin
enable the plugin

Reinstall the dependancies


has it work work before ?

seccho
Timide
Messages : 21
Inscription : 03 nov. 2017, 13:14

Re: [Sujet officiel] SqueezeBox Control

Message par seccho » 05 janv. 2018, 13:12

It Looks ok:
Reading package lists...
Building dependency tree...
Reading state information...
libav-tools is already the newest version.
The following packages were automatically installed and are no longer required:
libavdevice55 libopencv-core2.4 libopencv-imgproc2.4 libtbb2 libx264-142
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
W: Duplicate sources.list entry http://www.deb-multimedia.org/ jessie/main amd64 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_jessie_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://www.deb-multimedia.org/ jessie/non-free amd64 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_jessie_non-free_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
Reading package lists...
Building dependency tree...
Reading state information...
libsox-fmt-mp3 is already the newest version.
sox is already the newest version.
libttspico-utils is already the newest version.
The following packages were automatically installed and are no longer required:
libavdevice55 libopencv-core2.4 libopencv-imgproc2.4 libtbb2 libx264-142
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
I tried to run the recup_info_server.py:
dontknow.PNG
dontknow.PNG (65.54 Kio) Consulté 1497 fois
Could you run that script without error?

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 16:34

hey

you use the admin admin as login and user

do you have to use admin admin to log into the LM server ?
if yes, you have to set them in the LMS plugin configuration paramter (under the ip address of your lms server in jeedom)


i will try this script asap to see the result

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 16:38

Here is the result (tried with and without admin admin)

I do not have login password on my LMS server (web interface)

Code : Tout sélectionner

/var/www/html/plugins/squeezeboxcontrol/resources# python recup_info_server.py 192.168.1.41 9000
Traceback (most recent call last):
  File "recup_info_server.py", line 7, in <module>
    s = server.Server(hostname=sys.argv[1], port=sys.argv[2], username=sys.argv[3], password=sys.argv[4])
IndexError: list index out of range


var/www/html/plugins/squeezeboxcontrol/resources# python recup_info_server.py 192.168.1.41 9000 admin admin
Traceback (most recent call last):
  File "recup_info_server.py", line 8, in <module>
    s.connect()
  File "/var/www/html/plugins/squeezeboxcontrol/resources/pylms/server.py", line 67, in connect
    self.get_players(update=update)
  File "/var/www/html/plugins/squeezeboxcontrol/resources/pylms/server.py", line 205, in get_players
    player_count = self.get_player_count()
  File "/var/www/html/plugins/squeezeboxcontrol/resources/pylms/server.py", line 237, in get_player_count
    return int(self.player_count)
ValueError: invalid literal for int() with base 10: 'hod Not Allowed: </BODY></HTML>'
root@Jeedom8:/var/www/html/plugins/squeezeboxcontrol/resources#

seccho
Timide
Messages : 21
Inscription : 03 nov. 2017, 13:14

Re: [Sujet officiel] SqueezeBox Control

Message par seccho » 05 janv. 2018, 19:08

TheDuck34 and TaG

Thank you very much for your help. I changed the language to english, i made a pw protection on the LMS, disabled the Plugin, enabled the plugin, reinstalled the depencies and now.... IT WORKS, i don t know where the Problem was located but i m happy now and my 4 SqueezeBoxes are working.

Great Job dudes!!!

Avatar de l’utilisateur
Theduck38
Helper
Messages : 2714
Inscription : 22 févr. 2015, 17:32
Localisation : Près de Grenoble
Contact :

Re: [Sujet officiel] SqueezeBox Control

Message par Theduck38 » 05 janv. 2018, 21:37

Good news !

It works in french for me, and without password.
Maybe you could revert progressively to German / no password. After a complete backup, of course.
-- TD38 --
Helper Officiel Jeedom
Zimeteo sur Jeedom : http://www.meteo.lecoin.info
Jeedom Stable sur serveur custom
Le risque électrique - Afficheur leds RGB - Tablette Murale - Thermostat connecté

TaG
Actif
Messages : 1159
Inscription : 26 oct. 2016, 11:02

Re: [Sujet officiel] SqueezeBox Control

Message par TaG » 05 janv. 2018, 22:09

The password was set ? Or did i misunderstood ?

That IS a good news ;)!!!

Have fun using your SB :)

thouve
Timide
Messages : 215
Inscription : 21 oct. 2016, 19:30

Re: [Sujet officiel] SqueezeBox Control

Message par thouve » 23 janv. 2018, 23:20

Salut a tous, désolé d'avance si la réponse est donnée avant mais 100 pages c'est beaucoup trop à lire :/

J'ai configuré mon premier serveur LSM ainsi que ma première squeezebox a l instant.
J'ai installé le plugin sur le serveur, j'ai rentré l'adresse de mon jeedom ainsi que la clé API.
J'arrive a controler les squeezebox depuis jeedom mais je n'arrive pas a y afficher ni les paramètres ni le serveur lsm.
Quand je clique sur ces options depuis jeedom, a chaque fois une page vide s'ouvre.
Cela fait-il pareil pour tout le monde?
Y a-t-il quelque chose de particulier a configurer pour que cela fonctionne?

Merci d'avance pour votre aide

Avatar de l’utilisateur
Theduck38
Helper
Messages : 2714
Inscription : 22 févr. 2015, 17:32
Localisation : Près de Grenoble
Contact :

Re: [Sujet officiel] SqueezeBox Control

Message par Theduck38 » 23 janv. 2018, 23:55

Bonjour

Si tu n'es pas sur ton réseau local c'est normal.

Sinon, assures toi que tu as entré le bon port dans le plugin Jeedom (9000-9001-9002).
La clef API n'est peut-être pas la bonne (il faut la 'Globale', pas celle d'installation ni une éventuellement donnée pour le plugin Squeezebox control).
Autre possibilité : Jeedom mal configuré dans "Paramètres / Configuration / Réseaux".

Éventuellement, il faudrait que tu passes en debug et que tu postes les logs, les captures de ta config du plugin Jeedom et LMS.
-- TD38 --
Helper Officiel Jeedom
Zimeteo sur Jeedom : http://www.meteo.lecoin.info
Jeedom Stable sur serveur custom
Le risque électrique - Afficheur leds RGB - Tablette Murale - Thermostat connecté

thouve
Timide
Messages : 215
Inscription : 21 oct. 2016, 19:30

Re: [Sujet officiel] SqueezeBox Control

Message par thouve » 24 janv. 2018, 06:34

Je suis sur le même réseau pour jeedom et pour LSM.
Pour la configuration réseau de jeedom je penses qu'elle est correct car tous les autres plugin du type blea openvpn etc fonctionne parfaitement.
Pour le port je suis bien en 9000 et c'est celui ci que j'ai mis aussi dans la config jeedom du plugin.
La clé API est bien la t9yte première de la liste, a savoir celle de jeedom.
Je vais passer en mode début voir ce que cela donne et poster les résultats ici alors merci ;)

thouve
Timide
Messages : 215
Inscription : 21 oct. 2016, 19:30

Re: [Sujet officiel] SqueezeBox Control

Message par thouve » 24 janv. 2018, 07:48

Voici les logs que j'ai pour squeezebox :

Code : Tout sélectionner

[2018-01-24 06:58:06][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve@msn.com ****** infocount
[2018-01-24 06:58:35][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/executer_action.py 192.168.1.154 9090 thouve@msn.com ******** 00:00:00:00:00:01 sync_depuis b8:27:eb:aa:94:ff false
[2018-01-24 06:58:37][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve@msn.com Stephanie1707 infocount
[2018-01-24 06:58:54][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/executer_action_server.py 192.168.1.154 9090 thouve@msn.com Stephanie1707 rescanfull
[2018-01-24 07:32:08][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve@msn.com ****** infocount
[2018-01-24 07:36:35][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve@msn.com ******1707 infocount
[2018-01-24 07:39:49][DEBUG] : Scan lancé sur serveur avec : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/recup_info_server.py 192.168.1.154 9090 thouve *******
[2018-01-24 07:39:49][DEBUG] : Scan lancé sur player avec : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/recup_info_player.py 192.168.1.154 9090 thouve ******* b8:27:eb:aa:94:ff
[2018-01-24 07:39:50][DEBUG] : Recu : {"album": "The Weeknd", "etat": true, "name": "SqueezeBox Salon", "artist": "The Weeknd", "ip": "192.168.1.154:37100", "wifi": "0", "volume": 85, "mode": "pause", "titre": "In The Night", "model": "squeezelite", "ref": "b8:27:eb:aa:94:ff", "uuid": ""}
[2018-01-24 07:39:50][DEBUG] : Image à récupérer : http://thouve:Stephanie1707@192.168.1.154:9000/music/current/cover_200x200.jpg?player=b8%3A27%3Aeb%3Aaa%3A94%3Aff&time=0.16138700 1516775990
[2018-01-24 07:39:50][DEBUG] : Scan lancé sur player avec : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/recup_info_player.py 192.168.1.154 9090 thouve ******* 00:00:00:00:00:01
[2018-01-24 07:39:51][DEBUG] : Recu : {"album": "The Weeknd", "etat": true, "name": "SqueezeLite", "artist": "The Weeknd", "ip": "192.168.1.85:37516", "wifi": "0", "volume": 25, "mode": "pause", "titre": "In The Night", "model": "squeezelite", "ref": "00:00:00:00:00:01", "uuid": ""}
[2018-01-24 07:39:51][DEBUG] : Image à récupérer : http://thouve:Stephanie1707@192.168.1.154:9000/music/current/cover_200x200.jpg?player=00%3A00%3A00%3A00%3A00%3A01&time=0.02155200 1516775991
[2018-01-24 07:39:51][DEBUG] : Sortie console : {"players": ["b8:27:eb:aa:94:ff", "00:00:00:00:00:01"], "version": "7.9.1", "number": 2}
[2018-01-24 07:40:15][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve ******* infocount
[2018-01-24 07:42:11][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/executer_action.py 192.168.1.154 9090 thouve ******* 00:00:00:00:00:01 sync_depuis b8:27:eb:aa:94:ff false
[2018-01-24 07:42:23][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/core/class/../../resources/executer_action.py 192.168.1.154 9090 thouve ******* 00:00:00:00:00:01 play
[2018-01-24 07:45:04][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/squeezeboxcontrol/desktop/php/../../resources/executer_action_server.py 192.168.1.154 9090 thouve ****** infocount

Avatar de l’utilisateur
Jeandhom
Actif
Messages : 1386
Inscription : 20 oct. 2015, 17:32

Re: [Sujet officiel] SqueezeBox Control

Message par Jeandhom » 24 janv. 2018, 09:57

As-tu redémarrer le serveur LMS après configuration du plugin (celui de LMS)?

thouve
Timide
Messages : 215
Inscription : 21 oct. 2016, 19:30

Re: [Sujet officiel] SqueezeBox Control

Message par thouve » 24 janv. 2018, 10:43

je l'ai redémarré après avoir installé le plugin et aussi après avoir configuré le plugin
j'ai aussi redémarré jeedom.
Je vais essayer de désinstaller le plugin et de le réinstaller et de relancer les dépendances avec on verra bien

Avatar de l’utilisateur
fwehrle
Actif
Messages : 2824
Inscription : 01 juil. 2015, 11:03
Localisation : Strasbourg

Re: [Sujet officiel] SqueezeBox Control

Message par fwehrle » 24 janv. 2018, 11:12

Pas sur que le navigateur accepte les url avec identifiant et mdp dedans (tu devrais les enlever de tes logs d'ailleurs).
Essaye en enlevant l'identification de LMS
Et il ne faut pas que tu soit en https.
Jeedom 3 sur Debian 9 en VM Proxmox 5 sur NUC Intel.
(Anciennement sur Docker sur Syno DS-415+ / MariaDB / DSM 6)
Teleinfo / RFXCom / Stick ZWave / IPX / Serveur Traccar / Blea

Répondre

Revenir vers « [Plugin Officiel] SqueezeBox Control »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 9 invités