08-22-2020, 01:35 PM
(08-21-2020, 05:11 PM)TheOldPresbyope Wrote: 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
Hi Kent,
I am very sorry if my post has created some doubts: regarding the Python routines (moode-radio-utils), what I meant: the new DB (from 6.6 I guess) has different position and record definition. I tried your two radio list and it doesn't work.
I absolutely do not want to question what you (and all the staff) have created: I would just like to be a help in making Mode better and, of course, the best player.
I apologize for any misunderstandings, please believe me.
Thanks and best regards,
Francesco