bmercier Posted April 16 Posted April 16 Hello everyone, This is the support thread for PG3x v3.2.22. These features were planned for 3.2.21 but did not make it to the package, so they are released here as part of 3.2.22. 1
sjenkins Posted April 16 Posted April 16 Installed and the new features are working, thanks Benoit! 1
Techman Posted April 18 Posted April 18 @bmercier What directory are the Audio player MP3 files stored in, can they be downloaded and saved?
bmercier Posted April 18 Author Posted April 18 1 minute ago, Techman said: @bmercier What directory are the Audio player MP3 files stored in, can they be downloaded and saved? They are stored in the node server folder under "data". They can't be downloaded through the UI, but you could access it through SCP. They are included in the PG3 backup.
Techman Posted April 19 Posted April 19 @bmercier What would be the syntax, and directory location, for accessing and downloading the MP3 files. I'd like to save the files created by the TTS. option
bmercier Posted April 19 Author Posted April 19 10 hours ago, Techman said: @bmercier What would be the syntax, and directory location, for accessing and downloading the MP3 files. I'd like to save the files created by the TTS. option I'm not sure where TTS files are located. I was referring to the location where the upload of files is done, and that is in the "data" folder of the node server. So, the complete path would be /var/polyglot/pg3/ns/<NS Folder>/data <NS Folder> is <uuid>_<slot> The only exception would be if a plugin is installed in developer mode. The data folder will be where the plugin is being developed. The command to download everything would be something like this: scp -r root@eisy.local:/var/polyglot/pg3/ns/<Ns Folder>/data/* /local/path
Techman Posted April 19 Posted April 19 4 hours ago, bmercier said: I'm not sure where TTS files are located. I was referring to the location where the upload of files is done, and that is in the "data" folder of the node server. So, the complete path would be /var/polyglot/pg3/ns/<NS Folder>/data <NS Folder> is <uuid>_<slot> The only exception would be if a plugin is installed in developer mode. The data folder will be where the plugin is being developed. The command to download everything would be something like this: scp -r root@eisy.local:/var/polyglot/pg3/ns/<Ns Folder>/data/* /local/path Thank you. I'm getting a "no such directory" response. I'm not using developer mode. Is the slot the one used for the audio player?
bmercier Posted April 19 Author Posted April 19 37 minutes ago, Techman said: Thank you. I'm getting a "no such directory" response. I'm not using developer mode. Is the slot the one used for the audio player? Depends where you installed it. You choose the slot when you install.
bmercier Posted April 19 Author Posted April 19 Just now, bmercier said: Depends where you installed it. You choose the slot when you install. SSH to your eiys, and use: ls -l /var/polyglot/pg3/ns This will show you the list of node server's home folders.
Techman Posted April 19 Posted April 19 @bmercier When I use "/var/polyglot/pg3/ns/<NS Folder>/data" I'm able to get to the directory but I get a permission denied. So I can't see the data. How do I get past that?
bmercier Posted April 22 Author Posted April 22 On 4/19/2024 at 8:34 PM, Techman said: @bmercier When I use "/var/polyglot/pg3/ns/<NS Folder>/data" I'm able to get to the directory but I get a permission denied. So I can't see the data. How do I get past that? You need to be root. You can use sudo for that. Either: sudo ls -l /var/polyglot/pg3/ns/<NS Folder>/data Or you can go interactive using: sudo -i
Techman Posted April 26 Posted April 26 @bmercier Is there a way to backup and restore the Audio Player data directory (just the MP3 files) without doing a full system restore. If not, could that be an added feature for the next firmware update?
bmercier Posted April 27 Author Posted April 27 On 4/26/2024 at 2:22 PM, Techman said: @bmercier Is there a way to backup and restore the Audio Player data directory (just the MP3 files) without doing a full system restore. If not, could that be an added feature for the next firmware update? There is not a built-in way to backup that folder, and there are no plans to do it at this time. Does this come from an upload you do from PG3? If so, just save that zip file somewhere when you make an upload.
Techman Posted April 27 Posted April 27 I was thinking in the terms of both an MP3 upload and TTS generated MP3s, the latter which can't easily be saved.
bmercier Posted April 27 Author Posted April 27 1 hour ago, Techman said: I was thinking in the terms of both an MP3 upload and TTS generated MP3s, the latter which can't easily be saved. If this does not change too much, you also have the option of a regular PG3 backup.
Techman Posted April 27 Posted April 27 @bmercier Prior to uploading my MP3 files I deleted all the default sounds. When I did the 5.8.3 update I had to restart the audio player as it wouldn't populate and it reinstalled all the default MP3 files which I then had to delete again. I thought there might be an easy workaround.
Whitehambone Posted May 14 Posted May 14 @bmercier Is there a way to restart a plugin on a schedule or program from IoX? Like a program, IF NodeServer is Disconnected THEN restart NodeServer.
bmercier Posted May 14 Author Posted May 14 2 minutes ago, Whitehambone said: @bmercier Is there a way to restart a plugin on a schedule or program from IoX? Like a program, IF NodeServer is Disconnected THEN restart NodeServer. No, unfortunately not possible. 1
Recommended Posts