mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Working
This commit is contained in:
parent
5040381840
commit
13a2ff0e20
67 changed files with 395 additions and 93 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// AppleMusicController.swift
|
||||
// boringNotch
|
||||
// DynamicIsland
|
||||
//
|
||||
// Created by Alexander Greco on 2025-03-29.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MediaControllerProtocol.swift
|
||||
// boringNotch
|
||||
// DynamicIsland
|
||||
//
|
||||
// Created by Alexander Greco on 2025-03-29.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// NowPlayingController.swift
|
||||
// boringNotch
|
||||
// DynamicIsland
|
||||
//
|
||||
// Created by Alexander on 2025-03-29.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// SpotifyController.swift
|
||||
// boringNotch
|
||||
// DynamicIsland
|
||||
//
|
||||
// Created by Alexander Greco on 2025-03-29.
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// YouTubeMusicController.swift
|
||||
// boringNotch
|
||||
// DynamicIsland
|
||||
//
|
||||
// Created By Alexander Greco on 2025-03-30.
|
||||
//
|
||||
|
|
@ -23,7 +23,7 @@ class YouTubeMusicController: MediaControllerProtocol {
|
|||
private var cancellables = Set<AnyCancellable>()
|
||||
private var playbackInfoCancellable: AnyCancellable?
|
||||
private var isAuthenticating = false
|
||||
private let authQueue = DispatchQueue(label: "com.boringnotch.youtubemusicauth", qos: .background)
|
||||
private let authQueue = DispatchQueue(label: "com.dynamicisland.youtubemusicauth", qos: .background)
|
||||
|
||||
init() {
|
||||
setupAppStateObservers()
|
||||
|
|
@ -64,7 +64,7 @@ class YouTubeMusicController: MediaControllerProtocol {
|
|||
}
|
||||
|
||||
private func getAccessToken(completion: @escaping (Bool) -> Void) {
|
||||
guard let url = URL(string: "\(baseURL)/auth/boringNotch") else {
|
||||
guard let url = URL(string: "\(baseURL)/auth/dynamicIsland") else {
|
||||
completion(false)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue