Rocki support as renderer

My Vera Lite hasn’t even arrived yet bu I have a Rocki device ready and waiting so hopefully it works as a playback device :-)… Will update this topic once I find out.

[quote=“tommysharp, post:1, topic:181503”]My Vera Lite hasn’t even arrived yet bu I have a Rocki device ready and waiting so hopefully it works as a playback device :-)… Will update this topic once I find out.

Are you sure that it is a UPnP AV / DLNA device ?

They don’t have much info on their website but got this from the Kickstarter page…

“Supports UPnP / DLNA, compatible with existing open standards systems”

They say it can even be configured as the “sound card” on a PC using a special driver and then all your PC sounds will be played through it.

I’m secretly hoping it’s a nice cheap way to achieve Sonos like functionality.

Is there an easy way I can test it without having my Vera yet?

I have a ROCKI in my setup and can use the plugin to control when it is actively playing (pause, volume, etc).

It however does not display what is playing (don’t know if it should) and it always says “Playing” even if something is not.

The TTS feature worked once…however I can’t get it to do it again ???

Did you install the plugin UPnP event proxy ?
It looks like event notification is not received or inappropriate.
If UPnP event proxy is working well, please enable debug logs and provide these logs.

I don’t know what that is…so probably not ;D

I will start poking around for some more info on it and install it.

Alrighty, installed the plugin…restarted…and rebooted. Doesn’t seem to have any impact.

Si I need debug logs.

I apologize for my ignorance in advance, how do I send debug logs for the app?

I apologize for my ignorance in advance, how do I send debug logs for the app?[/quote]

Go in the advanced tab and set variable DebugLogs to 1 and then save (reload).
Play a little with your ROCKI and see if something is wrong (errors) in the logs (of course in particular lines containing string DLNA).
What could be interesting for me is in particular all lines containing the string handleAVTransportChange because it includes all the XML data sent by your ROCKI to the plugin.
If you want to send me a full file of logs, send me a PM to get an e-mail.

[quote=“lolodomo, post:10, topic:181503”]Go in the advanced tab and set variable DebugLogs to 1 and then save (reload).
Play a little with your ROCKI and see if something is wrong (errors) in the logs (of course in particular lines containing string DLNA).
What could be interesting for me is in particular all lines containing the string handleAVTransportChange because it includes all the XML data sent by your ROCKI to the plugin.
If you want to send me a full file of logs, send me a PM to get an e-mail.[/quote]

@lolodomo - i just got a Rocki and have started testing. When i use TTS from UI5 it does not say all the words. For example, if i put “this is a test of the system” (no quotes) into the Text box and click say, it only says “this is a test”. If i put “this is a test of the system 1 2 3” into the Text box it says “this is a test of the system 1”. It I put “this is a test of the system broadcasting” into the text box, it says “this is a test of the system br”

Here is a debug log. Is there anything i can do to help figure out the issue? Thanks !

# tail -f /var/log/cmh/LuaUPnP.log | grep DLNA

