mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 13:54:01 +02:00
Sync playback position (online only)
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
// PlaybackReport.swift
|
||||
// App
|
||||
//
|
||||
// Created by Rasmus Krämer on 12.04.22.
|
||||
// Created by Rasmus Krämer on 15.04.22.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import RealmSwift
|
||||
|
||||
class PlaybackReport: Object {
|
||||
@Persisted var token: String
|
||||
struct PlaybackReport: Decodable, Encodable {
|
||||
var currentTime: Double
|
||||
var duration: Double
|
||||
var timeListened: Double
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user