
garybixler
Members-
Posts
1024 -
Joined
-
Last visited
Everything posted by garybixler
-
@TUhl01 The audioplayer custom configurations will be found in the Pg3 plugin. I also am having BT problems but the speaker jack output works fine.
-
Go to pg3 then click on audioplayer. Then click on Configuration. Scroll down until you come to custom configuration. At that point you will click on add custom parameter then fill in key and value. Save. The play list will be shown on the audioplayer admin console page. There are sample files on the play list.
-
You can have it make speech announcements by configuring it on the audio player config page. Example: Key Entry: tts_en_en_anyname Value: Text you would like it to say like Hi there,how are you? Will need to restart the audio player and restart Admin console after configuration. It should then show up on the play list. I am having a little difficulty using Bluetooth but it may be related to my BT device
-
I just found this station today. Enter in station value Radio===http://stream.radioparadise.com/global-128 Radio it the name I gave it.
-
Log for 1.0.5. 2024-03-15 20:31:24,121 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2024-03-15 20:31:24,121 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2024-03-15 20:31:24,122 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS command message {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '2'}} from Polyglot 2024-03-15 20:31:24,122 Command udi_interface INFO audio-player:processCommand: Got command: {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '2'}} 2024-03-15 20:31:24,122 Command udi_interface INFO audio-player:processCommand: Playing #2:/storage/sounds//Medication.mp3 2024-03-15 20:31:24,122 Thread-4 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 1 to Polyglot 2024-03-15 20:31:24,122 Thread-4 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2024-03-15 20:31:24,123 Thread-4 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 2 to Polyglot 2024-03-15 20:31:24,123 Thread-4 udi_interface.node DEBUG node:reportDriver: Updating value to 2 2024-03-15 20:31:24,123 Thread-4 udi_interface ERROR udi_interface:write: Exception in thread 2024-03-15 20:31:24,123 Thread-4 udi_interface ERROR udi_interface:write: Thread-4 2024-03-15 20:31:24,123 Thread-4 udi_interface ERROR udi_interface:write: : 2024-03-15 20:31:24,123 Thread-4 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2024-03-15 20:31:24,124 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner 2024-03-15 20:31:24,124 Thread-4 udi_interface ERROR udi_interface:write: self.run() 2024-03-15 20:31:24,124 Thread-4 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 917, in run 2024-03-15 20:31:24,125 Thread-4 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2024-03-15 20:31:24,125 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026038_18/audio-player.py", line 43, in audio_player_thread 2024-03-15 20:31:24,125 Thread-4 udi_interface ERROR udi_interface:write: pd = AudioSegment.from_file(AudioPlayerParams.mediaPath) 2024-03-15 20:31:24,125 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026038_18/.local/lib/python3.9/site-packages/pydub/audio_segment.py", line 651, in from_file 2024-03-15 20:31:24,126 Thread-4 udi_interface ERROR udi_interface:write: file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False) 2024-03-15 20:31:24,126 Thread-4 udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026038_18/.local/lib/python3.9/site-packages/pydub/utils.py", line 60, in _fd_or_path_or_tempfile 2024-03-15 20:31:24,126 Thread-4 udi_interface ERROR udi_interface:write: fd = open(fd, mode=mode) 2024-03-15 20:31:24,126 Thread-4 udi_interface ERROR udi_interface:write: PermissionError 2024-03-15 20:31:24,126 Thread-4 udi_interface ERROR udi_interface:write: : 2024-03-15 20:31:24,127 Thread-4 udi_interface ERROR udi_interface:write: [Errno 13] Permission denied: '/storage/sounds//Medication.mp3' 2024-03-15 20:31:24,131 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '1', 'uom': 25, 'text': None}]} 2024-03-15 20:31:24,131 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '2', 'uom': 25, 'text': None}]} 2024-03-15 20:31:24,162 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 1 UOM 25 2024-03-15 20:31:24,252 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 2 UOM 25
-
Log for version 1.3.0 2024-03-15 20:28:37,253 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2024-03-15 20:28:37,253 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2024-03-15 20:28:37,253 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS command message {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '2'}} from Polyglot 2024-03-15 20:28:37,254 Command udi_interface INFO audio-player:processCommand: Got command: {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '2'}} 2024-03-15 20:28:37,254 Command udi_interface INFO audio-player:processCommand: Playing #2:/storage/sounds/Medication.mp3 2024-03-15 20:28:37,254 Command udi_interface.node DEBUG node:getDriver: 0:AudioPlayer ST - 0 :: getting dv ST 2024-03-15 20:28:37,255 Thread-21 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV3 to 100 to Polyglot 2024-03-15 20:28:37,255 Thread-21 udi_interface.node DEBUG node:reportDriver: Updating value to 100 2024-03-15 20:28:37,255 Thread-21 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 1 to Polyglot 2024-03-15 20:28:37,255 Thread-21 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2024-03-15 20:28:37,256 Thread-21 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 2 to Polyglot 2024-03-15 20:28:37,256 Thread-21 udi_interface.node DEBUG node:reportDriver: Updating value to 2 2024-03-15 20:28:37,256 Dummy-22 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 0 to Polyglot 2024-03-15 20:28:37,256 Dummy-22 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-15 20:28:37,257 Dummy-22 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 0 to Polyglot 2024-03-15 20:28:37,257 Dummy-22 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-15 20:28:37,259 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV3', 'value': '100', 'uom': 51, 'text': None}]} 2024-03-15 20:28:37,259 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '1', 'uom': 25, 'text': None}]} 2024-03-15 20:28:37,260 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '2', 'uom': 25, 'text': None}]} 2024-03-15 20:28:37,260 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-15 20:28:37,260 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-15 20:28:37,291 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV3 to 100 UOM 51 2024-03-15 20:28:37,378 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 1 UOM 25 2024-03-15 20:28:37,421 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 2 UOM 25 2024-03-15 20:28:37,478 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 0 UOM 25 2024-03-15 20:28:37,520 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 0 UOM 25
-
Unfortunately what ever I did I can no longer play the files on either player.
-
IT didn't work I was using the 1.0.5 version. So I did (sudo chmod -R 666 /storage/sounds) hopefully that's correct.
-
I can also play those _t files on version 1.0.5.
-
Yes all other files play.
-
I did a package update and installed version 1..3.0. All is good until I try to play the file with _t added. Nothing happens. My files are on /storage/sounds but I think it my be looking in another directory. 2024-03-15 19:17:00,714 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2024-03-15 19:17:00,715 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2024-03-15 19:17:00,715 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS command message {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '20'}} from Polyglot 2024-03-15 19:17:00,715 Command udi_interface INFO audio-player:processCommand: Got command: {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '20'}} 2024-03-15 19:17:00,715 Command udi_interface INFO audio-player:processCommand: Playing #20:/storage/sounds/HighWinds_t.mp3 2024-03-15 19:17:00,715 Command udi_interface.node DEBUG node:getDriver: 0:AudioPlayer ST - 0 :: getting dv ST 2024-03-15 19:17:00,817 Command udi_interface ERROR audio-player:processCommand: [Errno 2] No such file or directory: 'tmp_sounds/iox48.HighWinds_t.mp3'
-
Some good news with version 1.2.0. The speech files seem to go to completion now. However the prerecorded downloaded sound files, no more that 2 seconds long I use for alerts are still being terminated to soon causing an irritating thud. These are files similar to the default files. In the process of installing 1.2.0 it first loaded version 1.0.5 which works perfectly. I then installed version 1.2.0 again in a different slot and it started with version 1.0.5 and required an update to get to version 1.2.0. So I have both versions running. Thanks Gary
-
I have tried several times to install the free version but it always installs version 1.1.0.
-
When trying to install version 1.0.5 it will only load version 1.1.0.
-
I did add the space and 4 underscore but the text would then say underscore 3 times. I replied to the email of further observation.
-
What is odd however it that some of the mp3 speech files get cut off only after a second while others may go on to almost reaching the end. Thanks.
-
If it means to create a new mp3 tts with the added underscores I tried that. What it does however is say the words underscore, underscore ... Assuming that version 1.0.5 will still work correctly it be possible to remove my purchased 1.1.0 version so I can reload the original audio player? Thanks
-
Thanks Michel. As for the TTS directly added to the plugin, I would be concerned as to the quality of the voice reading the text. It took me awhile to find a good fluent human sounding voice as good as Alexa and with my preferred tonal quality and also free. Just my opinion. I was also thinking that I could use the combination of output jacks and Bluetooth as a two channel source. For example set up the output jacks sourcing a paging system and the Bluetooth for streaming. I assume it would just be a matter of setting up programs for the purpose of switching between the two. Hopefully the BT would stay connected to the paired device. Thanks
-
Yes all are TTS created. Actually some are just down loaded sounds.
-
That is something I would need detailed instructions on in order to do the copy. Sorry
-
The preloaded files seem to go to completion as far as I can tell. May mp3 files are located on the 1 TB drive I installed with a path of /storage/sounds
-
All are under 30 KB. Just simple short announcements.
-
Found other issues. If the volume is changed it always goes back to 100% and if the output is changed to Bluetooth it will resort back to speaker output.
-
Just update to udx version 3.5.6_6 and installed audio player 1.1.0. The problem that I am having is that my speech files are being cut off before completion. Some in 1 second and others in about 3 seconds. Same files that i used in version 1.0.5 with no issue. I am using the speaker jack output. This is the log of one mp3 file played. Thanks Gary 2024-03-12 17:17:53,225 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message command 2024-03-12 17:17:53,226 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING command 2024-03-12 17:17:53,226 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS command message {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '1'}} from Polyglot 2024-03-12 17:17:53,226 Command udi_interface INFO audio-player:processCommand: Got command: {'address': '0', 'cmd': 'PLAY', 'query': {'PLAYLIST.uom25': '1'}} 2024-03-12 17:17:53,226 Command udi_interface INFO audio-player:processCommand: Playing #1:/storage/sounds/Medication.mp3 2024-03-12 17:17:53,226 Command udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 0 to Polyglot 2024-03-12 17:17:53,226 Command udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-12 17:17:53,226 Command udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 0 to Polyglot 2024-03-12 17:17:53,226 Command udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-12 17:17:53,227 Command udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV3 to 100 to Polyglot 2024-03-12 17:17:53,227 Command udi_interface.node DEBUG node:reportDriver: Updating value to 100 2024-03-12 17:17:53,228 Thread-33 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 1 to Polyglot 2024-03-12 17:17:53,228 Thread-33 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2024-03-12 17:17:53,228 Thread-33 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 1 to Polyglot 2024-03-12 17:17:53,228 Thread-33 udi_interface.node DEBUG node:reportDriver: Updating value to 1 2024-03-12 17:17:53,230 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-12 17:17:53,230 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-12 17:17:53,230 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV3', 'value': '100', 'uom': 51, 'text': None}]} 2024-03-12 17:17:53,231 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '1', 'uom': 25, 'text': None}]} 2024-03-12 17:17:53,231 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '1', 'uom': 25, 'text': None}]} 2024-03-12 17:17:53,263 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 0 UOM 25 2024-03-12 17:17:53,350 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 0 UOM 25 2024-03-12 17:17:53,393 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV3 to 100 UOM 51 2024-03-12 17:17:53,449 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 1 UOM 25 2024-03-12 17:17:53,490 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 1 UOM 25 2024-03-12 17:17:53,967 Dummy-34 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set ST to 0 to Polyglot 2024-03-12 17:17:53,968 Dummy-34 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-12 17:17:53,968 Dummy-34 udi_interface.node DEBUG node:setDriver: 0:AudioPlayer Reporting set GV0 to 0 to Polyglot 2024-03-12 17:17:53,968 Dummy-34 udi_interface.node DEBUG node:reportDriver: Updating value to 0 2024-03-12 17:17:53,970 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'ST', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-12 17:17:53,970 Thread-1 udi_interface.interface DEBUG interface:_send: PUBLISHING {'set': [{'address': '0', 'driver': 'GV0', 'value': '0', 'uom': 25, 'text': None}]} 2024-03-12 17:17:54,002 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: ST to 0 UOM 25 2024-03-12 17:17:54,090 MQTT udi_interface.interface INFO interface:_message: Successfully set 0 :: GV0 to 0 UOM 25 2024-03-12 17:18:07,928 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll 2024-03-12 17:18:07,928 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll 2024-03-12 17:18:07,928 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS shortPoll message {} from Polyglot 2024-03-12 17:18:07,929 Thread-35 udi_interface INFO audio-player:poll: short poll