The flow
Starts it 5Logic 16Service 24
The steps in the order they run, from what starts it.
- 1Every day at noonSchedule triggerStarts it
- 2Every day at noon + 1mnSchedule triggerStarts it
- 3Every hourSchedule triggerStarts it
- 4Every day at midnightSchedule triggerStarts it
- 5Every monthSchedule triggerStarts it
- 6variables2SetLogic
- 7variables1SetLogic
- 8variablesSetLogic
- 9variables3SetLogic
- 10variables4SetLogic
- 11SpotifySpotifyService
- 12Get all musicsSupabaseService
- 13Get all musics not in youtube playlistSupabaseService
- 14Get playlist snapshotSpotifyService
- 15Get all musics that should be in playlistSupabaseService
- 16Get playlist itemsYou TubeService
- 17Get all musics to be deletedSupabaseService
- 18Reset NOTFOUND id to NULLSupabaseService
- 19Compare DatasetsCompare DatasetsService
- 20dataSetLogic
- 21Wait 1 hourWaitLogic
- 22Check for deleted videosCompare DatasetsService
- 23Playlist items to be deletedCompare DatasetsService
- 24Add musicSupabaseService
- 25Update to_delete to trueSupabaseService
- 26Loop Over Items1Split In BatchesLogic
- 27Get playlist snapshot1SpotifyService
- 28Set youtube_video_id to nullSupabaseService
- 29Remove DuplicatesRemove DuplicatesLogic
- 30data1SetLogic
- 31If different snapshotIfLogic
- 32Remove video from playlistYou TubeService
- 33Search videoYou TubeService
- 34No Operation, do nothingNo OpLogic
- 35Delete musicSupabaseService
- 36If no resultIfLogic
- 37AggregateAggregateLogic
- 38Loop Over ItemsSplit In BatchesLogic
- 39Set youtube id to NOTFOUND if no matchingSupabaseService
- 40Get video durationYou TubeService
- 41Discord1DiscordService
- 42If video duration ~= music durationIfLogic
- 43Add music to playlistYou TubeService
- 44Add youtube id to rowSupabaseService
- 45DiscordDiscordService