-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored PlayerController, added playback position flow.
Tweaked system paddings for each screen. Updated dependencies, project metadata.
- Loading branch information
1 parent
83144d7
commit dd61561
Showing
19 changed files
with
177 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Developers | ||
|
||
[aleksey-saenko](https://github.com/aleksey-saenko) | ||
|
||
# Translators | ||
|
||
| Language | Translators | | ||
| :-- | :-- | | ||
| English | [aleksey-saenko](https://github.com/aleksey-saenko) | | ||
| Russian | [aleksey-saenko](https://github.com/aleksey-saenko) | | ||
| Slovak | [tomz00](https://github.com/tomz00) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
data/src/main/java/com/mrsep/musicrecognizer/data/player/PlayerControllerDo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 16 additions & 3 deletions
19
data/src/main/java/com/mrsep/musicrecognizer/data/player/PlayerStatusDo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
package com.mrsep.musicrecognizer.data.player | ||
|
||
import java.io.File | ||
import kotlin.time.Duration | ||
|
||
sealed class PlayerStatusDo { | ||
|
||
data object Idle : PlayerStatusDo() | ||
data class Started(val record: File) : PlayerStatusDo() | ||
data class Paused(val record: File) : PlayerStatusDo() | ||
data class Error(val record: File, val message: String) : PlayerStatusDo() | ||
|
||
data class Started( | ||
val record: File, | ||
val duration: Duration | ||
) : PlayerStatusDo() | ||
|
||
data class Paused( | ||
val record: File, | ||
val duration: Duration | ||
) : PlayerStatusDo() | ||
|
||
data class Error( | ||
val record: File, | ||
val message: String | ||
) : PlayerStatusDo() | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* Added Slovak translation (thanks to tomz00) | ||
* Added option to adapt track/lyrics screen to artwork colors (can be enabled via preferences) | ||
* Added option to adapt track/lyrics screen to artwork colors (can be enabled via preferences) | ||
* Fixed a bug with establishing websocket connection, which caused the app to crash on some devices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* Добавлен словацкий перевод (спасибо tomz00) | ||
* Добавлена опция адаптации цветовой темы экрана трека под обложку (может быть включено через настройки) | ||
* Добавлена опция адаптации цветовой темы экрана трека под обложку (может быть включено через настройки) | ||
* Исправлена ошибка при установлении веб-сокет соединения, приводившая к сбою приложения на некоторых устройствах |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.