Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Update Search.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BackInBash committed Nov 25, 2019
1 parent 4456095 commit 836162c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeezerSync/DeezerSync.Core/Search.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ protected async Task<bool> AddSongToPlaylist(string id, List<long> ids)

private async Task SavePreparedData(List<StandardTitle> titles, StandardTitle searched, StandardTitle reported)
{
await File.WriteAllTextAsync(@"../../../../../DataAnalytics/PreparedData/SearchResults/" + searched.id + "-" + System.Guid.NewGuid() + ".json", JsonConvert.SerializeObject(new DebugResult { Searching = searched, Results = titles, Reported = reported }, Formatting.Indented));
//await File.WriteAllTextAsync(@"../../../../../DataAnalytics/PreparedData/SearchResults/" + searched.id + "-" + System.Guid.NewGuid() + ".json", JsonConvert.SerializeObject(new DebugResult { Searching = searched, Results = titles, Reported = reported }, Formatting.Indented));
}

/// <summary>
Expand Down Expand Up @@ -246,7 +246,7 @@ public async Task<long> search(List<StandardTitle> results, StandardTitle Search
/*
* DeezerSync Result Search Filter
* Results 722 songs out of 1593
* False positives < 30
* False positives > 30
*/
//Artist
if (!string.IsNullOrEmpty(result.artist))
Expand Down

0 comments on commit 836162c

Please sign in to comment.