Lol - I think you can imagine that it is also for me a big deal when GMusic is finnaly back to a working state
I dont have the ["I'm Feeling Lucky"]
in Playlists
(only when the script did not had the time to overwrite the playlists)
Loading process:
2019-04-28 09:41:43.805894 INFO Google Music: --------------------------------------------
2019-04-28 09:41:43.806295 INFO Google Music: ['15.12 will mal wieder', '1.15 1', 'on the Spotlight', '00-kontra_k-aus_dem_schatten_ins_licht-de-2015-noir', '.new 0114', '0- Auto', 'Likes', 'ipod', '-a5 Weich', '-. mhmm 1', '.--.-. plus neu', 'KENNENLERNRUNDEN', '???', '.-. a mal wieder?', '-- a ip bo', 'JUL 15 HART', 'Jun 15', 'All', 'New Playlist 1', '.square bo', 'Rhyminsimon', 'Humorvoll', 'Oldscool', 'Nachdenklich', 'Raketig', 'Genetikk', 'Jul15 Kein Text Herlich', 'Spoken View Rundschau', '2016 Zahnarzt', 'Musikalische Wahrheit', '.- Aaactuall', 'Mach n Klingel Ton draus', 'Run', 'Soul', 'November?', 'August 16 goody', '1! WTF!', "000 VA's", 'September 2016 nice', 'Runde Sache', '111 ��ndern', 'Kolle', 'Downbeat', '000 eine w��hrende playlist', 'Faustkampf', 'Neugierde', 'A ip bo 1', 'Klingelton', 'SPORT', '����laufen', '01. Offline', 'ZM', 'Kostenlos', 'Morgen', 'Ich weine gleich', '-a5 instumental backgr', '.pls']
2019-04-28 09:41:43.808413 INFO Google Music: 1: 15.12 will mal wieder
2019-04-28 09:41:43.810482 INFO Google Music: 2: 1.15 1
2019-04-28 09:41:43.812743 INFO Google Music: 3: on the Spotlight
...
..
2019-04-28 09:41:43.910846 INFO Google Music: 50: ����laufen
2019-04-28 09:41:43.912910 INFO Google Music: 51: 01. Offline
2019-04-28 09:41:43.914912 INFO Google Music: 52: ZM
2019-04-28 09:41:43.916968 INFO Google Music: 53: Kostenlos
2019-04-28 09:41:43.919101 INFO Google Music: 54: Morgen
2019-04-28 09:41:43.921164 INFO Google Music: 55: Ich weine gleich
2019-04-28 09:41:43.923169 INFO Google Music: 56: -a5 instumental backgr
2019-04-28 09:41:43.925219 INFO Google Music: 57: .pls
2019-04-28 09:41:43.927231 INFO Google Music: --------------------------------------------
2019-04-28 09:41:44.341947 INFO Google Music: --------------------------------------------
2019-04-28 09:41:44.342361 INFO Google Music: ["I'm Feeling Lucky"]
2019-04-28 09:41:44.344943 INFO Google Music: --------------------------------------------
2019-04-28 09:41:49.754232 INFO Google Music: Powered ON -- Connected: media_player.mini
2019-04-28 09:41:51.207083 INFO Google Music: --------------------------------------------
2019-04-28 09:19:54.445010 INFO Google Music: 56: -a5 instumental backgr
2019-04-28 09:19:54.446952 INFO Google Music: 57: .pls
2019-04-28 09:19:54.448864 INFO Google Music: --------------------------------------------
2019-04-28 09:19:54.879681 INFO Google Music: --------------------------------------------
2019-04-28 09:19:54.880043 INFO Google Music: ["I'm Feeling Lucky"]
2019-04-28 09:19:54.882243 INFO Google Music: --------------------------------------------
2019-04-28 09:20:09.679721 INFO Google Music: Powered ON -- Connected: media_player.mini
2019-04-28 09:20:09.681708 INFO Google Music: --------------------------------------------
2019-04-28 09:20:09.685017 INFO Google Music: Loading [20] Tracks From: .--.-. plus neu
2019-04-28 09:20:09.688487 INFO Google Music: --------------------------------------------
2019-04-28 09:20:09.688968 WARNING AppDaemon: ------------------------------------------------------------
2019-04-28 09:20:09.689399 WARNING AppDaemon: Unexpected error in worker for App Google Music:
2019-04-28 09:20:09.690013 WARNING AppDaemon: Worker Ags: {'name': 'Google Music', 'id': UUID('f6b6bc6f-x-8e67a104a468'), 'type': 'attr', 'function': <bound method GMAAC.get_tracks of <gmaac.GMAAC object at 0x7ff872830470>>, 'attribute': 'state', 'entity': 'input_boolean.gmaac_load_pl', 'new_state': 'on', 'old_state': 'off', 'kwargs': {'new': 'on', 'handle': UUID('f076079a-x-beb43be2ac5f')}}
2019-04-28 09:20:09.690365 WARNING AppDaemon: ------------------------------------------------------------
2019-04-28 09:20:09.691156 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/appdaemon/appdaemon.py", line 595, in worker
self.sanitize_state_kwargs(app, args["kwargs"]))
File "/config/appdaemon/apps/gmaac.py", line 195, in get_tracks
self.load_playlist(entity=None,attribute=None,old=None,new=None,kwargs=None)
File "/config/appdaemon/apps/gmaac.py", line 215, in load_playlist
self.get_track(entity=None,attribute=None,old=None,new=None,kwargs=None)
File "/config/appdaemon/apps/gmaac.py", line 257, in get_track
self._song = _track['track'] ## use with playlist
KeyError: 'track'
2019-04-28 09:20:09.691606 WARNING AppDaemon: ------------------------------------------------------------
Now with a playlist containing one song:
2019-04-28 09:41:43.923169 INFO Google Music: 56: -a5 instumental backgr
2019-04-28 09:41:43.925219 INFO Google Music: 57: .pls
2019-04-28 09:41:43.927231 INFO Google Music: --------------------------------------------
2019-04-28 09:41:44.341947 INFO Google Music: --------------------------------------------
2019-04-28 09:41:44.342361 INFO Google Music: ["I'm Feeling Lucky"]
2019-04-28 09:41:44.344943 INFO Google Music: --------------------------------------------
2019-04-28 09:41:49.754232 INFO Google Music: Powered ON -- Connected: media_player.mini
2019-04-28 09:41:51.207083 INFO Google Music: --------------------------------------------
2019-04-28 09:41:51.209348 INFO Google Music: Loading [1] Tracks From: Oldscool
2019-04-28 09:41:51.209720 INFO Google Music: [{'kind': 'sj#playlistEntry', 'id': 'dc125a35-d061-316e-9f9d-b42e58c91668', 'clientId': '5c7b09e6-e4d7-4609-82b2-4f7236e7cd84', 'playlistId': '41408b42-ea61-42fc-ab67-347ec4c35e77', 'absolutePosition': '01729382256910270462', 'trackId': '5caef26a-fbd8-3c87-a05b-588473897b10', 'creationTimestamp': '1472161720730418', 'lastModifiedTimestamp': '1472161720730418', 'deleted': False, 'source': '1'}]
2019-04-28 09:41:51.211632 INFO Google Music: --------------------------------------------
2019-04-28 09:41:51.211915 WARNING AppDaemon: ------------------------------------------------------------
2019-04-28 09:41:51.212179 WARNING AppDaemon: Unexpected error in worker for App Google Music:
2019-04-28 09:41:51.212502 WARNING AppDaemon: Worker Ags: {'name': 'Google Music', 'id': UUID('e06291e8-d3a1-41db-b72b-49536f0ec545'), 'type': 'attr', 'function': <bound method GMAAC.get_tracks of <gmaac.GMAAC object at 0x7f8afea0deb8>>, 'attribute': 'state', 'entity': 'input_boolean.gmaac_load_pl', 'new_state': 'on', 'old_state': 'off', 'kwargs': {'new': 'on', 'handle': UUID('9d3975bf-b77d-48f6-8b29-14b645b3428a')}}
2019-04-28 09:41:51.212735 WARNING AppDaemon: ------------------------------------------------------------
2019-04-28 09:41:51.213322 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/appdaemon/appdaemon.py", line 595, in worker
self.sanitize_state_kwargs(app, args["kwargs"]))
File "/config/appdaemon/apps/gmaac.py", line 195, in get_tracks
self.load_playlist(entity=None,attribute=None,old=None,new=None,kwargs=None)
File "/config/appdaemon/apps/gmaac.py", line 215, in load_playlist
self.get_track(entity=None,attribute=None,old=None,new=None,kwargs=None)
File "/config/appdaemon/apps/gmaac.py", line 257, in get_track
self._song = _track['track'] ## TESTDOIHAVETORESTART??
KeyError: 'track'
2019-04-28 09:41:51.213640 WARNING AppDaemon: ------------------------------------------------------------
What makes my live easyer - In good old HA manner I always restarted AppDeamon - Not needed as I see