Skip to content

Commit

Permalink
some music fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlbo committed Oct 10, 2023
1 parent b506c56 commit 14c111a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ru.vtosters.lite.music.cache;

import android.os.RemoteException;
import android.text.TextUtils;
import bruhcollective.itaysonlab.libvkx.ILibVkxService;
import bruhcollective.itaysonlab.libvkx.client.LibVKXClient;
import bruhcollective.itaysonlab.libvkx.client.LibVKXClientImpl;
Expand All @@ -17,7 +18,7 @@ public static void addTrack(MusicTrack track) {
track.y1(),
track.I != null ? track.I.getId() + "" : "-1",
track.f,
track.g,
!TextUtils.isEmpty(track.g) ? track.g : "",
track.C,
track.I != null ? track.I.getTitle() : "",
track.K,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private static void processSegment(
}

public static String getTitle(MusicTrack track) {
return track.f + (!TextUtils.isEmpty(track.g) ? +'(' + track.g + ')' : "");
return track.f + (!TextUtils.isEmpty(track.g) ? + '(' + track.g + ')' : "");
}

static File getTsesDir(MusicTrack track) {
Expand Down

0 comments on commit 14c111a

Please sign in to comment.