From b4bab99ef9ff1e21c09428ac01cd64bed2f49402 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 6 Mar 2020 04:11:43 -0600
Subject: [PATCH] Make logging more appropriate in edit prompt

---
 badwitch.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/badwitch.py b/badwitch.py
index 8b7ebe0..e406917 100755
--- a/badwitch.py
+++ b/badwitch.py
@@ -161,6 +161,8 @@ class BadWitch:
                     auto_track = int(input('\tStarting track number (leave blank to assign per song): ') or -1)
                     if in_album not in lib.albums:
                         lib.albums[in_album] = {}
+                    else:
+                        print('\tLoaded existing album')
                     album = lib.albums[in_album]
                     try:
                         while True:
@@ -178,6 +180,8 @@ class BadWitch:
                             # Only assign values if we gave them
                             if in_song not in album:
                                 album[in_song] = {}
+                            else:
+                                print('\t\tLoaded existing song')
                             song = album[in_song]
                             if in_track is not '': song['track'] = int(in_track)
                             if in_artist is not '': song['artist'] = in_artist
@@ -185,13 +189,13 @@ class BadWitch:
                             # Bail if song is bad
                             for field in ['track', 'artist', 'source']:
                                 if field not in song:
-                                    print('Critical field is empty: ' + field)
+                                    print('\t\tError: Critical field is empty: ' + field)
                                     continue
                     except KeyboardInterrupt:
                         print('\n\t\tAborting, changes were not saved')
                     except EOFError:
                         album[in_song] = song
-                        print('\n\t\tSaving changes')
+                        print('\n\t\tChanges cached, ^D again to save')
                     lib.albums[in_album] = album
                     lib.save()
             except KeyboardInterrupt: