-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve metadata handling (#85)
- Loading branch information
Showing
7 changed files
with
406 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
572 changes: 377 additions & 195 deletions
572
...in-audio/src/main/java/com/doublesymmetry/kotlinaudio/notification/NotificationManager.kt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
kotlin-audio/src/main/java/com/doublesymmetry/kotlinaudio/players/components/MediaItemExt.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.doublesymmetry.kotlinaudio.players.components | ||
|
||
import com.doublesymmetry.kotlinaudio.models.AudioItemHolder | ||
import com.google.android.exoplayer2.MediaItem | ||
|
||
fun MediaItem.getAudioItemHolder(): AudioItemHolder { | ||
return localConfiguration!!.tag as AudioItemHolder | ||
} |
37 changes: 0 additions & 37 deletions
37
...n-audio/src/main/java/com/doublesymmetry/kotlinaudio/players/components/MediaSourceExt.kt
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
kotlin-audio/src/main/java/com/doublesymmetry/kotlinaudio/utils/FlowExtensions.kt
This file was deleted.
Oops, something went wrong.