···1+//
2+// Playlist.swift
3+// Rockbox
4+//
5+// Created by Tsiry Sandratraina on 21/12/2025.
6+//
7+8+import SwiftUI
9+10+struct Playlist: Identifiable {
11+ let id = UUID()
12+ let cuid: String
13+ let name: String
14+ let description: String?
15+ let tracks: [Song]
16+}
+1
macos/Rockbox/Models/Core/Song.swift
···10struct Song: Identifiable {
11 let id = UUID()
12 let cuid: String
013 let title: String
14 let artist: String
15 let album: String
···10struct Song: Identifiable {
11 let id = UUID()
12 let cuid: String
13+ let path: String
14 let title: String
15 let artist: String
16 let album: String
+17
macos/Rockbox/Models/Enums/PlaylistPosition.swift
···00000000000000000
···1+//
2+// PlaylistPosition.swift
3+// Rockbox
4+//
5+// Created by Tsiry Sandratraina on 21/12/2025.
6+//
7+8+struct PlaylistPosition {
9+ static let prepend = -1
10+ static let insert = -2
11+ static let insertLast = -3
12+ static let insertFirst = -4
13+ static let insertShuffled = -5
14+ static let replace = -6
15+ static let insertLastShuffled = -7
16+ static let insertLastRotated = -8
17+}