08	05/31/14 16:23:51.910	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: Say <0x322ae680>
08	05/31/14 16:23:51.911	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x322ae680>
50	05/31/14 16:23:51.924	luup_log:214: DLNA: debug: TTS queueAlert for device 214 <0x322ae680>
50	05/31/14 16:23:51.924	luup_log:214: DLNA: debug: Google TTS: device 214 language en <0x322ae680>
50	05/31/14 16:23:52.482	luup_log:214: DLNA: debug: savePlaybackContext: start <0x322ae680>
50	05/31/14 16:23:52.482	luup_log:214: DLNA: debug: refreshNow: start <0x322ae680>
50	05/31/14 16:23:52.483	luup_log:214: DLNA: debug: GetTransportInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.484	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.516	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.518	luup_log:214: DLNA: debug: GetTransportSettings('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.519	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.548	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.549	luup_log:214: DLNA: debug: GetCurrentTransportActions('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.550	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.582	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.583	luup_log:214: DLNA: debug: GetMediaInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.584	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
08	05/31/14 16:23:52.600	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: NotifyAVTransportChange <0x32cae680>
08	05/31/14 16:23:52.601	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x32cae680>
50	05/31/14 16:23:52.623	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.626	luup_log:214: DLNA: debug: GetPositionInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.630	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.662	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.688	luup_log:214: DLNA: debug: GetMute('http://192.168.1.48:49153/upnp/control/rendercontrol1', 'urn:schemas-upnp-org:service:RenderingControl:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.689	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendercontrol1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.722	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.723	luup_log:214: DLNA: debug: GetVolume('http://192.168.1.48:49153/upnp/control/rendercontrol1', 'urn:schemas-upnp-org:service:RenderingControl:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.725	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendercontrol1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.747	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.749	luup_log:214: DLNA: debug: Stop('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.750	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.772	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.773	luup_log:214: DLNA: debug: SetAVTransportURI('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.775	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:52.930	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:52.932	luup_log:214: DLNA: debug: Play('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x322ae680>
50	05/31/14 16:23:52.934	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:53.218	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:53.219	luup_log:214: DLNA: debug: refreshNow: start <0x322ae680>
50	05/31/14 16:23:53.222	luup_log:214: DLNA: debug: handleAVTransportChange for device 214 value <Event xmlns = "urn:schemas-upnp-org:metadata-1-0/AVT/"><InstanceID val="0"><CurrentTransportActions val="Play"/></InstanceID></Event> <0x2b612000>
50	05/31/14 16:23:53.224	luup_log:214: DLNA: debug: GetPositionInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x2b612000>
50	05/31/14 16:23:53.224	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:53.249	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
08	05/31/14 16:23:53.756	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: NotifyAVTransportChange <0x336f0680>
08	05/31/14 16:23:53.757	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x336f0680>
50	05/31/14 16:23:53.768	luup_log:214: DLNA: debug: handleAVTransportChange for device 214 value <Event xmlns = "urn:schemas-upnp-org:metadata-1-0/AVT/"><InstanceID val="0"><TransportState val="PLAYING"/></InstanceID></Event> <0x2b612000>
50	05/31/14 16:23:53.773	luup_log:214: DLNA: debug: GetPositionInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x2b612000>
50	05/31/14 16:23:53.774	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:55.911	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
08	05/31/14 16:23:55.961	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: NotifyAVTransportChange <0x334ae680>
08	05/31/14 16:23:55.962	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x334ae680>
50	05/31/14 16:23:55.965	luup_log:214: DLNA: debug: handleAVTransportChange for device 214 value <Event xmlns = "urn:schemas-upnp-org:metadata-1-0/AVT/"><InstanceID val="0"><TransportState val="STOPPED"/></InstanceID></Event> <0x2b612000>
50	05/31/14 16:23:55.968	luup_log:214: DLNA: debug: GetPositionInfo('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x2b612000>
50	05/31/14 16:23:55.969	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:56.008	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:56.101	luup_log:214: DLNA: debug: TTS endPlayback for device 214 <0x31145680>
50	05/31/14 16:23:56.130	luup_log:214: DLNA: debug: restorePlaybackContext: start <0x31145680>
50	05/31/14 16:23:56.130	luup_log:214: DLNA: debug: Stop('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x31145680>
50	05/31/14 16:23:56.132	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:56.155	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:56.156	luup_log:214: DLNA: debug: SetMute('http://192.168.1.48:49153/upnp/control/rendercontrol1', 'urn:schemas-upnp-org:service:RenderingControl:1') Called with parameter count=1 <0x31145680>
50	05/31/14 16:23:56.157	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendercontrol1], body=[<?xml version="1.0" encoding="utf-8"?>
50	05/31/14 16:23:56.204	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:56.205	luup_log:214: DLNA: debug: SetVolume('http://192.168.1.48:49153/upnp/control/rendercontrol1', 'urn:schemas-upnp-org:service:RenderingControl:1') Called with parameter count=1 <0x31145680>
50	05/31/14 16:23:56.206	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendercontrol1], body=[<?xml version="1.0" encoding="utf-8"?>
08	05/31/14 16:23:56.220	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: NotifyRenderingChange <0x336f0680>
08	05/31/14 16:23:56.221	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x336f0680>
50	05/31/14 16:23:56.274	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:56.275	luup_log:214: DLNA: debug: SetAVTransportURI('http://192.168.1.48:49153/upnp/control/rendertransport1', 'urn:schemas-upnp-org:service:AVTransport:1') Called with parameter count=1 <0x31145680>
50	05/31/14 16:23:56.277	luup_log:214: DLNA: debug: UPnP_request: url=[http://192.168.1.48:49153/upnp/control/rendertransport1], body=[<?xml version="1.0" encoding="utf-8"?>
08	05/31/14 16:23:56.295	JobHandler_LuaUPnP::HandleActionRequest device: 214 service: urn:dlna-org:serviceId:DLNAMediaController1 action: NotifyRenderingChange <0x32cae680>
08	05/31/14 16:23:56.296	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:dlna-org:serviceId:DLNAMediaController1 <0x32cae680>
50	05/31/14 16:23:56.458	luup_log:214: DLNA: debug: UPnP_request: status=1 statusMsg=200 result=[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body>
50	05/31/14 16:23:56.459	luup_log:214: DLNA: debug: refreshNow: start <0x31145680>
50	05/31/14 16:23:56.465	luup_log:214: DLNA: debug: handleRenderingChange for device 214 value <Event xmlns = "urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Mute channel="Master" val="0"/><Volume channel="Master" val="80"/><PresetNameList val="FactoryDefaults"/></InstanceID></Event> <0x2b612000>
50	05/31/14 16:23:56.469	luup_log:214: DLNA: debug: handleRenderingChange for device 214 value <Event xmlns = "urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Mute channel="Master" val="0"/><Volume channel="Master" val="80"/><PresetNameList val="FactoryDefaults"/></InstanceID></Event> <0x2b612000>

The Rocki probably takes more time as expected to start the playback and so the restore of the previous context occurs a little too early before the end of the file.

You can try to play with the variable DelayBeforePlayback you will find in the advanced tab. It is a value in milliseconds. Try to set it to 1000 for example.

[quote=“lolodomo, post:12, topic:181503”]The Rocki probably takes more time as expected to start the playback and so the restore of the previous context occurs a little too early before the end of the file.

You can try to play with the variable DelayBeforePlayback you will find in the advanced tab. It is a value in milliseconds. Try to set it to 1000 for example.[/quote]

Thanks @lolodomo - i tried that but it just delayed the start of the speech by that number of milliseconds. it still cut off in the middle of the sentence, at the same place, regardless of whether DelayBeforePlayback was 0, 1000, 3000, or 5000, it just started speaking after a longer delay with the higher value.

[quote=“mda, post:13, topic:181503”][quote=“lolodomo, post:12, topic:181503”]The Rocki probably takes more time as expected to start the playback and so the restore of the previous context occurs a little too early before the end of the file.

You can try to play with the variable DelayBeforePlayback you will find in the advanced tab. It is a value in milliseconds. Try to set it to 1000 for example.[/quote]

Thanks @lolodomo - i tried that but it just delayed the start of the speech by that number of milliseconds. it still cut off in the middle of the sentence, at the same place, regardless of whether DelayBeforePlayback was 0, 1000, 3000, or 5000, it just started speaking after a longer delay with the higher value.[/quote]

In this case, you can try to adjust in file L_DLNATTS.lua and function GoogleTTS the line (98):

 duration = math.ceil(size/4000) + 1

replacing the final “+1” by “+2”. It will give one additional second for your file to be played.

[quote=“lolodomo, post:14, topic:181503”]In this case, you can try to adjust in file L_DLNATTS.lua and function GoogleTTS the line (98):

 duration = math.ceil(size/4000) + 1

replacing the final “+1” by “+2”. It will give one additional second for your file to be played.[/quote]

@lolodomo i tried 2, 4, and 8 and it made no difference. i confirmed that my change was in place by re-downloading the file from vera. Using this phrase, it stops after the the word “come” regardless of the value in the .lua file.

luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say", {Text="this is a test. Time for dinner everyone! please come to the table.", Language="en", Engine="GOOGLE", Volume=80}, 214)

Is there anything else i can try? Thanks.

[quote=“mda, post:15, topic:181503”][quote=“lolodomo, post:14, topic:181503”]In this case, you can try to adjust in file L_DLNATTS.lua and function GoogleTTS the line (98):

 duration = math.ceil(size/4000) + 1

replacing the final “+1” by “+2”. It will give one additional second for your file to be played.[/quote]

@lolodomo i tried 2, 4, and 8 and it made no difference. i confirmed that my change was in place by re-downloading the file from vera. Using this phrase, it stops after the the word “come” regardless of the value in the .lua file.

luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say", {Text="this is a test. Time for dinner everyone! please come to the table.", Language="en", Engine="GOOGLE", Volume=80}, 214)

Is there anything else i can try? Thanks.[/quote]

In that case, it looks like a problem in the Rocki or the Rocki with the Vera WEB server.

To confirm that, you can try to retrieve the file generated by Google and play it with the Rocki by another way.
To retrieve the file, comment this line in function endPlayback:

        os.execute(DELETE_EXECUTE:format(device))

After a new TTS try, you will find the MP3 file in directory /www with a name like Say.xx.mp3. The file is accessible through this URL too: http://:80/Say.xx.mp3

@lolodomo i followed your testing suggestion and i discovered that it cuts off even if a play it as an mp3 file. However, if i convert the mp3 file to a higher bitrate (at least 96k) then it plays the file all the way to the end !

I suppose that means the Rocki does not handle 16kbps mono mp3 files correctly? Is there any way the plugin could get the tts engine to generate a 96k mp3 file ? Thanks!

Bitrate is set by Google and cannot be changed, sorry.
Except this bug in Rocki causing a not perfect TTS, is everything else working well ?

I am just now starting to test other things on the rocki (I bought it for the purpose of tts). I was able to play an mp3 song (320kbps) on it fine, though I it did go “offline” a couple times yesterday in my testing requiring I re-discover it. I will let you know if that happens in normal use too when I am not doing the tts testing over the next few days.

Sent from my iPhone using Tapatalk