Page 1 of 1

Play announcement issues

PostPosted: Sun Jul 30, 2017 7:20 am
by pocster
Hey!

Trying to get this working. Setup a quick test icon on a control page; but nothing is heard.

Autolog Squeezebox announcementUniqueKey = [1501420742839]
Autolog Squeezebox speechText (Processed) = [This is some test speech]
Autolog Squeezebox announcementPrepend = 'False', announcementAppend = 'False'
Autolog Squeezebox RESP = b8:27:eb:73:da:57 autologAnnouncementRequest 1501420742839 [REPLY-TO-SEND]
Autolog Squeezebox ANNOUNCEMENT-STEP: 'request' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 autologAnnouncementInitialise [REPLY-TO-SEND]
Autolog Squeezebox ANNOUNCEMENT-STEP: 'initialise' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 power 1 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 mode play [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playerpref volume 100 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playerpref maintainSync 0 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist repeat 0 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist shuffle 0 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 time 0 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 displaynotify showbriefly HASH(0x7f862082b718) [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 stop [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 stop [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist stop [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 autologAnnouncementSaveState [REPLY-TO-SEND]
Autolog Squeezebox ANNOUNCEMENT-STEP: 'saveState' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 menustatus ARRAY(0x7f861f610a88) add b8:27:eb:73:da:57 [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist save autolog_1300947603 silent:1 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist save autolog_1300947603 silent:1 [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 autologAnnouncementPlay [REPLY-TO-SEND]
Autolog Squeezebox ANNOUNCEMENT-STEP: 'play' [PI-Kitchen seq_no:0]
Autolog Squeezebox DEBUG-PLAY-ANNOUNCEMENT: announcementFile = '//Users/markhula/Desktop/video/autolog/autologSpeech.aiff'
Autolog Squeezebox RESP = b8:27:eb:73:da:57 mixer volume 100 [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 mixer volume 100 [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist clear [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist clear [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 prefset server currentSong [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist add /Users/markhula/Desktop/video/autolog/autologSpeech.aiff [REPLY-TO-SEND]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist add /Users/markhula/Desktop/video/autolog/autologSpeech.aiff [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 play [REPLY-TO-SEND]
Autolog Squeezebox ANNOUNCEMENT-STEP [PLAY]: 'play' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist load_done [LISTEN-NOTIFICATION]
Autolog Squeezebox ANNOUNCEMENT-STEP: 'loaded' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 displaynotify showbriefly HASH(0x7f862027ae28) HASH(0x7f86208230d0) [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 displaynotify showbriefly HASH(0x7f861f644a78) HASH(0x7f861e778dc8) [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 prefset server currentSong 0 [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 play [LISTEN-NOTIFICATION]
Autolog Squeezebox ANNOUNCEMENT-STEP [PLAY]: 'loaded' [PI-Kitchen seq_no:0]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist jump 0 [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist open file:///Users/markhula/Desktop/video/autolog/autologSpeech.aiff [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist open file:///Users/markhula/Desktop/video/autolog/autologSpeech.aiff [LISTEN-NOTIFICATION]
Autolog Squeezebox RESP = b8:27:eb:73:da:57 playlist newsong autologSpeech 0 [LISTEN-NOTIFICATION]

Re: Play announcement issues

PostPosted: Sun Jul 30, 2017 8:08 am
by autolog
I just tried this and yes I am having an issue as well :|

I'll have to add it the task list to look at - I really don't want to do any more work on the Indigo 6 version.
As I mentioned I have started an update to make the plugin work with Indigo 7.
There is quite a lot to change as there are numerous server updates which can be amalgamated and the logging has changed as well.

I will look at trying to figure out what is going adrift. :)

fyi: I am using and will be testing against version 7.9.0 (or later) of the Logitech Media Server.

Re: Play announcement issues

PostPosted: Sun Jul 30, 2017 9:38 am
by pocster
Of course !
Appreciate your efforts !!

Cheers

Re: Play announcement issues

PostPosted: Mon Jul 31, 2017 5:46 am
by pocster
Hey!

I know you'll look at this but thinking ahead......

Speech effectively comes from the squeezebox server i.e. not the device. Hence speech is per setup i.e. all music is stopped if multiple players .
Is there a technical reason for this? . I'm asking could different players have different speech? :P

Cheers

Re: Play announcement issues

PostPosted: Mon Jul 31, 2017 10:07 am
by autolog
Well different players can have different speech (or that is how it is meant to work). :)

If you have players grouped, then outputting speech to a player in that group should cause the speech to go to all grouped players.

The plugin takes the speech text, converts it to a "music" file , interrupts the current play queue, plays the speech and then restarts the play queue.

Play announcement issues

PostPosted: Mon Jul 31, 2017 11:09 am
by pocster
Oh !
I thought it couldn't do that as I'm sure I read it's done at the server level - I took that as speech for 1 not unique for all . Goodie ! . I eagerly await your indigo 7 update :-))))))

As a thought can you in the plugin save the linked players . Alter them . Do speech . Reset them back to saved arrangement?
So for example the speech could follow you around the house if triggered by various movement sensors :-)))

Cheers