mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-03-31 09:01:33 +02:00
- Add multi-select support to library_tracks_folder_screen (wishlist, loved, playlist) with long-press to enter selection mode, animated bottom bar with batch remove/download/add-to-playlist actions, and PopScope exit handling - Create batch showAddTracksToPlaylistSheet in playlist_picker_sheet with playlist thumbnail widget and cover image support - Add playlist grid selection tint overlay in queue_tab - Optimize collection lookups with pre-built _allPlaylistTrackKeys index and isTrackInAnyPlaylist/hasPlaylistTracks accessors - Eagerly initialize localLibraryProvider and libraryCollectionsProvider - Enable SQLite WAL mode and PRAGMA synchronous=NORMAL across all databases - Go backend: duplicate SAF output FDs before provider attempts to prevent fdsan abort on fallback retries; close detached FDs after download completes - Go backend: rewrite compatibilityTransport to try HTTPS first and only fallback to HTTP on transport-level failures, preventing redirect loops - Go backend: enforce HTTPS-only for extension sandbox HTTP clients
30 lines
459 B
Go
30 lines
459 B
Go
//go:build windows
|
|
|
|
package gobackend
|
|
|
|
func dupOutputFD(fd int) (int, error) {
|
|
// Windows build is primarily for local tooling/tests.
|
|
// Android runtime uses the !windows implementation.
|
|
return fd, nil
|
|
}
|
|
|
|
func truncateFD(fd int) error {
|
|
return nil
|
|
}
|
|
|
|
func seekFDStart(fd int) error {
|
|
return nil
|
|
}
|
|
|
|
func closeFD(fd int) error {
|
|
return nil
|
|
}
|
|
|
|
func isBestEffortTruncateError(err error) bool {
|
|
return true
|
|
}
|
|
|
|
func isBadFD(err error) bool {
|
|
return false
|
|
}
|