08-21-2020, 05:11 PM
(This post was last modified: 08-21-2020, 05:14 PM by TheOldPresbyope.
Edit Reason: typo
)
This export/import discussion probably should be in its own thread
The whole radio subsystem is a bit of a rabbit hole for me. It keeps trying to mutate from a nice background music source into a full-featured Internet radio which is not how I want to use it.
I wrote my Python routines to help a specific user with a problem. If they have been useful to others, great, but I won't pretend they are production quality. As it says in the README, there's a modicum of error checking. It deals only with user-defined stations. Existing user-defined stations on the destination player are left untouched, stations to be loaded which match existing ones in name are skipped, and "id" values aren't used on input so it's not possible to end up with clashing primary keys. That's it.
In my last test, I doubled both the post_max_size and upload_max_filesize parameters to 60M (in /etc/php/7.3/fpm/php.ini) and rebooted. The 413 error reoccurred. By my calculation, there should be plenty of headroom over the 30MB-32MB base64 sizes of the zip files which failed to upload. I don't get it.
Regards,
Kent
![Rolleyes Rolleyes](https://moodeaudio.org/forum/images/smilies/rolleyes.png)
The whole radio subsystem is a bit of a rabbit hole for me. It keeps trying to mutate from a nice background music source into a full-featured Internet radio which is not how I want to use it.
I wrote my Python routines to help a specific user with a problem. If they have been useful to others, great, but I won't pretend they are production quality. As it says in the README, there's a modicum of error checking. It deals only with user-defined stations. Existing user-defined stations on the destination player are left untouched, stations to be loaded which match existing ones in name are skipped, and "id" values aren't used on input so it's not possible to end up with clashing primary keys. That's it.
In my last test, I doubled both the post_max_size and upload_max_filesize parameters to 60M (in /etc/php/7.3/fpm/php.ini) and rebooted. The 413 error reoccurred. By my calculation, there should be plenty of headroom over the 30MB-32MB base64 sizes of the zip files which failed to upload. I don't get it.
Regards,
Kent