Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Official moOde 6.7.1 support thread
(08-22-2020, 05:42 PM)TheOldPresbyope Wrote: @Tim Curtis
@fdealexa

Re: importing radio stations

As expected, bumping the three configuration parameters for php and nginx to 50MB, poking the integrity check in the eye with a sharp stick, and rebooting, I was able to import the two biggest files provided to me. The attached screen capture shows logos of some of the DAB+ stations which were in the last file I imported.

Francesco, I don't recommend you try hand-editing the moOde internals; I'm sure this increase in import file capacity will show up in the next release. There will always be some limit, for the reasons Tim mentioned, but I think 50MB is a reasonable one.

Regards,
Kent

Thanks Kent.
in the meantime you kindly tell me "what to do" for the parameters, I tried to change your Python code:
changing line 98 of loadmyradios.py, I got the insertion of your two radios.

Code:
cur.execute ("INSERT INTO cfg_radio VALUES (?,?,?,?,?,?,?,?,?,?,?,?)", (None, entry ['station'], name, entry [ 'type'], item ['logo'], None, None, None, None, None, None, None))

Now I'd completely fix it, if you can send me the new record scheme (if you have it).
It probably is

Code:
(id, station, name, type, logo, genre, broadcaster, language, country, region, bitrate, audio format)

Thanks again,
Francesco
Reply


Messages In This Thread
Small GUI detail - by jv275475 - 07-24-2020, 07:46 AM
Tags used by Moode - by Macdelf - 08-02-2020, 01:46 PM
RE: Official moOde 6.7.1 support thread - by fdealexa - 08-22-2020, 06:06 PM
Track Tags - by Macdelf - 12-16-2020, 11:57 PM
RE: Track Tags - by TheOldPresbyope - 12-17-2020, 12:56 AM
RE: Track Tags - by Macdelf - 12-17-2020, 04:32 PM
RE: Track Tags - by Kikaha - 12-17-2020, 05:01 PM

Forum Jump: