Commit graph

168 commits

Author SHA1 Message Date
ronaldheft
fb8e6408bb Fix memory leak 2022-09-03 16:34:31 -04:00
ronaldheft
836ffddd4f Fix race condition with chapter sleep timer 2022-09-02 18:36:57 -04:00
ronaldheft
c8ff5a7817 Handle multi-track files for sleep timer 2022-09-02 18:31:16 -04:00
ronaldheft
c14f6ec4c2 Rewrite sleep timer logic again 2022-09-02 18:22:42 -04:00
ronaldheft
dc8852eb0d Guard against seeking during initialization 2022-09-02 16:52:08 -04:00
ronaldheft
586405f9de Rewrite sleep timer 2022-09-02 16:31:47 -04:00
ronaldheft
c02adfa326 Fix typo in if statement 2022-09-01 18:41:21 -04:00
ronaldheft
021d63d973 Fix seek jumping 2022-09-01 18:19:45 -04:00
ronaldheft
50f6b15d23 Refactor to ensure we aren't missing any update time 2022-09-01 17:40:49 -04:00
ronaldheft
6257c6488b Fix race condition with the player queue 2022-09-01 17:34:54 -04:00
ronaldheft
b583a8e6e2 Handle iOS crashes when no session 2022-08-30 17:05:06 -04:00
ronaldheft
9ee1203130 Fix multi-track currentTime value 2022-08-29 21:16:51 -04:00
ronaldheft
711b079963 Fix: Extra timeListening when player initializes 2022-08-29 20:39:55 -04:00
advplyr
fb03c8e67f
Merge pull request #335 from ronaldheft/ios-respect-skip-settings
Fix: Skip preferences not respected for iOS remote control
2022-08-27 14:23:25 -05:00
advplyr
75979960ab
Merge pull request #330 from ronaldheft/bug-ios-background-currenttime
Improve iOS Player Sync Logic
2022-08-27 14:22:56 -05:00
ronaldheft
eb7289c150 Fix the incorrect server config being persisted 2022-08-26 20:20:26 -04:00
ronaldheft
c1f803bdd0 Fix configs sharing an index 2022-08-26 20:04:06 -04:00
ronaldheft
ba1efedd79 Show currentTime in console 2022-08-26 19:48:54 -04:00
ronaldheft
ac10997ed7 Fix: Skip preferences not respected for iOS remote control 2022-08-26 19:34:34 -04:00
ronaldheft
3c6f29bf3a Fix time observer crashing when already on main thread 2022-08-26 19:11:55 -04:00
ronaldheft
66ab402a50 Fix failed playback session on initAudioSession 2022-08-26 18:58:08 -04:00
ronaldheft
2076b93e19 Fix edge case when seeking past chapter 2022-08-26 18:35:47 -04:00
ronaldheft
eb7a241e94 Fix sleep timer chapter locking 2022-08-25 19:03:05 -04:00
ronaldheft
f5d1e992ef Fix edge case where incorrect progress was tracked 2022-08-25 18:46:13 -04:00
ronaldheft
aed2c31f5a Use persisted session to inform seek back 2022-08-25 18:43:57 -04:00
ronaldheft
3e31e72734 Configure time observer on the main queue 2022-08-25 18:31:09 -04:00
ronaldheft
7cf36d829a Fix progress updating issues 2022-08-25 18:28:17 -04:00
ronaldheft
268cf67576 Fix lost sleep time on play/pause 2022-08-25 17:39:06 -04:00
ronaldheft
5c76158729 Fix holding onto frozen Realm reference 2022-08-25 16:55:35 -04:00
ronaldheft
8c87b31e56 Improved error handling 2022-08-25 15:42:37 -04:00
ronaldheft
01678f2c91 Remove DispatchQueue as that did not fix Realm crashes 2022-08-24 19:57:39 -04:00
ronaldheft
b5e33b1707 Fix thread-safety with transaction on local media progress 2022-08-24 19:33:10 -04:00
ronaldheft
46623d70a3 Realm modifications should occur on concurrent queue 2022-08-23 22:37:28 -04:00
ronaldheft
452b25057e Use the same Realm instead for updates of LocalMediaProgress 2022-08-23 22:07:07 -04:00
ronaldheft
67a6aec132 Move AudioPlayer tasks off the main queue 2022-08-23 22:06:41 -04:00
ronaldheft
10ddc1c911 Fix server config not factored in determining active session 2022-08-23 18:56:08 -04:00
ronaldheft
2a2ebefeb9 Fix thread safety issues 2022-08-23 18:51:30 -04:00
ronaldheft
d5f39e5cb1 Fix async call not waiting for results 2022-08-23 18:22:11 -04:00
ronaldheft
099be648bf Fix server not sending updates every 10 seconds 2022-08-23 17:32:43 -04:00
ronaldheft
6a885b7241 Fix session time using milliseconds instead of seconds 2022-08-23 17:13:43 -04:00
ronaldheft
15cdff5aa2 Fix typo in comment 2022-08-22 20:36:15 -04:00
ronaldheft
94e261d7bf Fix bad data being encoded 2022-08-22 18:12:07 -04:00
ronaldheft
06f87d24a7 Fix merge conflict 2022-08-22 18:12:00 -04:00
ronaldheft
cdd2f40ef9 Merge branch 'master' into bug-ios-background-currenttime 2022-08-22 18:04:02 -04:00
ronaldheft
2448b461f0 Re-implement the paused timer 2022-08-22 18:00:37 -04:00
ronaldheft
fe042f3f83 Fix NaN causing bad data 2022-08-22 17:27:55 -04:00
ronaldheft
d084958f2d Scale time reporting by the rate 2022-08-22 17:15:20 -04:00
ronaldheft
ccecba7a19 If adjusting sleep time from chapter, convert to regular sleep timer 2022-08-22 17:11:34 -04:00
ronaldheft
d57fe44bcc Sleep timer using native time observer 2022-08-22 17:04:48 -04:00
ronaldheft
8952cbfd20 Start of refactor 2022-08-21 12:36:29 -04:00