Thank you for your donation!


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


Radio Stations and Images sync
#13
@Tim Curtis

Yeah, I sussed out the schema sometime ago (for a while there was a comment in my code which said "I suppose 's' must stand for system). As it stands now, the script exports all entries tagged 'u'. I don't check the ID on export since that seemed redundant knowing your "add station" functionality. On import, your ID=499 divider as well as existing user-defines are observed en passant since my script lets sqlite3 autoincrement the ID just as yours does. I detest CSV so my script exports and imports the database entries as a JSON file. It's a verbose format but did I mention I detest CSV?

My script doesn't clear out the existing user-defined stations because in my imagined scenarios the user may have already added some stations by hand. Seemed rude to squash them  Tongue

Regards,
Kent
Reply


Messages In This Thread
Radio Stations and Images sync - by Im bored - 08-06-2019, 12:02 AM
RE: Radio Stations and Images sync - by Im bored - 08-08-2019, 10:25 PM
RE: Radio Stations and Images sync - by Im bored - 08-10-2019, 08:08 PM
RE: Radio Stations and Images sync - by ghoeher - 08-10-2019, 09:49 AM
RE: Radio Stations and Images sync - by ghoeher - 08-10-2019, 02:08 PM
RE: Radio Stations and Images sync - by ghoeher - 08-11-2019, 05:28 AM
RE: Radio Stations and Images sync - by TheOldPresbyope - 08-11-2019, 12:35 PM
RE: Radio Stations and Images sync - by Im bored - 08-21-2019, 06:58 PM
RE: Radio Stations and Images sync - by Im bored - 08-21-2019, 08:13 PM
RE: Radio Stations and Images sync - by Im bored - 08-21-2019, 08:24 PM
RE: Radio Stations and Images sync - by Gekel - 05-26-2021, 08:10 AM
RE: Radio Stations and Images sync - by bitlab - 05-26-2021, 08:50 PM

Forum Jump: