Thank you for your donation!


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


Thread Closed 
Official moOde 8 support thread
(03-17-2022, 09:43 PM)bitlab Wrote:
(03-17-2022, 02:46 PM)UpsiUps Wrote:
Code:
.... line 188 of backupmanager.py ...      
if configPresent:
  print('config')
  content.append('config')

That's the reason, why the Source/Library entry is duplicated. Now, if I want to "restore" , why would i like to append it to the current moodecfg.ini ?  I would rather think I would like to overwrite the moodecfg.ini even if it is in place, nor ?

That piece of code is just fine. That few lines just detect what is present in a backup file.
The only thing that is missing is that on restore first the already present source should be removed to allow multiple time restore of the ini.

But there is a much simpler workflow available: instead of the moodecfg.ini place the backup file renamed to moodebackup.zip in the boot partition.
I think the "content.append()"is the "problem", as it will not overwrite if a config is present. Anyhow, I was not aware about that moodebackup.zip feature. That is exactly what I thought to prevent and do the restore. Will it also execute the optional script you put into the backup ?


Messages In This Thread
Official moOde 8 support thread - by Tim Curtis - 03-13-2022, 08:33 PM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 12:03 AM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 12:31 AM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 12:50 AM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 12:40 AM
RE: Official moOde 8 support thread - by swinokur - 03-14-2022, 02:05 AM
RE: Official moOde 8 support thread - by swinokur - 03-14-2022, 03:55 AM
RE: Official moOde 8 support thread - by Falco - 03-14-2022, 09:40 AM
RE: Official moOde 8 support thread - by jonners - 03-14-2022, 10:38 AM
RE: Official moOde 8 support thread - by jonners - 03-14-2022, 11:05 AM
RE: Official moOde 8 support thread - by jonners - 03-14-2022, 11:52 AM
RE: Official moOde 8 support thread - by petfr - 03-14-2022, 11:55 AM
RE: Official moOde 8 support thread - by petfr - 03-14-2022, 12:49 PM
RE: Official moOde 8 support thread - by Lukesan - 03-15-2022, 04:58 PM
RE: Official moOde 8 support thread - by petfr - 03-15-2022, 05:16 PM
RE: Official moOde 8 support thread - by petfr - 03-15-2022, 12:37 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-14-2022, 12:56 PM
RE: Official moOde 8 support thread - by Macdelf - 03-14-2022, 01:44 PM
RE: Official moOde 8 support thread - by Macdelf - 03-14-2022, 02:43 PM
RE: Official moOde 8 support thread - by Macdelf - 03-14-2022, 03:30 PM
RE: Official moOde 8 support thread - by Macdelf - 03-14-2022, 03:38 PM
RE: Official moOde 8 support thread - by Macdelf - 03-14-2022, 03:00 PM
RE: Official moOde 8 support thread - by Sunfish - 03-14-2022, 01:50 PM
RE: Official moOde 8 support thread - by DRONE7 - 03-14-2022, 08:21 PM
RE: Official moOde 8 support thread - by Sunfish - 03-15-2022, 09:51 AM
RE: Official moOde 8 support thread - by DRONE7 - 03-15-2022, 07:45 PM
RE: Official moOde 8 support thread - by Sunfish - 03-15-2022, 08:19 PM
RE: Official moOde 8 support thread - by jonners - 03-14-2022, 03:45 PM
RE: Official moOde 8 support thread - by jonners - 03-14-2022, 10:31 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-14-2022, 06:10 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-15-2022, 09:25 AM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-14-2022, 06:43 PM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 08:50 PM
RE: Official moOde 8 support thread - by carmol - 03-14-2022, 11:08 PM
RE: Official moOde 8 support thread - by carmol - 03-16-2022, 02:03 PM
RE: Official moOde 8 support thread - by swizzle - 03-16-2022, 11:02 PM
RE: Official moOde 8 support thread - by DRONE7 - 03-14-2022, 10:47 PM
RE: Official moOde 8 support thread - by jonners - 03-15-2022, 09:09 AM
RE: Official moOde 8 support thread - by pimvd - 03-15-2022, 09:55 AM
RE: Official moOde 8 support thread - by pimvd - 03-15-2022, 01:12 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-15-2022, 04:12 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-15-2022, 04:27 PM
RE: Official moOde 8 support thread - by Sunfish - 03-15-2022, 08:20 PM
RE: Official moOde 8 support thread - by Sunfish - 03-16-2022, 08:25 PM
RE: Official moOde 8 support thread - by Falco - 03-16-2022, 08:41 AM
RE: Official moOde 8 support thread - by Falco - 03-16-2022, 09:07 AM
RE: Official moOde 8 support thread - by carmol - 03-16-2022, 04:39 PM
RE: Official moOde 8 support thread - by silver12 - 03-16-2022, 06:12 PM
RE: Official moOde 8 support thread - by DRONE7 - 03-16-2022, 06:20 PM
RE: Official moOde 8 support thread - by DRONE7 - 03-16-2022, 09:45 PM
RE: Official moOde 8 support thread - by Sunfish - 03-17-2022, 09:01 AM
RE: Official moOde 8 support thread - by Frank79 - 03-23-2022, 05:59 PM
RE: Official moOde 8 support thread - by UpsiUps - 03-17-2022, 11:22 AM
RE: Official moOde 8 support thread - by UpsiUps - 03-17-2022, 02:46 PM
RE: Official moOde 8 support thread - by bitlab - 03-17-2022, 09:43 PM
RE: Official moOde 8 support thread - by UpsiUps - 03-18-2022, 08:20 AM
RE: Official moOde 8 support thread - by UpsiUps - 03-18-2022, 08:15 AM
RE: Official moOde 8 support thread - by bitlab - 03-18-2022, 08:52 AM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-17-2022, 03:40 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 03-19-2022, 07:34 PM
RE: Official moOde 8 support thread - by Malefoda - 03-18-2022, 09:25 PM
RE: Official moOde 8 support thread - by zOr7gA8 - 03-20-2022, 09:09 AM
Composer begin with A, An, the etc - by El bubar - 03-20-2022, 09:17 AM
DSD blues - by cofot28 - 03-20-2022, 12:05 PM
RE: DSD blues - by MikeyFresh - 03-20-2022, 02:16 PM
Overlay issue? - by Marrahm - 03-20-2022, 10:19 PM
RE: Overlay issue? - by Tim Curtis - 03-20-2022, 10:45 PM
RE: Overlay issue? - by JanneP - 03-21-2022, 05:33 AM
RE: Overlay issue? - by Marrahm - 03-21-2022, 02:37 PM
RE: Overlay issue? - by Tim Curtis - 03-21-2022, 02:41 PM
RE: Overlay issue? - by JanneP - 03-21-2022, 03:52 PM
RE: Overlay issue? - by Tim Curtis - 03-21-2022, 06:15 PM
RE: Overlay issue? - by Marrahm - 03-21-2022, 12:36 PM
RE: Official moOde 8 support thread - by hui13 - 03-21-2022, 01:47 AM
RE: Official moOde 8 support thread - by s_mury - 03-21-2022, 11:13 AM
RE: Official moOde 8 support thread - by s_mury - 03-22-2022, 10:00 PM
RE: Official moOde 8 support thread - by Frank79 - 03-22-2022, 05:07 PM
RE: Official moOde 8 support thread - by Frank79 - 03-22-2022, 07:33 PM
RE: Official moOde 8 support thread - by s_mury - 03-23-2022, 07:29 AM
RE: Official moOde 8 support thread - by maartin - 03-23-2022, 02:48 PM
RE: Official moOde 8 support thread - by s_mury - 03-23-2022, 03:36 PM
RE: Official moOde 8 support thread - by maartin - 03-23-2022, 04:32 PM
RE: Official moOde 8 support thread - by DRONE7 - 03-23-2022, 06:05 PM
RE: Official moOde 8 support thread - by s_mury - 03-23-2022, 06:43 PM
RE: Official moOde 8 support thread - by maartin - 03-24-2022, 06:59 AM
RE: Official moOde 8 support thread - by DRONE7 - 03-23-2022, 06:23 AM
RE: Official moOde 8 support thread - by DRONE7 - 03-23-2022, 09:50 PM
RE: Official moOde 8 support thread - by Marrahm - 03-24-2022, 03:23 AM
RE: Official moOde 8 support thread - by patrik96 - 03-25-2022, 07:03 AM
RE: Official moOde 8 support thread - by patrik96 - 03-25-2022, 01:36 PM
RE: Official moOde 8 support thread - by patrik96 - 03-26-2022, 07:40 AM
RE: Official moOde 8 support thread - by drfous - 03-26-2022, 04:49 PM
RE: Official moOde 8 support thread - by fdealexa - 03-27-2022, 08:29 PM
RE: Official moOde 8 support thread - by fdealexa - 03-28-2022, 05:46 PM
RE: Official moOde 8 support thread - by fdealexa - 04-02-2022, 03:54 PM
RE: Official moOde 8 support thread - by Pbnmjk - 03-29-2022, 03:48 AM
RE: Official moOde 8 support thread - by Pbnmjk - 03-29-2022, 10:14 PM
RE: Official moOde 8 support thread - by Pbnmjk - 03-29-2022, 11:13 PM
RE: Official moOde 8 support thread - by Pbnmjk - 03-30-2022, 12:56 AM
RE: Official moOde 8 support thread - by Pbnmjk - 03-30-2022, 08:45 PM
RE: Official moOde 8 support thread - by abigor - 03-30-2022, 04:18 PM
RE: Official moOde 8 support thread - by abigor - 03-30-2022, 05:46 PM
RE: Official moOde 8 support thread - by OldNick - 04-01-2022, 11:43 PM
RE: Official moOde 8 support thread - by Frank79 - 04-02-2022, 07:42 AM
RE: Official moOde 8 support thread - by Frank79 - 04-04-2022, 01:34 PM
RE: Official moOde 8 support thread - by rmh1922 - 04-03-2022, 04:03 PM
RE: Official moOde 8 support thread - by dad33 - 04-04-2022, 06:18 AM
RE: Official moOde 8 support thread - by dad33 - 04-04-2022, 02:50 PM
RE: Official moOde 8 support thread - by dad33 - 04-05-2022, 08:02 AM
RE: Official moOde 8 support thread - by Mr.R0b0t - 04-04-2022, 07:09 PM
RE: Official moOde 8 support thread - by jonners - 04-04-2022, 08:52 PM
RE: Official moOde 8 support thread - by Marrahm - 04-15-2022, 06:30 PM
RE: Official moOde 8 support thread - by Jedrek - 04-21-2022, 05:17 PM
RE: Official moOde 8 support thread - by Busybox - 04-22-2022, 06:10 PM
RE: Official moOde 8 support thread - by PERRLA - 04-23-2022, 05:06 AM
RE: Official moOde 8 support thread - by DRONE7 - 04-23-2022, 08:36 AM
RE: Official moOde 8 support thread - by PERRLA - 04-23-2022, 01:08 PM
RE: Official moOde 8 support thread - by fdealexa - 04-23-2022, 11:28 PM
RE: Official moOde 8 support thread - by Jedrek - 04-23-2022, 06:48 PM
RE: Official moOde 8 support thread - by Busybox - 05-15-2022, 09:43 PM
RE: Official moOde 8 support thread - by Busybox - 05-17-2022, 12:35 AM
RE: Official moOde 8 support thread - by Pbnmjk - 06-19-2022, 04:47 AM
RE: Official moOde 8 support thread - by Pbnmjk - 06-20-2022, 11:10 PM
RE: Official moOde 8 support thread - by arnes - 06-25-2022, 01:29 AM
RE: Official moOde 8 support thread - by Pbnmjk - 06-25-2022, 02:00 AM
RE: Official moOde 8 support thread - by Pbnmjk - 06-26-2022, 05:45 AM
No Virtual Keyboard - by Macdelf - 06-28-2022, 06:16 PM
RE: No Virtual Keyboard - by TheOldPresbyope - 06-28-2022, 07:16 PM
RE: No Virtual Keyboard - by Macdelf - 06-29-2022, 12:11 AM
RE: No Virtual Keyboard - by Macdelf - 06-29-2022, 03:46 PM
RE: No Virtual Keyboard - by Nutul - 06-29-2022, 04:20 PM
RE: Official moOde 8 support thread - by maartin - 06-29-2022, 10:08 AM
RE: Official moOde 8 support thread - by maartin - 06-29-2022, 12:02 PM
RE: Official moOde 8 support thread - by maartin - 06-29-2022, 03:50 PM
RE: Official moOde 8 support thread - by maartin - 06-30-2022, 01:18 PM
RE: Official moOde 8 support thread - by pimvd - 07-02-2022, 09:02 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 07-13-2022, 03:02 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 07-14-2022, 03:00 PM
RE: Official moOde 8 support thread - by ciro73 - 07-14-2022, 08:52 PM
RE: Official moOde 8 support thread - by ciro73 - 07-15-2022, 01:57 PM
RE: Official moOde 8 support thread - by ciro73 - 07-15-2022, 05:56 AM
RE: Official moOde 8 support thread - by DRONE7 - 07-15-2022, 07:02 AM
RE: Official moOde 8 support thread - by ciro73 - 07-15-2022, 08:44 PM
RE: Official moOde 8 support thread - by Mr.R0b0t - 07-15-2022, 09:58 PM
RE: Official moOde 8 support thread - by Busybox - 07-19-2022, 04:31 AM
RE: Official moOde 8 support thread - by Busybox - 07-19-2022, 09:46 PM
Unable to edit playlists - by duke.g - 07-19-2022, 10:13 PM
RE: Official moOde 8 support thread - by duke.g - 07-22-2022, 09:49 PM
RE: Official moOde 8 support thread - by duke.g - 07-23-2022, 11:37 AM
RE: Official moOde 8 support thread - by duke.g - 07-23-2022, 12:36 PM
RE: Official moOde 8 support thread - by duke.g - 07-24-2022, 09:12 AM
RE: Official moOde 8 support thread - by duke.g - 07-24-2022, 09:24 AM
RE: Official moOde 8 support thread - by drfous - 07-24-2022, 05:32 PM
RE: Official moOde 8 support thread - by drfous - 07-24-2022, 06:39 PM
RE: Official moOde 8 support thread - by drfous - 07-24-2022, 08:24 PM
RE: Official moOde 8 support thread - by drfous - 07-25-2022, 05:24 PM
RE: Official moOde 8 support thread - by chaos333 - 09-12-2022, 01:51 PM
RE: Official moOde 8 support thread - by elf55 - 09-18-2022, 02:39 PM
RE: Official moOde 8 support thread - by DRONE7 - 09-19-2022, 09:24 AM
RE: Official moOde 8 support thread - by fdealexa - 09-19-2022, 10:35 PM
RE: Official moOde 8 support thread - by fdealexa - 09-19-2022, 11:09 PM
RE: Official moOde 8 support thread - by ycdtosa - 09-24-2022, 02:52 PM
8.1.2 does not update to 8.2.0 - by Sander - 09-25-2022, 08:58 AM
RE: Official moOde 8 support thread - by Sander - 09-25-2022, 01:16 PM
RE: Official moOde 8 support thread - by Marrahm - 09-09-2023, 04:58 PM
RE: Official moOde 8 support thread - by jenzd - 09-14-2023, 08:27 PM
RE: Official moOde 8 support thread - by Nutul - 01-16-2024, 07:40 PM
RE: Official moOde 8 support thread - by fdealexa - 01-17-2024, 12:11 AM
RE: Official moOde 8 support thread - by jenzd - 01-17-2024, 12:21 AM
RE: Official moOde 8 support thread - by Nutul - 01-17-2024, 12:47 PM
RE: Official moOde 8 support thread - by jenzd - 01-17-2024, 11:37 PM
RE: Official moOde 8 support thread - by Nutul - 01-28-2024, 12:50 AM
RE: Official moOde 8 support thread - by jenzd - 02-01-2024, 12:24 AM
RE: Official moOde 8 support thread - by Nutul - 01-24-2024, 02:43 AM
RE: Official moOde 8 support thread - by Nutul - 01-24-2024, 06:22 AM
RE: Official moOde 8 support thread - by neoresin - 01-31-2024, 07:49 PM
RE: Official moOde 8 support thread - by neoresin - 01-31-2024, 08:47 PM
RE: Official moOde 8 support thread - by neoresin - 01-31-2024, 09:10 PM
RE: Official moOde 8 support thread - by Nutul - 01-31-2024, 09:49 PM
RE: Official moOde 8 support thread - by Nutul - 01-31-2024, 10:52 PM
RE: Official moOde 8 support thread - by neoresin - 02-01-2024, 10:15 PM
RE: Official moOde 8 support thread - by Nutul - 02-01-2024, 10:55 PM
RE: Official moOde 8 support thread - by Nutul - 01-31-2024, 11:21 PM
RE: Upcoming moOde 8.2.0 release (Q3) - by Mattt - 09-17-2022, 11:30 PM
RE: Upcoming moOde 8.2.0 release (Q3) - by Mattt - 09-18-2022, 02:14 AM

Forum Jump: