Replaced duplicate errorids in say.php
Created assets.php to take a json file ( the same format as dbeaver export ) and adds it to the database using REPLACE INTO.
This will add the entry if it is missing, and will update it if it is present
There is no option to delete.
The data needs to be valid and be the correct types, and the episode needs to exist.
Added a list of allowed file extensions to include.php
Replaced duplicate errorids in `say.php`
Created `assets.php` to take a json file ( the same format as dbeaver export ) and adds it to the database using `REPLACE INTO`.
This will add the entry if it is missing, and will update it if it is present
There is no option to delete.
The data needs to be valid and be the correct types, and the episode needs to exist.
Added a list of allowed file extensions to `include.php`
```
{
"assets": [
{
"episode_id" : 4501,
"filename" : "hpr4501.mp3",
"extension" : "mp3",
"size" : 7243886,
"sha1sum" : "df7ceb16e600b08071bdb484ec6539b8e9341c92",
"mime_type" : "audio\/mpeg; charset=binary",
"file_type" : "setgid Audio file with ID3 version 2.4.0, contains:MPEG ADTS, layer III, v1, 64 kbps, 48 kHz, Monaural"
},
{
"episode_id" : 4501,
"filename" : "hpr4501.opus",
"extension" : "opus",
"size" : 7243886,
"sha1sum" : "df7ceb16e600b08071bdb484ec6539b8e9341c92",
"mime_type" : "audio\/mpeg; charset=binary",
"file_type" : "setgid Audio file with ID3 version 2.4.0, contains:MPEG ADTS, layer III, v1, 64 kbps, 48 kHz, Monaural"
}
]
}
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replaced duplicate errorids in
say.phpCreated
assets.phpto take a json file ( the same format as dbeaver export ) and adds it to the database usingREPLACE INTO.This will add the entry if it is missing, and will update it if it is present
There is no option to delete.
The data needs to be valid and be the correct types, and the episode needs to exist.
Added a list of allowed file extensions to
include.php#HPR/hpr_generator#226