mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 10:04:39 +02:00
Sync playback position (online only)
This commit is contained in:
parent
29fd29728a
commit
363bfd206c
6 changed files with 74 additions and 23 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue