Skip to content

Commit

Permalink
Fix misplaced string
Browse files Browse the repository at this point in the history
  • Loading branch information
ImAiiR committed Jul 18, 2020
1 parent ea09798 commit ffbd8e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions QobuzDownloaderX/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ private async void downloadDiscogBG_DoWork(object sender, DoWorkEventArgs e)
albumArtistPath = GetSafeFilename(albumArtist);
albumArtistTextBox.Invoke(new Action(() => albumArtistTextBox.Text = albumArtist));

performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(albumArtist);
performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(performerName);
performerNamePath = GetSafeFilename(performerName);

try { composerName = (string)joTrackResponse["composer"]["name"]; composerName = DecodeEncodedNonAsciiCharacters(composerName); } catch { /*Ignore if fails*/ }
Expand Down Expand Up @@ -1470,7 +1470,7 @@ private async void downloadLabelBG_DoWork(object sender, DoWorkEventArgs e)
albumArtistPath = GetSafeFilename(albumArtist);
albumArtistTextBox.Invoke(new Action(() => albumArtistTextBox.Text = albumArtist));

performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(albumArtist);
performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(performerName);
performerNamePath = GetSafeFilename(performerName);

try { composerName = (string)joTrackResponse["composer"]["name"]; composerName = DecodeEncodedNonAsciiCharacters(composerName); } catch { /*Ignore if fails*/ }
Expand Down Expand Up @@ -3035,7 +3035,7 @@ private async void downloadAlbumBG_DoWork(object sender, DoWorkEventArgs e)
albumArtistPath = GetSafeFilename(albumArtist);
albumArtistTextBox.Invoke(new Action(() => albumArtistTextBox.Text = albumArtist));

performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(albumArtist);
performerName = (string)joTrackResponse["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(performerName);
performerNamePath = GetSafeFilename(performerName);

try { composerName = (string)joTrackResponse["composer"]["name"]; composerName = DecodeEncodedNonAsciiCharacters(composerName); } catch { /*Ignore if fails*/ }
Expand Down Expand Up @@ -3748,7 +3748,7 @@ private async void downloadTrackBG_DoWork(object sender, DoWorkEventArgs e)
albumArtistPath = GetSafeFilename(albumArtist);
albumArtistTextBox.Invoke(new Action(() => albumArtistTextBox.Text = albumArtist));

performerName = (string)joResponse2["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(albumArtist);
performerName = (string)joResponse2["performer"]["name"]; performerName = DecodeEncodedNonAsciiCharacters(performerName);
performerNamePath = GetSafeFilename(performerName);

try { composerName = (string)joResponse2["composer"]["name"]; composerName = DecodeEncodedNonAsciiCharacters(composerName); } catch { /*Ignore if fails*/ }
Expand Down

0 comments on commit ffbd8e5

Please sign in to comment.