File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
app/src/main/kotlin/com/metrolist/music/playback Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2279,17 +2279,17 @@ class MusicService :
22792279 } catch (_: SQLException ) {
22802280 }
22812281 }
2282- }
22832282
2284- CoroutineScope (Dispatchers .IO ).launch {
2285- val playbackUrl = database.format(mediaItem.mediaId).first()?.playbackUrl
2286- ? : YTPlayerUtils .playerResponseForMetadata(mediaItem.mediaId, null )
2287- .getOrNull()?.playbackTracking?.videostatsPlaybackUrl?.baseUrl
2288- playbackUrl?.let {
2289- YouTube .registerPlayback(null , playbackUrl)
2290- .onFailure {
2291- reportException(it)
2292- }
2283+ CoroutineScope (Dispatchers .IO ).launch {
2284+ val playbackUrl = database.format(mediaItem.mediaId).first()?.playbackUrl
2285+ ? : YTPlayerUtils .playerResponseForMetadata(mediaItem.mediaId, null )
2286+ .getOrNull()?.playbackTracking?.videostatsPlaybackUrl?.baseUrl
2287+ playbackUrl?.let {
2288+ YouTube .registerPlayback(null , playbackUrl)
2289+ .onFailure {
2290+ reportException(it)
2291+ }
2292+ }
22932293 }
22942294 }
22952295 }
You can’t perform that action at this time.
0 commit comments