Custom command, lecture mp3 ne fonctionne plus

Bonjour,

Depuis ce jour, peut être après la mise à jour du plug-in, la lecture MP3 via Custom cmd ne fonctionne plus. La lecture TTS marche toujours elle.
J’ai mis à jour les dépendance, relancé le demon.

Exemple de commande:

app=media|cmd=play_media|value= ’ local://Atable1.mp3 ’ , ’ audio/mp3 ’ |vol=60

Le home émet le bip d’activation mais le fichier local mp3 n’est pas lu, le volume est lui bien changé.

Le log en mode débug:

*[2021-12-01 20:41:36][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:43652]*
*[2021-12-01 20:41:36][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "cmd": "action", "device": {"uuid": "af289692-ca40-b753-3f8d-7cce0bd18474", "source": "googlecast"}, "command": [{"app": "media", "cmd": "play_media", "value": "'local://Atable1.mp3','audio/mp3'", "vol": "60"}]}*
*[2021-12-01 20:41:36][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:43652]*
*[2021-12-01 20:41:36][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE*
*[2021-12-01 20:41:36][DEBUG] : SOCKET-READ------Received command from jeedom : action*
*[2021-12-01 20:41:36][DEBUG] : SOCKET-READ------Attempt an action on a device*
*[2021-12-01 20:41:36][DEBUG] : SOCKET-READ------Action Thread Launched*
*[2021-12-01 20:41:36][DEBUG] : ACTION------ action - play_media - af289692-ca40-b753-3f8d-7cce0bd18474 - 'local://Atable1.mp3','audio/mp3' - media*
*[2021-12-01 20:41:36][DEBUG] : PARAMPARSER---- Returned: 'http://192.168.1.61:81/plugins/googlecast/data/media/Atable1.mp3','audio/mp3'*
*[2021-12-01 20:41:36][DEBUG] : SENDER------Send to jeedom :  {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'nowplaying': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'online': True, 'friendly_name': 'Salle de bains bas', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 44, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'BUFFERED', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 12303, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}*
*[2021-12-01 20:41:36][DEBUG] : ACTION------Playing action play_media for application media*
*[2021-12-01 20:41:36][DEBUG] : ACTION------SET VOLUME OPTION*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'title': '', 'artist': '', 'series_title': '', 'player_state': 'IDLE'}*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Salle de bains bas*
*[2021-12-01 20:41:36][DEBUG] : SENDER------Send to jeedom :  {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'nowplaying': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'online': True, 'friendly_name': 'Salle de bains bas', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 60, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'BUFFERED', 'track': None, 'player_state': 'IDLE', 'supported_media_commands': 12303, 'supports_pause': True, 'duration': None, 'content_type': 'audio/mp3', 'idle_reason': 'ERROR'}}*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Maison*
*[2021-12-01 20:41:36][DEBUG] : SENDER------Send to jeedom :  {'uuid': '872af564-1272-40ac-ae21-999feb6fb646', 'nowplaying': {'uuid': '872af564-1272-40ac-ae21-999feb6fb646', 'online': True, 'friendly_name': 'Maison', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 46, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': None, 'album_artist': None, 'metadata_type': None, 'album_name': None, 'current_time': '0', 'artist': None, 'series_title': None, 'season': None, 'episode': None, 'image': None, 'stream_type': 'UNKNOWN', 'track': None, 'player_state': 'UNKNOWN', 'supported_media_commands': 0, 'supports_pause': False, 'duration': None, 'content_type': None, 'idle_reason': None}}*
*[2021-12-01 20:41:36][DEBUG] : SENDER------Send to jeedom : {'devices': {'af289692-ca40-b753-3f8d-7cce0bd18474': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'typemsg': 'info', 'status': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'title': '', 'artist': '', 'series_title': '', 'player_state': 'IDLE', 'uri': '192.168.1.13:8009', 'friendly_name': 'Salle de bains bas', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 60, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'stream_type': 'BUFFERED'}, 'lastOnline': 1638387324, 'online': True, 'lastSent': 1638387627, 'lastOfflineSent': 1638387321, 'options': {'ignore_CEC': '1'}, 'lastScan': 1638387694}, '872af564-1272-40ac-ae21-999feb6fb646': {'uuid': '872af564-1272-40ac-ae21-999feb6fb646', 'status': {'uuid': '872af564-1272-40ac-ae21-999feb6fb646', 'uri': '192.168.1.31:32180', 'friendly_name': 'Maison', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 46, 'volume_muted': False, 'app_id': None, 'icon_url': None, 'display_name': '', 'status_text': ' ', 'is_busy': False, 'title': '', 'artist': '', 'series_title': '', 'stream_type': 'UNKNOWN', 'player_state': 'UNKNOWN'}, 'typemsg': 'info', 'lastOnline': 1638387323, 'online': True, 'lastSent': 1638387696, 'lastOfflineSent': 1638387321, 'options': {'ignore_CEC': '0'}, 'lastScan': 1638387694}}}*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'title': '', 'artist': '', 'series_title': '', 'player_state': 'IDLE'}*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ NOW PLAYING STATUS SEND {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'title': '', 'artist': '', 'series_title': '', 'player_state': 'IDLE'}*
*[2021-12-01 20:41:36][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Salle de bains bas*
*[2021-12-01 20:41:36][DEBUG] : SENDER------Send to jeedom : {'devices': {'af289692-ca40-b753-3f8d-7cce0bd18474': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'typemsg': 'info', 'status': {'uuid': 'af289692-ca40-b753-3f8d-7cce0bd18474', 'title': '', 'artist': '', 'series_title': '', 'player_state': 'IDLE', 'uri': '192.168.1.13:8009', 'friendly_name': 'Salle de bains bas', 'is_active_input': False, 'is_stand_by': False, 'volume_level': 60, 'volume_muted': False, 'app_id': 'CC1AD845', 'icon_url': '', 'display_name': 'Default Media Receiver', 'status_text': 'Default Media Receiver', 'is_busy': True, 'stream_type': 'BUFFERED'}, 'lastOnline': 1638387324, 'online': True, 'lastSent': 1638387696, 'lastOfflineSent': 1638387321, 'options': {'ignore_CEC': '1'}, 'lastScan': 1638387694}}}*

Mon jeedom:

Quelqu’un aurait il une idée ?
Besoin de précision ?

Merci!

Edit précision, sur l’erreur qui ne concerne que la lecture mp3 :wink:

Bonjour,
Je suppose que tu utilises la beta du plugin?
C’est lié au fait que le répertoire ou se situe les fichiers locaux mp3 à changé de place (suite à des évolutions liées à la nouvelle version jeedom 4.2).
Ces fichiers appelés via local:// sont maintenant dans plugins/googlecast/data/media (avant plugins/googlecast/localmedia)
Je n’ai pas pensé a ce cas de migration ou des utilisateurs auraient ajouté des fichiers manuellement. Je vais réfléchir à quelque chose pour migrer les fichiers mais tu peux le faire manuellement également.

Ahhhhh ok, oui je suis en béta :slight_smile:

Pas de soucis, je migre tout à la main!

Merci de ton aide!!!

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.