feat(train): marked playlists kept on the phone, their tempo worked out (ADR 0030, D47)
Music's second part: the marked playlists' tracks are downloaded as Jellyfin keeps them, on unmetered networks only, while the app is open or resumes, and deleted once no marked playlist holds them. Each track's tempo is worked out once on the phone: a BPM tag where the file has one, else a minute decoded with MediaCodec and its spectral flux autocorrelated (Tempo.kt, tested on the JVM). The music screen shows what is kept and deletes it after asking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
3336fe4eca
commit
7f18f001f4
1 changed files with 1676 additions and 24 deletions
|
|
@ -2991,6 +2991,48 @@ abstract class AppLocalizations {
|
|||
/// In en, this message translates to:
|
||||
/// **'{count, plural, =1{1 track} other{{count} tracks}}'**
|
||||
String musicTracks(int count);
|
||||
|
||||
/// No description provided for @musicKept.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'On this phone'**
|
||||
String get musicKept;
|
||||
|
||||
/// No description provided for @musicKeptWaiting.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{done} of {total} tracks: the rest waits for Wi-Fi'**
|
||||
String musicKeptWaiting(int done, int total);
|
||||
|
||||
/// No description provided for @musicKeptLoading.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Downloading: {done} of {total} tracks'**
|
||||
String musicKeptLoading(int done, int total);
|
||||
|
||||
/// No description provided for @musicKeptDone.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{count} tracks, {size} MB, {tempo} with a tempo'**
|
||||
String musicKeptDone(int count, String size, int tempo);
|
||||
|
||||
/// No description provided for @musicKeptDelete.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Delete'**
|
||||
String get musicKeptDelete;
|
||||
|
||||
/// No description provided for @musicKeptDeleteTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Delete the music on this phone?'**
|
||||
String get musicKeptDeleteTitle;
|
||||
|
||||
/// No description provided for @musicKeptDeleteText.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Every playlist is unmarked, and its tracks deleted from this phone. They stay on your Jellyfin server.'**
|
||||
String get musicKeptDeleteText;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
|
|
|||
Loading…
Reference in a new issue