Skip to content

Commit 933ea2e

Browse files
committed
update some todo comments
1 parent 4255161 commit 933ea2e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/uk/akane/libphonograph/manipulator/PlaylistSerializer.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,12 +1200,12 @@ object PlaylistSerializer {
12001200
else preferredLocation.toString()
12011201
fun updateFromMediaItem(pathMap: Map<String, MediaItem>?) =
12021202
resolveMediaItem(pathMap)?.let { copyFromMediaItem(it) } ?: this
1203-
// TODO(ASAP): add basic xspf (maybe for extm3u or pls too?) content resolving
1203+
// TODO: add basic xspf (maybe for extm3u or pls too?) content resolving
12041204
fun resolveMediaItem(pathMap: Map<String, MediaItem>?) =
12051205
locations.filter { it.scheme == "file" }.firstNotNullOfOrNull { link ->
12061206
pathMap!![link.toFile().absolutePath]
12071207
}
1208-
// TODO: support multiple location
1208+
// TODO: support multiple location before shipping Reader2
12091209
fun resolveMediaItem2(pathMapFlow: Flow<IncrementalMap<String, MediaItem>>) =
12101210
locations.find { it.scheme == "file" }?.let { link ->
12111211
pathMapFlow.forKey(link.toFile().absolutePath)
@@ -1225,7 +1225,7 @@ object PlaylistSerializer {
12251225
artist = song.mediaMetadata.artist?.toString(),
12261226
album = song.mediaMetadata.albumTitle?.toString(),
12271227
trackNum = song.mediaMetadata.trackNumber?.toUInt()
1228-
// TODO(ASAP) write album art jpg path (if external instead of embedded) to "image" field
1228+
// TODO: write album art jpg path (if external instead of embedded) to "image" field
12291229
)
12301230

12311231
fun fuzzyEquals(other: Entry): Boolean {

0 commit comments

Comments
 (0)