In file sonos.php change line 438
Code: Select all
$this->_PHPSonos->SetAVTransportURI('x-file-cifs:' . $this->_config['messagePath'] . $messageId . '.mp3');
Code: Select all
$this->_PHPSonos->SetAVTransportURI($this->_config['messagePath'] . $messageId . '.mp3');
Code: Select all
'messagePath' => '//<yourpath>/sonos/spraak/',
'messageStorePath' => '//<yourpath>/sonos/spraak/',
Code: Select all
'messagePath' => 'http://xxx.xx.x.xx/sonos/spraak/', // for f.e. a RPI
'messageStorePath' => 'http://xxx.xx.x.xx/sonos/spraak/',
On your RPI excute the command: sudo chmod +777 /var/www/sonos/spraak If you use a network share change to
Code: Select all
'messagePath' => 'x-file-cifs://<yourpath>/spraak/', // for network share
'messageStorePath' => 'x-file-cifs://<yourpath>/spraak/',