更改播放器为media_kit

This commit is contained in:
rang 2025-12-06 17:50:37 +08:00
parent 1a317308dd
commit ac6158123f
14 changed files with 1092 additions and 878 deletions

View file

@ -1,10 +1,48 @@
import 'package:audio_service/audio_service.dart'; import 'package:audio_service/audio_service.dart';
import 'package:just_audio/just_audio.dart'; import 'package:media_kit/media_kit.dart';
class AbsAudioHandler extends BaseAudioHandler with QueueHandler, SeekHandler { class AbsAudioHandler extends BaseAudioHandler with QueueHandler, SeekHandler {
final AudioPlayer player; final Player player = Player();
AbsAudioHandler(this.player); AbsAudioHandler() {
// 1. /
player.stream.playing.listen((bool playing) {
playbackState.add(playbackState.value.copyWith(
playing: playing,
// playing processingState
processingState:
playing ? AudioProcessingState.ready : AudioProcessingState.idle,
));
});
// 2.
player.stream.position.listen((Duration position) {
playbackState.add(playbackState.value.copyWith(
updatePosition: position,
));
});
// 3.
player.stream.duration.listen((Duration? duration) {
// mediaItem duration
final currentItem = mediaItem.value;
if (currentItem != null && duration != null) {
mediaItem.add(currentItem.copyWith(duration: duration));
}
});
player.stream.completed.listen((bool playing) {
print('播放完成');
});
}
Future<void> playOrPause() async {
await player.playOrPause();
}
Future<void> setMediaItem(MediaItem mediaItem) async {
this.mediaItem.add(mediaItem);
await player.open(Media(mediaItem.id), play: false);
// ignore: unnecessary_null_comparison
await player.stream.duration.firstWhere((d) => d != null);
}
// //
@override @override
@ -19,12 +57,12 @@ class AbsAudioHandler extends BaseAudioHandler with QueueHandler, SeekHandler {
@override @override
Future<void> skipToNext() async { Future<void> skipToNext() async {
await player.seekToNext(); await player.next();
} }
@override @override
Future<void> skipToPrevious() async { Future<void> skipToPrevious() async {
await player.seekToPrevious(); await player.previous();
} }
@override @override
@ -34,6 +72,10 @@ class AbsAudioHandler extends BaseAudioHandler with QueueHandler, SeekHandler {
@override @override
Future<void> setSpeed(double speed) async { Future<void> setSpeed(double speed) async {
await player.setSpeed(speed); await player.setRate(speed);
}
Future<void> setVolume(double volume) async {
await player.setVolume(volume);
} }
} }

View file

@ -1,5 +1,29 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first // ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:just_audio/just_audio.dart'; // import 'package:just_audio/just_audio.dart';
import 'package:shelfsdk/audiobookshelf_api.dart'; import 'package:shelfsdk/audiobookshelf_api.dart' as api;
class AbsAudioPlayer extends AudioPlayer {} class AbsPlayerState {
api.BookExpanded? book;
//
final api.BookChapter? currentChapter;
//
final int currentIndex;
AbsPlayerState({
this.book,
this.currentChapter,
this.currentIndex = 0,
});
AbsPlayerState copyWith({
api.BookExpanded? book,
api.BookChapter? currentChapter,
int? currentIndex,
}) {
return AbsPlayerState(
book: book ?? this.book,
currentChapter: currentChapter ?? this.currentChapter,
currentIndex: currentIndex ?? this.currentIndex,
);
}
}

View file

@ -0,0 +1,30 @@
import 'package:audio_service/audio_service.dart';
import 'package:audio_session/audio_session.dart';
import 'package:media_kit/media_kit.dart';
import 'package:vaani/features/player/core/abs_audio_handler.dart' as core;
Future<core.AbsAudioHandler> absAudioHandlerInit() async {
// for playing audio on windows, linux
MediaKit.ensureInitialized();
// for configuring how this app will interact with other audio apps
final session = await AudioSession.instance;
await session.configure(const AudioSessionConfiguration.speech());
final audioService = await AudioService.init(
builder: () => core.AbsAudioHandler(),
config: const AudioServiceConfig(
androidNotificationChannelId: 'dr.blank.vaani.channel.audio',
androidNotificationChannelName: 'ABSPlayback',
androidNotificationChannelDescription:
'Needed to control audio from lock screen',
androidNotificationOngoing: false,
androidStopForegroundOnPause: false,
androidNotificationIcon: 'drawable/ic_stat_logo',
preloadArtwork: true,
// fastForwardInterval: Duration(seconds: 20),
// rewindInterval: Duration(seconds: 20),
),
);
return audioService;
}

View file

@ -1,30 +1,36 @@
import 'package:audio_service/audio_service.dart'; import 'package:audio_service/audio_service.dart';
import 'package:audio_session/audio_session.dart'; import 'package:audio_session/audio_session.dart';
import 'package:collection/collection.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:just_audio_media_kit/just_audio_media_kit.dart';
import 'package:logging/logging.dart'; import 'package:logging/logging.dart';
import 'package:media_kit/media_kit.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'package:shelfsdk/audiobookshelf_api.dart'; import 'package:shelfsdk/audiobookshelf_api.dart' as api;
import 'package:vaani/api/api_provider.dart';
import 'package:vaani/api/library_item_provider.dart';
import 'package:vaani/features/downloads/providers/download_manager.dart';
import 'package:vaani/features/per_book_settings/providers/book_settings_provider.dart';
import 'package:vaani/features/player/core/abs_audio_handler.dart' as core; import 'package:vaani/features/player/core/abs_audio_handler.dart' as core;
import 'package:vaani/features/player/core/abs_audio_player.dart' as core; import 'package:vaani/features/player/core/abs_audio_player.dart' as core;
import 'package:vaani/features/player/core/audiobook_player.dart';
import 'package:vaani/features/settings/app_settings_provider.dart';
import 'package:vaani/globals.dart';
import 'package:vaani/shared/extensions/chapter.dart';
part 'abs_provider.g.dart'; part 'abs_provider.g.dart';
final _logger = Logger('AbsPlayerProvider'); final _logger = Logger('AbsPlayerProvider');
@Riverpod(keepAlive: true) @Riverpod(keepAlive: true)
Future<core.AbsAudioHandler> absAudioHandler(Ref ref) async { Future<core.AbsAudioHandler> absAudioHandlerInit(Ref ref) async {
// for playing audio on windows, linux // for playing audio on windows, linux
JustAudioMediaKit.ensureInitialized(); MediaKit.ensureInitialized();
// for configuring how this app will interact with other audio apps // for configuring how this app will interact with other audio apps
final session = await AudioSession.instance; final session = await AudioSession.instance;
await session.configure(const AudioSessionConfiguration.speech()); await session.configure(const AudioSessionConfiguration.speech());
final player = ref.read(absAudioPlayerProvider);
final audioService = await AudioService.init( final audioService = await AudioService.init(
builder: () => core.AbsAudioHandler(player), builder: () => core.AbsAudioHandler(),
config: const AudioServiceConfig( config: const AudioServiceConfig(
androidNotificationChannelId: 'dr.blank.vaani.channel.audio', androidNotificationChannelId: 'dr.blank.vaani.channel.audio',
androidNotificationChannelName: 'ABSPlayback', androidNotificationChannelName: 'ABSPlayback',
@ -39,18 +45,130 @@ Future<core.AbsAudioHandler> absAudioHandler(Ref ref) async {
), ),
); );
_logger.finer('created simple player');
return audioService; return audioService;
} }
@Riverpod(keepAlive: true) @Riverpod(keepAlive: true)
class AbsAudioPlayer extends _$AbsAudioPlayer { class AbsPlayer extends _$AbsPlayer {
@override @override
core.AbsAudioPlayer build() { core.AbsAudioHandler build() {
final player = core.AbsAudioPlayer(); return ref.read(absAudioHandlerInitProvider).valueOrNull!;
}
ref.onDispose(player.dispose); }
_logger.finer('created simple player');
@Riverpod(keepAlive: true)
return player; class AbsState extends _$AbsState {
@override
core.AbsPlayerState build() {
return core.AbsPlayerState();
}
//
Future<void> load(api.BookExpanded book, Duration? currentTime) async {
final player = ref.read(absPlayerProvider);
if (state.book == book || state.book?.libraryItemId == book.libraryItemId) {
appLogger.info('Book was already set');
player.playOrPause();
return;
}
final appSettings = ref.read(appSettingsProvider);
final api = ref.read(authenticatedApiProvider);
final downloadManager = ref.read(simpleDownloadManagerProvider);
final libItem =
await ref.read(libraryItemProvider(book.libraryItemId).future);
final downloadedUris = await downloadManager.getDownloadedFilesUri(libItem);
var bookPlayerSettings =
ref.read(bookSettingsProvider(book.libraryItemId)).playerSettings;
var appPlayerSettings = ref.read(appSettingsProvider).playerSettings;
var configurePlayerForEveryBook =
appPlayerSettings.configurePlayerForEveryBook;
final trackToPlay = book.findTrackAtTime(currentTime ?? Duration.zero);
final chapterToPlay = book.findChapterAtTime(currentTime ?? Duration.zero);
final initialIndex = book.tracks.indexOf(trackToPlay);
final initialPositionInTrack =
currentTime != null ? currentTime - trackToPlay.startOffset : null;
final title = appSettings.notificationSettings.primaryTitle
.formatNotificationTitle(book);
final album = appSettings.notificationSettings.secondaryTitle
.formatNotificationTitle(book);
final id = _getUri(trackToPlay, downloadedUris,
baseUrl: api.baseUrl, token: api.token!)
.toString();
final item = MediaItem(
id: id,
title: title,
album: album,
displayTitle: title,
displaySubtitle: album,
duration: chapterToPlay.duration,
artUri: Uri.parse(
'${api.baseUrl}/api/items/${book.libraryItemId}/cover?token=${api.token!}',
),
);
state = state.copyWith(
book: book,
currentChapter: chapterToPlay,
currentIndex: initialIndex,
);
player.playMediaItem(item);
await Future.wait([
player.setMediaItem(item),
// player.setVolume(
// configurePlayerForEveryBook
// ? bookPlayerSettings.preferredDefaultVolume ??
// appPlayerSettings.preferredDefaultVolume
// : appPlayerSettings.preferredDefaultVolume,
// ),
player.setSpeed(
configurePlayerForEveryBook
? bookPlayerSettings.preferredDefaultSpeed ??
appPlayerSettings.preferredDefaultSpeed
: appPlayerSettings.preferredDefaultSpeed,
),
player.play(),
]);
// player.setSourceAudiobook(
// book,
// baseUrl: api.baseUrl,
// token: api.token!,
// initialPosition: currentTime,
// downloadedUris: downloadedUris,
// volume: configurePlayerForEveryBook
// ? bookPlayerSettings.preferredDefaultVolume ??
// appPlayerSettings.preferredDefaultVolume
// : appPlayerSettings.preferredDefaultVolume,
// speed: configurePlayerForEveryBook
// ? bookPlayerSettings.preferredDefaultSpeed ??
// appPlayerSettings.preferredDefaultSpeed
// : appPlayerSettings.preferredDefaultSpeed,
// );
}
Future<void> next() async {}
Future<void> previous() async {}
Uri _getUri(
api.AudioTrack track,
List<Uri>? downloadedUris, {
required Uri baseUrl,
required String token,
}) {
// check if the track is in the downloadedUris
final uri = downloadedUris?.firstWhereOrNull(
(element) {
return element.pathSegments.last == track.metadata?.filename;
},
);
return uri ??
Uri.parse('${baseUrl.toString()}${track.contentUrl}?token=$token');
} }
} }

View file

@ -6,38 +6,54 @@ part of 'abs_provider.dart';
// RiverpodGenerator // RiverpodGenerator
// ************************************************************************** // **************************************************************************
String _$absAudioHandlerHash() => r'f4ef20cc3e244d5d37354ef38a1e0fdbd89412f4'; String _$absAudioHandlerInitHash() =>
r'8815383b114e5e3da826afdea58bf0a884b1e3f2';
/// See also [absAudioHandler]. /// See also [absAudioHandlerInit].
@ProviderFor(absAudioHandler) @ProviderFor(absAudioHandlerInit)
final absAudioHandlerProvider = FutureProvider<core.AbsAudioHandler>.internal( final absAudioHandlerInitProvider =
absAudioHandler, FutureProvider<core.AbsAudioHandler>.internal(
name: r'absAudioHandlerProvider', absAudioHandlerInit,
name: r'absAudioHandlerInitProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null ? null
: _$absAudioHandlerHash, : _$absAudioHandlerInitHash,
dependencies: null, dependencies: null,
allTransitiveDependencies: null, allTransitiveDependencies: null,
); );
@Deprecated('Will be removed in 3.0. Use Ref instead') @Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element // ignore: unused_element
typedef AbsAudioHandlerRef = FutureProviderRef<core.AbsAudioHandler>; typedef AbsAudioHandlerInitRef = FutureProviderRef<core.AbsAudioHandler>;
String _$absAudioPlayerHash() => r'68a56d45a9f165d257c23f81d9bf7d0930425464'; String _$absPlayerHash() => r'c313a2456bb221b83f3cd2142ae63d6463ef304b';
/// See also [AbsAudioPlayer]. /// See also [AbsPlayer].
@ProviderFor(AbsAudioPlayer) @ProviderFor(AbsPlayer)
final absAudioPlayerProvider = final absPlayerProvider =
NotifierProvider<AbsAudioPlayer, core.AbsAudioPlayer>.internal( NotifierProvider<AbsPlayer, core.AbsAudioHandler>.internal(
AbsAudioPlayer.new, AbsPlayer.new,
name: r'absAudioPlayerProvider', name: r'absPlayerProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') debugGetCreateSourceHash:
? null const bool.fromEnvironment('dart.vm.product') ? null : _$absPlayerHash,
: _$absAudioPlayerHash,
dependencies: null, dependencies: null,
allTransitiveDependencies: null, allTransitiveDependencies: null,
); );
typedef _$AbsAudioPlayer = Notifier<core.AbsAudioPlayer>; typedef _$AbsPlayer = Notifier<core.AbsAudioHandler>;
String _$absStateHash() => r'fb11d9d970e0de2dfd722c1f0de2a3b9b10f2859';
/// See also [AbsState].
@ProviderFor(AbsState)
final absStateProvider =
NotifierProvider<AbsState, core.AbsPlayerState>.internal(
AbsState.new,
name: r'absStateProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product') ? null : _$absStateHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$AbsState = Notifier<core.AbsPlayerState>;
// ignore_for_file: type=lint // ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package // ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package

View file

@ -1,6 +1,6 @@
import 'package:audio_service/audio_service.dart'; import 'package:audio_service/audio_service.dart';
import 'package:audio_session/audio_session.dart'; import 'package:audio_session/audio_session.dart';
import 'package:just_audio_media_kit/just_audio_media_kit.dart'; // import 'package:just_audio_media_kit/just_audio_media_kit.dart';
import 'package:riverpod/riverpod.dart'; import 'package:riverpod/riverpod.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'package:vaani/features/player/core/audiobook_player.dart'; import 'package:vaani/features/player/core/audiobook_player.dart';
@ -10,7 +10,7 @@ part 'audiobook_player.g.dart';
@Riverpod(keepAlive: true) @Riverpod(keepAlive: true)
Future<AbsAudioHandler> audioHandlerInit(Ref ref) async { Future<AbsAudioHandler> audioHandlerInit(Ref ref) async {
// for playing audio on windows, linux // for playing audio on windows, linux
JustAudioMediaKit.ensureInitialized(); // JustAudioMediaKit.ensureInitialized();
// for configuring how this app will interact with other audio apps // for configuring how this app will interact with other audio apps
final session = await AudioSession.instance; final session = await AudioSession.instance;

View file

@ -6,7 +6,7 @@ part of 'audiobook_player.dart';
// RiverpodGenerator // RiverpodGenerator
// ************************************************************************** // **************************************************************************
String _$audioHandlerInitHash() => r'f4907b614d5698c1c8fe8e999edd5fde46bc29f2'; String _$audioHandlerInitHash() => r'80f9912c0a93b4bbfe7da3967966065e78f2f6c2';
/// See also [audioHandlerInit]. /// See also [audioHandlerInit].
@ProviderFor(audioHandlerInit) @ProviderFor(audioHandlerInit)

View file

@ -38,483 +38,461 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages); final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"account": MessageLookupByLibrary.simpleMessage("Account"), "account": MessageLookupByLibrary.simpleMessage("Account"),
"accountAddNewServer": MessageLookupByLibrary.simpleMessage( "accountAddNewServer": MessageLookupByLibrary.simpleMessage(
"Add New Server", "Add New Server",
), ),
"accountAddUser": MessageLookupByLibrary.simpleMessage("Add User"), "accountAddUser": MessageLookupByLibrary.simpleMessage("Add User"),
"accountAddUserDialog": m0, "accountAddUserDialog": m0,
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage( "accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
"User added successfully! Switch?", "User added successfully! Switch?",
), ),
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage( "accountAddUserTooltip": MessageLookupByLibrary.simpleMessage(
"Add new server", "Add new server",
), ),
"accountAnonymous": MessageLookupByLibrary.simpleMessage("Anonymous"), "accountAnonymous": MessageLookupByLibrary.simpleMessage("Anonymous"),
"accountDeleteServer": MessageLookupByLibrary.simpleMessage( "accountDeleteServer": MessageLookupByLibrary.simpleMessage(
"Delete Server", "Delete Server",
), ),
"accountInvalidURL": "accountInvalidURL": MessageLookupByLibrary.simpleMessage("Invalid URL"),
MessageLookupByLibrary.simpleMessage("Invalid URL"), "accountManage": MessageLookupByLibrary.simpleMessage("Manage Accounts"),
"accountManage": "accountRegisteredServers": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("Manage Accounts"), "Registered Servers",
"accountRegisteredServers": MessageLookupByLibrary.simpleMessage( ),
"Registered Servers", "accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
), "Remove Server and Users",
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage( ),
"Remove Server and Users", "accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
), "This will remove the server ",
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage( ),
"This will remove the server ", "accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
), " and all its users\' login info from this app.",
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage( ),
" and all its users\' login info from this app.", "accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage(
), "Remove User Login",
"accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage( ),
"Remove User Login", "accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
), "This will remove login details of the user ",
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage( ),
"This will remove login details of the user ", "accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
), " from this app.",
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage( ),
" from this app.", "accountServerURI": MessageLookupByLibrary.simpleMessage("Server URI"),
), "accountSwitch": MessageLookupByLibrary.simpleMessage("Switch Account"),
"accountServerURI": MessageLookupByLibrary.simpleMessage("Server URI"), "accountUsersCount": m1,
"accountSwitch": MessageLookupByLibrary.simpleMessage("Switch Account"), "appSettings": MessageLookupByLibrary.simpleMessage("App Settings"),
"accountUsersCount": m1, "appearance": MessageLookupByLibrary.simpleMessage("Appearance"),
"appSettings": MessageLookupByLibrary.simpleMessage("App Settings"), "autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage(
"appearance": MessageLookupByLibrary.simpleMessage("Appearance"), "Auto Sleep Timer Settings",
"autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage( ),
"Auto Sleep Timer Settings", "autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage(
), "Auto Turn On Sleep Timer",
"autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage( ),
"Auto Turn On Sleep Timer", "autoTurnOnTimer": MessageLookupByLibrary.simpleMessage(
), "Auto Turn On Timer",
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage( ),
"Auto Turn On Timer", "autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage(
), "Always Auto Turn On Timer",
"autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage( ),
"Always Auto Turn On Timer", "autoTurnOnTimerAlwaysDescription": MessageLookupByLibrary.simpleMessage(
), "Always turn on the sleep timer, no matter what",
"autoTurnOnTimerAlwaysDescription": ),
MessageLookupByLibrary.simpleMessage( "autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
"Always turn on the sleep timer, no matter what", "Automatically turn on the sleep timer based on the time of day",
), ),
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage( "autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("From"),
"Automatically turn on the sleep timer based on the time of day", "autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
), "Turn on the sleep timer at the specified time",
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("From"), ),
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage( "autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("Until"),
"Turn on the sleep timer at the specified time", "autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
), "Turn off the sleep timer at the specified time",
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("Until"), ),
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage( "automaticallyDescription": MessageLookupByLibrary.simpleMessage(
"Turn off the sleep timer at the specified time", "Automatically turn on the sleep timer based on the time of day",
), ),
"automaticallyDescription": MessageLookupByLibrary.simpleMessage( "backup": MessageLookupByLibrary.simpleMessage("Backup"),
"Automatically turn on the sleep timer based on the time of day", "backupAndRestore": MessageLookupByLibrary.simpleMessage(
), "Backup and Restore",
"backup": MessageLookupByLibrary.simpleMessage("Backup"), ),
"backupAndRestore": MessageLookupByLibrary.simpleMessage( "bookAbout": MessageLookupByLibrary.simpleMessage("About the Book"),
"Backup and Restore", "bookAboutDefault": MessageLookupByLibrary.simpleMessage(
), "Sorry, no description found",
"bookAbout": MessageLookupByLibrary.simpleMessage("About the Book"), ),
"bookAboutDefault": MessageLookupByLibrary.simpleMessage( "bookAuthors": MessageLookupByLibrary.simpleMessage("Authors"),
"Sorry, no description found", "bookDownloads": MessageLookupByLibrary.simpleMessage("Downloads"),
), "bookGenres": MessageLookupByLibrary.simpleMessage("Genres"),
"bookAuthors": MessageLookupByLibrary.simpleMessage("Authors"), "bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("Abridged"),
"bookDownloads": MessageLookupByLibrary.simpleMessage("Downloads"), "bookMetadataLength": MessageLookupByLibrary.simpleMessage("Length"),
"bookGenres": MessageLookupByLibrary.simpleMessage("Genres"), "bookMetadataPublished": MessageLookupByLibrary.simpleMessage("Published"),
"bookMetadataAbridged": "bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("Abridged"), "Unabridged",
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("Length"), ),
"bookMetadataPublished": "bookSeries": MessageLookupByLibrary.simpleMessage("Series"),
MessageLookupByLibrary.simpleMessage("Published"), "bookShelveEmpty": MessageLookupByLibrary.simpleMessage("Try again"),
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage( "bookShelveEmptyText": MessageLookupByLibrary.simpleMessage(
"Unabridged", "No shelves to display",
), ),
"bookSeries": MessageLookupByLibrary.simpleMessage("Series"), "cancel": MessageLookupByLibrary.simpleMessage("Cancel"),
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("Try again"), "chapterNotFound": MessageLookupByLibrary.simpleMessage("Chapters"),
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage( "chapterSelect": MessageLookupByLibrary.simpleMessage("Select Chapter"),
"No shelves to display", "chapterSkip": MessageLookupByLibrary.simpleMessage(
), "Skip chapter opening and ending",
"cancel": MessageLookupByLibrary.simpleMessage("Cancel"), ),
"chapterNotFound": MessageLookupByLibrary.simpleMessage("Chapters"), "chapterSkipEnd": MessageLookupByLibrary.simpleMessage(
"chapterSelect": MessageLookupByLibrary.simpleMessage("Select Chapter"), "Skip chapter opening for ",
"chapterSkip": MessageLookupByLibrary.simpleMessage( ),
"Skip chapter opening and ending", "chapterSkipOpen": MessageLookupByLibrary.simpleMessage(
), "Skip chapter opening for ",
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage( ),
"Skip chapter opening for ", "chapters": MessageLookupByLibrary.simpleMessage("Chapters"),
), "copyToClipboard": MessageLookupByLibrary.simpleMessage(
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage( "Copy to Clipboard",
"Skip chapter opening for ", ),
), "copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
"chapters": MessageLookupByLibrary.simpleMessage("Chapters"), "Copy the app settings to the clipboard",
"copyToClipboard": MessageLookupByLibrary.simpleMessage( ),
"Copy to Clipboard", "copyToClipboardToast": MessageLookupByLibrary.simpleMessage(
), "Settings copied to clipboard",
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage( ),
"Copy the app settings to the clipboard", "delete": MessageLookupByLibrary.simpleMessage("Delete"),
), "deleteDialog": m2,
"copyToClipboardToast": MessageLookupByLibrary.simpleMessage( "deleted": m3,
"Settings copied to clipboard", "explore": MessageLookupByLibrary.simpleMessage("explore"),
), "exploreHint": MessageLookupByLibrary.simpleMessage(
"delete": MessageLookupByLibrary.simpleMessage("Delete"), "Seek and you shall discover...",
"deleteDialog": m2, ),
"deleted": m3, "exploreTooltip": MessageLookupByLibrary.simpleMessage(
"explore": MessageLookupByLibrary.simpleMessage("explore"), "Search and Explore",
"exploreHint": MessageLookupByLibrary.simpleMessage( ),
"Seek and you shall discover...", "general": MessageLookupByLibrary.simpleMessage("General"),
), "help": MessageLookupByLibrary.simpleMessage("Help"),
"exploreTooltip": MessageLookupByLibrary.simpleMessage( "home": MessageLookupByLibrary.simpleMessage("Home"),
"Search and Explore", "homeBookContinueListening": MessageLookupByLibrary.simpleMessage(
), "Continue Listening",
"general": MessageLookupByLibrary.simpleMessage("General"), ),
"help": MessageLookupByLibrary.simpleMessage("Help"), "homeBookContinueListeningDescription":
"home": MessageLookupByLibrary.simpleMessage("Home"), MessageLookupByLibrary.simpleMessage(
"homeBookContinueListening": MessageLookupByLibrary.simpleMessage(
"Continue Listening",
),
"homeBookContinueListeningDescription":
MessageLookupByLibrary.simpleMessage(
"Show play button for books in currently listening shelf", "Show play button for books in currently listening shelf",
), ),
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage( "homeBookContinueSeries": MessageLookupByLibrary.simpleMessage(
"Continue Series", "Continue Series",
), ),
"homeBookContinueSeriesDescription": "homeBookContinueSeriesDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Show play button for books in continue series shelf",
"Show play button for books in continue series shelf", ),
), "homeBookDiscover": MessageLookupByLibrary.simpleMessage("Discover"),
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("Discover"), "homeBookListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"),
"homeBookListenAgain": "homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("Listen Again"), "Show play button for all books in listen again shelf",
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage( ),
"Show play button for all books in listen again shelf", "homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage(
), "Newest Authors",
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage( ),
"Newest Authors", "homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage(
), "Recently Added",
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage( ),
"Recently Added", "homeBookRecommended": MessageLookupByLibrary.simpleMessage("Recommended"),
), "homeContinueListening": MessageLookupByLibrary.simpleMessage(
"homeBookRecommended": "Continue Listening",
MessageLookupByLibrary.simpleMessage("Recommended"), ),
"homeContinueListening": MessageLookupByLibrary.simpleMessage( "homeListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"),
"Continue Listening", "homePageSettings": MessageLookupByLibrary.simpleMessage(
), "Home Page Settings",
"homeListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"), ),
"homePageSettings": MessageLookupByLibrary.simpleMessage( "homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
"Home Page Settings", "Customize the home page",
), ),
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage( "homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
"Customize the home page", "Other shelves",
), ),
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage( "homePageSettingsOtherShelvesDescription":
"Other shelves", MessageLookupByLibrary.simpleMessage(
),
"homePageSettingsOtherShelvesDescription":
MessageLookupByLibrary.simpleMessage(
"Show play button for all books in all remaining shelves", "Show play button for all books in all remaining shelves",
), ),
"homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage( "homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage(
"Quick Play", "Quick Play",
), ),
"homeStartListening": MessageLookupByLibrary.simpleMessage( "homeStartListening": MessageLookupByLibrary.simpleMessage(
"Start Listening", "Start Listening",
), ),
"language": MessageLookupByLibrary.simpleMessage("Language"), "language": MessageLookupByLibrary.simpleMessage("Language"),
"languageDescription": MessageLookupByLibrary.simpleMessage( "languageDescription": MessageLookupByLibrary.simpleMessage(
"Language switch", "Language switch",
), ),
"library": MessageLookupByLibrary.simpleMessage("Library"), "library": MessageLookupByLibrary.simpleMessage("Library"),
"libraryChange": MessageLookupByLibrary.simpleMessage("Change Library"), "libraryChange": MessageLookupByLibrary.simpleMessage("Change Library"),
"libraryEmpty": MessageLookupByLibrary.simpleMessage( "libraryEmpty": MessageLookupByLibrary.simpleMessage(
"No libraries available.", "No libraries available.",
), ),
"libraryLoadError": m4, "libraryLoadError": m4,
"librarySelect": MessageLookupByLibrary.simpleMessage("Select Library"), "librarySelect": MessageLookupByLibrary.simpleMessage("Select Library"),
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage( "librarySwitchTooltip": MessageLookupByLibrary.simpleMessage(
"Switch Library", "Switch Library",
), ),
"libraryTooltip": MessageLookupByLibrary.simpleMessage( "libraryTooltip": MessageLookupByLibrary.simpleMessage(
"Browse your library", "Browse your library",
), ),
"loading": MessageLookupByLibrary.simpleMessage("Loading..."), "loading": MessageLookupByLibrary.simpleMessage("Loading..."),
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"), "loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
"loginLogin": MessageLookupByLibrary.simpleMessage("Login"), "loginLogin": MessageLookupByLibrary.simpleMessage("Login"),
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"), "loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
"loginPassword": MessageLookupByLibrary.simpleMessage("Password"), "loginPassword": MessageLookupByLibrary.simpleMessage("Password"),
"loginServerClick": MessageLookupByLibrary.simpleMessage("Click here"), "loginServerClick": MessageLookupByLibrary.simpleMessage("Click here"),
"loginServerConnected": MessageLookupByLibrary.simpleMessage( "loginServerConnected": MessageLookupByLibrary.simpleMessage(
"Server connected, please login", "Server connected, please login",
), ),
"loginServerNo": MessageLookupByLibrary.simpleMessage( "loginServerNo": MessageLookupByLibrary.simpleMessage(
"Do not have a server? ", "Do not have a server? ",
), ),
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage( "loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
"Please enter the URL of your AudiobookShelf Server", "Please enter the URL of your AudiobookShelf Server",
), ),
"loginServerNot": m5, "loginServerNot": m5,
"loginServerTo": MessageLookupByLibrary.simpleMessage( "loginServerTo": MessageLookupByLibrary.simpleMessage(
" to know how to setup a server.", " to know how to setup a server.",
), ),
"loginTitle": m6, "loginTitle": m6,
"loginToken": MessageLookupByLibrary.simpleMessage("Token"), "loginToken": MessageLookupByLibrary.simpleMessage("Token"),
"loginUsername": MessageLookupByLibrary.simpleMessage("Username"), "loginUsername": MessageLookupByLibrary.simpleMessage("Username"),
"logs": MessageLookupByLibrary.simpleMessage("Logs"), "logs": MessageLookupByLibrary.simpleMessage("Logs"),
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage( "nmpSettingsBackward": MessageLookupByLibrary.simpleMessage(
"Backward Interval", "Backward Interval",
), ),
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage( "nmpSettingsForward": MessageLookupByLibrary.simpleMessage(
"Forward Interval", "Forward Interval",
), ),
"nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage( "nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage(
"Media Controls", "Media Controls",
), ),
"nmpSettingsMediaControlsDescription": "nmpSettingsMediaControlsDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Select the media controls to display",
"Select the media controls to display", ),
), "nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage( "Select a field below to insert it",
"Select a field below to insert it", ),
), "nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage( "Show Chapter Progress",
"Show Chapter Progress", ),
), "nmpSettingsShowChapterProgressDescription":
"nmpSettingsShowChapterProgressDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage(
"Instead of the overall progress of the book", "Instead of the overall progress of the book",
), ),
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage( "nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage(
"Secondary Title", "Secondary Title",
), ),
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage( "nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
"The subtitle of the notification\n", "The subtitle of the notification\n",
), ),
"nmpSettingsTitle": "nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("Primary Title"),
MessageLookupByLibrary.simpleMessage("Primary Title"), "nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage( "The title of the notification\n",
"The title of the notification\n", ),
), "no": MessageLookupByLibrary.simpleMessage("No"),
"no": MessageLookupByLibrary.simpleMessage("No"), "notImplemented": MessageLookupByLibrary.simpleMessage("Not implemented"),
"notImplemented": "notificationMediaPlayer": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("Not implemented"), "Notification Media Player",
"notificationMediaPlayer": MessageLookupByLibrary.simpleMessage( ),
"Notification Media Player", "notificationMediaPlayerDescription": MessageLookupByLibrary.simpleMessage(
), "Customize the media player in notifications",
"notificationMediaPlayerDescription": ),
MessageLookupByLibrary.simpleMessage( "ok": MessageLookupByLibrary.simpleMessage("OK"),
"Customize the media player in notifications", "pause": MessageLookupByLibrary.simpleMessage("Pause"),
), "play": MessageLookupByLibrary.simpleMessage("Play"),
"ok": MessageLookupByLibrary.simpleMessage("OK"), "playerSettings": MessageLookupByLibrary.simpleMessage("Player Settings"),
"pause": MessageLookupByLibrary.simpleMessage("Pause"), "playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
"play": MessageLookupByLibrary.simpleMessage("Play"), "Mark Complete When Time Left",
"playerSettings": ),
MessageLookupByLibrary.simpleMessage("Player Settings"), "playerSettingsCompleteTimeDescriptionHead":
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage( MessageLookupByLibrary.simpleMessage("Mark complete when less than "),
"Mark Complete When Time Left", "playerSettingsCompleteTimeDescriptionTail":
), MessageLookupByLibrary.simpleMessage(" left in the book"),
"playerSettingsCompleteTimeDescriptionHead": "playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Customize the player settings",
"Mark complete when less than "), ),
"playerSettingsCompleteTimeDescriptionTail": "playerSettingsDisplay": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage(" left in the book"), "Display Settings",
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage( ),
"Customize the player settings", "playerSettingsDisplayChapterProgress":
), MessageLookupByLibrary.simpleMessage("Show Chapter Progress"),
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage( "playerSettingsDisplayChapterProgressDescription":
"Display Settings", MessageLookupByLibrary.simpleMessage(
),
"playerSettingsDisplayChapterProgress":
MessageLookupByLibrary.simpleMessage("Show Chapter Progress"),
"playerSettingsDisplayChapterProgressDescription":
MessageLookupByLibrary.simpleMessage(
"Show the progress of the current chapter in the player", "Show the progress of the current chapter in the player",
), ),
"playerSettingsDisplayTotalProgress": "playerSettingsDisplayTotalProgress": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Show Total Progress",
"Show Total Progress", ),
), "playerSettingsDisplayTotalProgressDescription":
"playerSettingsDisplayTotalProgressDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage(
"Show the total progress of the book in the player", "Show the total progress of the book in the player",
), ),
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage( "playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
"Playback Report Interval", "Playback Report Interval",
), ),
"playerSettingsPlaybackIntervalDescriptionHead": "playerSettingsPlaybackIntervalDescriptionHead":
MessageLookupByLibrary.simpleMessage("Report progress every "), MessageLookupByLibrary.simpleMessage("Report progress every "),
"playerSettingsPlaybackIntervalDescriptionTail": "playerSettingsPlaybackIntervalDescriptionTail":
MessageLookupByLibrary.simpleMessage(" to the server"), MessageLookupByLibrary.simpleMessage(" to the server"),
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage( "playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
"Playback Reporting", "Playback Reporting",
), ),
"playerSettingsPlaybackReportingIgnore": "playerSettingsPlaybackReportingIgnore":
MessageLookupByLibrary.simpleMessage( MessageLookupByLibrary.simpleMessage(
"Ignore Playback Position Less Than", "Ignore Playback Position Less Than",
), ),
"playerSettingsPlaybackReportingMinimum": "playerSettingsPlaybackReportingMinimum":
MessageLookupByLibrary.simpleMessage("Minimum Position to Report"), MessageLookupByLibrary.simpleMessage("Minimum Position to Report"),
"playerSettingsPlaybackReportingMinimumDescriptionHead": "playerSettingsPlaybackReportingMinimumDescriptionHead":
MessageLookupByLibrary.simpleMessage( MessageLookupByLibrary.simpleMessage(
"Do not report playback for the first ", "Do not report playback for the first ",
), ),
"playerSettingsPlaybackReportingMinimumDescriptionTail": "playerSettingsPlaybackReportingMinimumDescriptionTail":
MessageLookupByLibrary.simpleMessage("of the book"), MessageLookupByLibrary.simpleMessage("of the book"),
"playerSettingsRememberForEveryBook": "playerSettingsRememberForEveryBook": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Remember Player Settings for Every Book",
"Remember Player Settings for Every Book", ),
), "playerSettingsRememberForEveryBookDescription":
"playerSettingsRememberForEveryBookDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage(
"Settings like speed, loudness, etc. will be remembered for every book", "Settings like speed, loudness, etc. will be remembered for every book",
), ),
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("Speed"), "playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("Speed"),
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage( "playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
"Default Speed", "Default Speed",
), ),
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage( "playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
"Speed Options", "Speed Options",
), ),
"playerSettingsSpeedOptionsSelect": "playerSettingsSpeedOptionsSelect": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Select Speed Options",
"Select Speed Options", ),
), "playerSettingsSpeedOptionsSelectAdd": MessageLookupByLibrary.simpleMessage(
"playerSettingsSpeedOptionsSelectAdd": "Add Speed Option",
MessageLookupByLibrary.simpleMessage( ),
"Add Speed Option", "playerSettingsSpeedOptionsSelectAddHelper":
), MessageLookupByLibrary.simpleMessage("Enter a new speed option to add"),
"playerSettingsSpeedOptionsSelectAddHelper": "playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Select Speed",
"Enter a new speed option to add"), ),
"playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage( "playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
"Select Speed", "Enter the speed you want to set when playing for the first time",
), ),
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage( "playlistsMine": MessageLookupByLibrary.simpleMessage("My Playlists"),
"Enter the speed you want to set when playing for the first time", "readLess": MessageLookupByLibrary.simpleMessage("Read Less"),
), "readMore": MessageLookupByLibrary.simpleMessage("Read More"),
"playlistsMine": MessageLookupByLibrary.simpleMessage("My Playlists"), "refresh": MessageLookupByLibrary.simpleMessage("Refresh"),
"readLess": MessageLookupByLibrary.simpleMessage("Read Less"), "reset": MessageLookupByLibrary.simpleMessage("Reset"),
"readMore": MessageLookupByLibrary.simpleMessage("Read More"), "resetAppSettings": MessageLookupByLibrary.simpleMessage(
"refresh": MessageLookupByLibrary.simpleMessage("Refresh"), "Reset App Settings",
"reset": MessageLookupByLibrary.simpleMessage("Reset"), ),
"resetAppSettings": MessageLookupByLibrary.simpleMessage( "resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
"Reset App Settings", "Reset the app settings to the default values",
), ),
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage( "resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
"Reset the app settings to the default values", "Are you sure you want to reset the app settings?",
), ),
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage( "restore": MessageLookupByLibrary.simpleMessage("Restore"),
"Are you sure you want to reset the app settings?", "restoreBackup": MessageLookupByLibrary.simpleMessage("Restore Backup"),
), "restoreBackupHint": MessageLookupByLibrary.simpleMessage(
"restore": MessageLookupByLibrary.simpleMessage("Restore"), "Paste the backup here",
"restoreBackup": MessageLookupByLibrary.simpleMessage("Restore Backup"), ),
"restoreBackupHint": MessageLookupByLibrary.simpleMessage( "restoreBackupInvalid": MessageLookupByLibrary.simpleMessage(
"Paste the backup here", "Invalid backup",
), ),
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage( "restoreBackupSuccess": MessageLookupByLibrary.simpleMessage(
"Invalid backup", "Settings restored",
), ),
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage( "restoreBackupValidator": MessageLookupByLibrary.simpleMessage(
"Settings restored", "Please paste the backup here",
), ),
"restoreBackupValidator": MessageLookupByLibrary.simpleMessage( "restoreDescription": MessageLookupByLibrary.simpleMessage(
"Please paste the backup here", "Restore the app settings from the backup",
), ),
"restoreDescription": MessageLookupByLibrary.simpleMessage( "resume": MessageLookupByLibrary.simpleMessage("Resume"),
"Restore the app settings from the backup", "retry": MessageLookupByLibrary.simpleMessage("Retry"),
), "settings": MessageLookupByLibrary.simpleMessage("Settings"),
"resume": MessageLookupByLibrary.simpleMessage("Resume"), "shakeAction": MessageLookupByLibrary.simpleMessage("Shake Action"),
"retry": MessageLookupByLibrary.simpleMessage("Retry"), "shakeActionDescription": MessageLookupByLibrary.simpleMessage(
"settings": MessageLookupByLibrary.simpleMessage("Settings"), "The action to perform when a shake is detected",
"shakeAction": MessageLookupByLibrary.simpleMessage("Shake Action"), ),
"shakeActionDescription": MessageLookupByLibrary.simpleMessage( "shakeActivationThreshold": MessageLookupByLibrary.simpleMessage(
"The action to perform when a shake is detected", "Shake Activation Threshold",
), ),
"shakeActivationThreshold": MessageLookupByLibrary.simpleMessage( "shakeActivationThresholdDescription": MessageLookupByLibrary.simpleMessage(
"Shake Activation Threshold", "The higher the threshold, the harder you need to shake",
), ),
"shakeActivationThresholdDescription": "shakeDetector": MessageLookupByLibrary.simpleMessage("Shake Detector"),
MessageLookupByLibrary.simpleMessage( "shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
"The higher the threshold, the harder you need to shake", "Customize the shake detector settings",
), ),
"shakeDetector": MessageLookupByLibrary.simpleMessage("Shake Detector"), "shakeDetectorEnable": MessageLookupByLibrary.simpleMessage(
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage( "Enable Shake Detection",
"Customize the shake detector settings", ),
), "shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage( "Enable shake detection to do various actions",
"Enable Shake Detection", ),
), "shakeDetectorSettings": MessageLookupByLibrary.simpleMessage(
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage( "Shake Detector Settings",
"Enable shake detection to do various actions", ),
), "shakeFeedback": MessageLookupByLibrary.simpleMessage("Shake Feedback"),
"shakeDetectorSettings": MessageLookupByLibrary.simpleMessage( "shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
"Shake Detector Settings", "The feedback to give when a shake is detected",
), ),
"shakeFeedback": MessageLookupByLibrary.simpleMessage("Shake Feedback"), "shakeSelectAction": MessageLookupByLibrary.simpleMessage(
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage( "Select Shake Action",
"The feedback to give when a shake is detected", ),
), "shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
"shakeSelectAction": MessageLookupByLibrary.simpleMessage( "Select Shake Activation Threshold",
"Select Shake Action", ),
), "shakeSelectActivationThresholdHelper":
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage( MessageLookupByLibrary.simpleMessage(
"Select Shake Activation Threshold",
),
"shakeSelectActivationThresholdHelper":
MessageLookupByLibrary.simpleMessage(
"Enter a number to set the threshold in m/s²", "Enter a number to set the threshold in m/s²",
), ),
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage( "shakeSelectFeedback": MessageLookupByLibrary.simpleMessage(
"Select Shake Feedback", "Select Shake Feedback",
), ),
"themeMode": MessageLookupByLibrary.simpleMessage("Theme Mode"), "themeMode": MessageLookupByLibrary.simpleMessage("Theme Mode"),
"themeModeDark": MessageLookupByLibrary.simpleMessage("Dark"), "themeModeDark": MessageLookupByLibrary.simpleMessage("Dark"),
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage( "themeModeHighContrast": MessageLookupByLibrary.simpleMessage(
"High Contrast Mode", "High Contrast Mode",
), ),
"themeModeHighContrastDescription": "themeModeHighContrastDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "Increase the contrast between the background and the text",
"Increase the contrast between the background and the text", ),
), "themeModeLight": MessageLookupByLibrary.simpleMessage("Light"),
"themeModeLight": MessageLookupByLibrary.simpleMessage("Light"), "themeModeSystem": MessageLookupByLibrary.simpleMessage("System"),
"themeModeSystem": MessageLookupByLibrary.simpleMessage("System"), "themeSettings": MessageLookupByLibrary.simpleMessage("Theme Settings"),
"themeSettings": MessageLookupByLibrary.simpleMessage("Theme Settings"), "themeSettingsColors": MessageLookupByLibrary.simpleMessage(
"themeSettingsColors": MessageLookupByLibrary.simpleMessage( "Material Theme from System",
"Material Theme from System", ),
), "themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage(
"themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage( "Use Material You",
"Use Material You", ),
), "themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage( "Adaptive Theme on Item Page",
"Adaptive Theme on Item Page", ),
), "themeSettingsColorsBookDescription": MessageLookupByLibrary.simpleMessage(
"themeSettingsColorsBookDescription": "Get fancy with the colors on the item page at the cost of some performance",
MessageLookupByLibrary.simpleMessage( ),
"Get fancy with the colors on the item page at the cost of some performance", "themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
), "Adapt theme from currently playing item",
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage( ),
"Adapt theme from currently playing item", "themeSettingsColorsCurrentDescription":
), MessageLookupByLibrary.simpleMessage(
"themeSettingsColorsCurrentDescription":
MessageLookupByLibrary.simpleMessage(
"Use the theme colors from the currently playing item for the app", "Use the theme colors from the currently playing item for the app",
), ),
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage( "themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
"Use the system theme colors for the app", "Use the system theme colors for the app",
), ),
"themeSettingsDescription": MessageLookupByLibrary.simpleMessage( "themeSettingsDescription": MessageLookupByLibrary.simpleMessage(
"Customize the app theme", "Customize the app theme",
), ),
"timeSecond": m7, "timeSecond": m7,
"unknown": MessageLookupByLibrary.simpleMessage("Unknown"), "unknown": MessageLookupByLibrary.simpleMessage("Unknown"),
"webVersion": MessageLookupByLibrary.simpleMessage("Web Version"), "webVersion": MessageLookupByLibrary.simpleMessage("Web Version"),
"yes": MessageLookupByLibrary.simpleMessage("Yes"), "yes": MessageLookupByLibrary.simpleMessage("Yes"),
"you": MessageLookupByLibrary.simpleMessage("You"), "you": MessageLookupByLibrary.simpleMessage("You"),
"youTooltip": MessageLookupByLibrary.simpleMessage( "youTooltip": MessageLookupByLibrary.simpleMessage(
"Your Profile and Settings", "Your Profile and Settings",
), ),
}; };
} }

View file

@ -38,354 +38,325 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages); final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"account": MessageLookupByLibrary.simpleMessage("账户"), "account": MessageLookupByLibrary.simpleMessage("账户"),
"accountAddNewServer": MessageLookupByLibrary.simpleMessage("添加新服务器"), "accountAddNewServer": MessageLookupByLibrary.simpleMessage("添加新服务器"),
"accountAddUser": MessageLookupByLibrary.simpleMessage("添加用户"), "accountAddUser": MessageLookupByLibrary.simpleMessage("添加用户"),
"accountAddUserDialog": m0, "accountAddUserDialog": m0,
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage( "accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
"用户添加成功!切换?", "用户添加成功!切换?",
), ),
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage("添加新服务器"), "accountAddUserTooltip": MessageLookupByLibrary.simpleMessage("添加新服务器"),
"accountAnonymous": MessageLookupByLibrary.simpleMessage("匿名"), "accountAnonymous": MessageLookupByLibrary.simpleMessage("匿名"),
"accountDeleteServer": MessageLookupByLibrary.simpleMessage("删除服务器"), "accountDeleteServer": MessageLookupByLibrary.simpleMessage("删除服务器"),
"accountInvalidURL": MessageLookupByLibrary.simpleMessage("无效网址"), "accountInvalidURL": MessageLookupByLibrary.simpleMessage("无效网址"),
"accountManage": MessageLookupByLibrary.simpleMessage("帐户管理"), "accountManage": MessageLookupByLibrary.simpleMessage("帐户管理"),
"accountRegisteredServers": "accountRegisteredServers": MessageLookupByLibrary.simpleMessage("已注册服务器"),
MessageLookupByLibrary.simpleMessage("已注册服务器"), "accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage( "删除服务器和用户",
"删除服务器和用户", ),
), "accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage( "这将删除服务器 ",
"这将删除服务器 ", ),
), "accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage( " 以及该应用程序中所有用户的登录信息。",
" 以及该应用程序中所有用户的登录信息。", ),
), "accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage("删除用户登录"),
"accountRemoveUserLogin": "accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("删除用户登录"), "这将删除用户 ",
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage( ),
"这将删除用户 ", "accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
), " 的登录详细信息。",
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage( ),
" 的登录详细信息。", "accountServerURI": MessageLookupByLibrary.simpleMessage("服务器地址"),
), "accountSwitch": MessageLookupByLibrary.simpleMessage("切换账户"),
"accountServerURI": MessageLookupByLibrary.simpleMessage("服务器地址"), "accountUsersCount": m1,
"accountSwitch": MessageLookupByLibrary.simpleMessage("切换账户"), "appSettings": MessageLookupByLibrary.simpleMessage("应用设置"),
"accountUsersCount": m1, "appearance": MessageLookupByLibrary.simpleMessage("外观"),
"appSettings": MessageLookupByLibrary.simpleMessage("应用设置"), "autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage("自动睡眠定时器设置"),
"appearance": MessageLookupByLibrary.simpleMessage("外观"), "autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage("自动开启睡眠定时器"),
"autoSleepTimerSettings": "autoTurnOnTimer": MessageLookupByLibrary.simpleMessage("自动开启定时器"),
MessageLookupByLibrary.simpleMessage("自动睡眠定时器设置"), "autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage("始终自动开启定时器"),
"autoTurnOnSleepTimer": "autoTurnOnTimerAlwaysDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("自动开启睡眠定时器"), "总是打开睡眠定时器",
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage("自动开启定时器"), ),
"autoTurnOnTimerAlways": "autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("始终自动开启定时器"), "根据一天中的时间自动打开睡眠定时器",
"autoTurnOnTimerAlwaysDescription": ),
MessageLookupByLibrary.simpleMessage( "autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage(""),
"总是打开睡眠定时器", "autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
), "在指定时间打开睡眠定时器",
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage( ),
"根据一天中的时间自动打开睡眠定时器", "autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("直到"),
), "autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage(""), "在指定时间关闭睡眠定时器",
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage( ),
"在指定时间打开睡眠定时器", "automaticallyDescription": MessageLookupByLibrary.simpleMessage(
), "根据一天中的时间自动打开睡眠定时器",
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("直到"), ),
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage( "backup": MessageLookupByLibrary.simpleMessage("备份"),
"在指定时间关闭睡眠定时器", "backupAndRestore": MessageLookupByLibrary.simpleMessage("备份与恢复"),
), "bookAbout": MessageLookupByLibrary.simpleMessage("关于本书"),
"automaticallyDescription": MessageLookupByLibrary.simpleMessage( "bookAboutDefault": MessageLookupByLibrary.simpleMessage("抱歉,找不到描述"),
"根据一天中的时间自动打开睡眠定时器", "bookAuthors": MessageLookupByLibrary.simpleMessage("作者"),
), "bookDownloads": MessageLookupByLibrary.simpleMessage("下载"),
"backup": MessageLookupByLibrary.simpleMessage("备份"), "bookGenres": MessageLookupByLibrary.simpleMessage("风格"),
"backupAndRestore": MessageLookupByLibrary.simpleMessage("备份与恢复"), "bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("删节版"),
"bookAbout": MessageLookupByLibrary.simpleMessage("关于本书"), "bookMetadataLength": MessageLookupByLibrary.simpleMessage("持续时间"),
"bookAboutDefault": MessageLookupByLibrary.simpleMessage("抱歉,找不到描述"), "bookMetadataPublished": MessageLookupByLibrary.simpleMessage("发布年份"),
"bookAuthors": MessageLookupByLibrary.simpleMessage("作者"), "bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage("未删节版"),
"bookDownloads": MessageLookupByLibrary.simpleMessage("下载"), "bookSeries": MessageLookupByLibrary.simpleMessage("系列"),
"bookGenres": MessageLookupByLibrary.simpleMessage("风格"), "bookShelveEmpty": MessageLookupByLibrary.simpleMessage("重试"),
"bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("删节版"), "bookShelveEmptyText": MessageLookupByLibrary.simpleMessage("未查询到书架"),
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("持续时间"), "cancel": MessageLookupByLibrary.simpleMessage("取消"),
"bookMetadataPublished": MessageLookupByLibrary.simpleMessage("发布年份"), "chapterNotFound": MessageLookupByLibrary.simpleMessage("未找到章节"),
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage("未删节版"), "chapterSelect": MessageLookupByLibrary.simpleMessage("选择章节"),
"bookSeries": MessageLookupByLibrary.simpleMessage("系列"), "chapterSkip": MessageLookupByLibrary.simpleMessage("跳过章节片头片尾"),
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("重试"), "chapterSkipEnd": MessageLookupByLibrary.simpleMessage("跳过章节片尾 "),
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage("未查询到书架"), "chapterSkipOpen": MessageLookupByLibrary.simpleMessage("跳过章节片头 "),
"cancel": MessageLookupByLibrary.simpleMessage("取消"), "chapters": MessageLookupByLibrary.simpleMessage("章节列表"),
"chapterNotFound": MessageLookupByLibrary.simpleMessage("未找到章节"), "copyToClipboard": MessageLookupByLibrary.simpleMessage("复制到剪贴板"),
"chapterSelect": MessageLookupByLibrary.simpleMessage("选择章节"), "copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
"chapterSkip": MessageLookupByLibrary.simpleMessage("跳过章节片头片尾"), "将应用程序设置复制到剪贴板",
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage("跳过章节片尾 "), ),
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage("跳过章节片头 "), "copyToClipboardToast": MessageLookupByLibrary.simpleMessage("设置已复制到剪贴板"),
"chapters": MessageLookupByLibrary.simpleMessage("章节列表"), "delete": MessageLookupByLibrary.simpleMessage("删除"),
"copyToClipboard": MessageLookupByLibrary.simpleMessage("复制到剪贴板"), "deleteDialog": m2,
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage( "deleted": m3,
"将应用程序设置复制到剪贴板", "explore": MessageLookupByLibrary.simpleMessage("探索"),
), "exploreHint": MessageLookupByLibrary.simpleMessage("搜索与探索..."),
"copyToClipboardToast": "exploreTooltip": MessageLookupByLibrary.simpleMessage("搜索和探索"),
MessageLookupByLibrary.simpleMessage("设置已复制到剪贴板"), "general": MessageLookupByLibrary.simpleMessage("通用"),
"delete": MessageLookupByLibrary.simpleMessage("删除"), "help": MessageLookupByLibrary.simpleMessage("Help"),
"deleteDialog": m2, "home": MessageLookupByLibrary.simpleMessage("首页"),
"deleted": m3, "homeBookContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"),
"explore": MessageLookupByLibrary.simpleMessage("探索"), "homeBookContinueListeningDescription":
"exploreHint": MessageLookupByLibrary.simpleMessage("搜索与探索..."), MessageLookupByLibrary.simpleMessage("继续收听书架上显示播放按钮"),
"exploreTooltip": MessageLookupByLibrary.simpleMessage("搜索和探索"), "homeBookContinueSeries": MessageLookupByLibrary.simpleMessage("继续系列"),
"general": MessageLookupByLibrary.simpleMessage("通用"), "homeBookContinueSeriesDescription": MessageLookupByLibrary.simpleMessage(
"help": MessageLookupByLibrary.simpleMessage("Help"), "继续系列书架上显示播放按钮",
"home": MessageLookupByLibrary.simpleMessage("首页"), ),
"homeBookContinueListening": "homeBookDiscover": MessageLookupByLibrary.simpleMessage("发现"),
MessageLookupByLibrary.simpleMessage("继续收听"), "homeBookListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
"homeBookContinueListeningDescription": "homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("继续收听书架上显示播放按钮"), "再听一遍书架上显示播放按钮",
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage("继续系列"), ),
"homeBookContinueSeriesDescription": "homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage("最新作者"),
MessageLookupByLibrary.simpleMessage( "homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage("最近添加"),
"继续系列书架上显示播放按钮", "homeBookRecommended": MessageLookupByLibrary.simpleMessage("推荐"),
), "homeContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"),
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("发现"), "homeListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
"homeBookListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"), "homePageSettings": MessageLookupByLibrary.simpleMessage("主页设置"),
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage( "homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
"再听一遍书架上显示播放按钮", "自定义主页",
), ),
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage("最新作者"), "homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage("最近添加"), "其他书架",
"homeBookRecommended": MessageLookupByLibrary.simpleMessage("推荐"), ),
"homeContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"), "homePageSettingsOtherShelvesDescription":
"homeListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"), MessageLookupByLibrary.simpleMessage("显示所有剩余书架上所有书籍的播放按钮"),
"homePageSettings": MessageLookupByLibrary.simpleMessage("主页设置"), "homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage("继续播放"),
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage( "homeStartListening": MessageLookupByLibrary.simpleMessage("开始收听"),
"自定义主页", "language": MessageLookupByLibrary.simpleMessage("语言"),
), "languageDescription": MessageLookupByLibrary.simpleMessage("语言切换"),
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage( "library": MessageLookupByLibrary.simpleMessage("媒体库"),
"其他书架", "libraryChange": MessageLookupByLibrary.simpleMessage("更改媒体库"),
), "libraryEmpty": MessageLookupByLibrary.simpleMessage("没有可用的库。"),
"homePageSettingsOtherShelvesDescription": "libraryLoadError": m4,
MessageLookupByLibrary.simpleMessage("显示所有剩余书架上所有书籍的播放按钮"), "librarySelect": MessageLookupByLibrary.simpleMessage("选择媒体库"),
"homePageSettingsQuickPlay": "librarySwitchTooltip": MessageLookupByLibrary.simpleMessage("切换媒体库"),
MessageLookupByLibrary.simpleMessage("继续播放"), "libraryTooltip": MessageLookupByLibrary.simpleMessage("浏览您的媒体库"),
"homeStartListening": MessageLookupByLibrary.simpleMessage("开始收听"), "loading": MessageLookupByLibrary.simpleMessage("加载中..."),
"language": MessageLookupByLibrary.simpleMessage("语言"), "loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
"languageDescription": MessageLookupByLibrary.simpleMessage("语言切换"), "loginLogin": MessageLookupByLibrary.simpleMessage("登录"),
"library": MessageLookupByLibrary.simpleMessage("媒体库"), "loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
"libraryChange": MessageLookupByLibrary.simpleMessage("更改媒体库"), "loginPassword": MessageLookupByLibrary.simpleMessage("密码"),
"libraryEmpty": MessageLookupByLibrary.simpleMessage("没有可用的库。"), "loginServerClick": MessageLookupByLibrary.simpleMessage("单击此处"),
"libraryLoadError": m4, "loginServerConnected": MessageLookupByLibrary.simpleMessage("服务器已连接,请登录"),
"librarySelect": MessageLookupByLibrary.simpleMessage("选择媒体库"), "loginServerNo": MessageLookupByLibrary.simpleMessage("没有服务器? "),
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage("切换媒体库"), "loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
"libraryTooltip": MessageLookupByLibrary.simpleMessage("浏览您的媒体库"), "请输入您的AudiobookShelf服务器的URL",
"loading": MessageLookupByLibrary.simpleMessage("加载中..."), ),
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"), "loginServerNot": m5,
"loginLogin": MessageLookupByLibrary.simpleMessage("登录"), "loginServerTo": MessageLookupByLibrary.simpleMessage(" 了解如何设置服务器。"),
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"), "loginTitle": m6,
"loginPassword": MessageLookupByLibrary.simpleMessage("密码"), "loginToken": MessageLookupByLibrary.simpleMessage("Token"),
"loginServerClick": MessageLookupByLibrary.simpleMessage("单击此处"), "loginUsername": MessageLookupByLibrary.simpleMessage("用户名"),
"loginServerConnected": "logs": MessageLookupByLibrary.simpleMessage("日志"),
MessageLookupByLibrary.simpleMessage("服务器已连接,请登录"), "nmpSettingsBackward": MessageLookupByLibrary.simpleMessage("快退间隔"),
"loginServerNo": MessageLookupByLibrary.simpleMessage("没有服务器? "), "nmpSettingsForward": MessageLookupByLibrary.simpleMessage("快进间隔"),
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage( "nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage("媒体控制"),
"请输入您的AudiobookShelf服务器的URL", "nmpSettingsMediaControlsDescription": MessageLookupByLibrary.simpleMessage(
), "选择要显示的媒体控件",
"loginServerNot": m5, ),
"loginServerTo": MessageLookupByLibrary.simpleMessage(" 了解如何设置服务器。"), "nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
"loginTitle": m6, "在下面选择一个字段进行插入",
"loginToken": MessageLookupByLibrary.simpleMessage("Token"), ),
"loginUsername": MessageLookupByLibrary.simpleMessage("用户名"), "nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
"logs": MessageLookupByLibrary.simpleMessage("日志"), "显示章节进度",
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage("快退间隔"), ),
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage("快进间隔"), "nmpSettingsShowChapterProgressDescription":
"nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage("而不是本书的整体进展"),
MessageLookupByLibrary.simpleMessage("媒体控制"), "nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage("副标题"),
"nmpSettingsMediaControlsDescription": "nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "通知的副标题\n",
"选择要显示的媒体控件", ),
), "nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("主标题"),
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage( "nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
"在下面选择一个字段进行插入", "通知的标题\n",
), ),
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage( "no": MessageLookupByLibrary.simpleMessage(""),
"显示章节进度", "notImplemented": MessageLookupByLibrary.simpleMessage("未实现"),
), "notificationMediaPlayer": MessageLookupByLibrary.simpleMessage("通知媒体播放器"),
"nmpSettingsShowChapterProgressDescription": "notificationMediaPlayerDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("而不是本书的整体进展"), "在通知中自定义媒体播放器",
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage("副标题"), ),
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage( "ok": MessageLookupByLibrary.simpleMessage("确定"),
"通知的副标题\n", "pause": MessageLookupByLibrary.simpleMessage("暂停"),
), "play": MessageLookupByLibrary.simpleMessage("播放"),
"nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("主标题"), "playerSettings": MessageLookupByLibrary.simpleMessage("播放器设置"),
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage( "playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
"通知的标题\n", "剩余时间标记完成",
), ),
"no": MessageLookupByLibrary.simpleMessage(""), "playerSettingsCompleteTimeDescriptionHead":
"notImplemented": MessageLookupByLibrary.simpleMessage("未实现"), MessageLookupByLibrary.simpleMessage("当书中剩余时间少于 "),
"notificationMediaPlayer": "playerSettingsCompleteTimeDescriptionTail":
MessageLookupByLibrary.simpleMessage("通知媒体播放器"), MessageLookupByLibrary.simpleMessage(" 时,标记完成"),
"notificationMediaPlayerDescription": "playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "自定义播放器设置",
"在通知中自定义媒体播放器", ),
), "playerSettingsDisplay": MessageLookupByLibrary.simpleMessage("显示设置"),
"ok": MessageLookupByLibrary.simpleMessage("确定"), "playerSettingsDisplayChapterProgress":
"pause": MessageLookupByLibrary.simpleMessage("暂停"), MessageLookupByLibrary.simpleMessage("显示章节进度"),
"play": MessageLookupByLibrary.simpleMessage("播放"), "playerSettingsDisplayChapterProgressDescription":
"playerSettings": MessageLookupByLibrary.simpleMessage("播放器设置"), MessageLookupByLibrary.simpleMessage("在播放器中显示当前章节的进度"),
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage( "playerSettingsDisplayTotalProgress": MessageLookupByLibrary.simpleMessage(
"剩余时间标记完成", "显示总进度",
), ),
"playerSettingsCompleteTimeDescriptionHead": "playerSettingsDisplayTotalProgressDescription":
MessageLookupByLibrary.simpleMessage("当书中剩余时间少于 "), MessageLookupByLibrary.simpleMessage("在播放器中显示当前书籍的总进度"),
"playerSettingsCompleteTimeDescriptionTail": "playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage(" 时,标记完成"), "播放报告间隔",
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage( ),
"自定义播放器设置", "playerSettingsPlaybackIntervalDescriptionHead":
), MessageLookupByLibrary.simpleMessage(""),
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage("显示设置"), "playerSettingsPlaybackIntervalDescriptionTail":
"playerSettingsDisplayChapterProgress": MessageLookupByLibrary.simpleMessage(" 向服务器报告一次进度"),
MessageLookupByLibrary.simpleMessage("显示章节进度"), "playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
"playerSettingsDisplayChapterProgressDescription": "回放报告",
MessageLookupByLibrary.simpleMessage("在播放器中显示当前章节的进度"), ),
"playerSettingsDisplayTotalProgress": "playerSettingsPlaybackReportingIgnore":
MessageLookupByLibrary.simpleMessage( MessageLookupByLibrary.simpleMessage("忽略播放位置小于"),
"显示总进度", "playerSettingsPlaybackReportingMinimum":
), MessageLookupByLibrary.simpleMessage("回放报告最小位置"),
"playerSettingsDisplayTotalProgressDescription": "playerSettingsPlaybackReportingMinimumDescriptionHead":
MessageLookupByLibrary.simpleMessage("在播放器中显示当前书籍的总进度"), MessageLookupByLibrary.simpleMessage("不要报告本书前 "),
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage( "playerSettingsPlaybackReportingMinimumDescriptionTail":
"播放报告间隔", MessageLookupByLibrary.simpleMessage(" 的播放"),
), "playerSettingsRememberForEveryBook": MessageLookupByLibrary.simpleMessage(
"playerSettingsPlaybackIntervalDescriptionHead": "记住每本书的播放器设置",
MessageLookupByLibrary.simpleMessage(""), ),
"playerSettingsPlaybackIntervalDescriptionTail": "playerSettingsRememberForEveryBookDescription":
MessageLookupByLibrary.simpleMessage(" 向服务器报告一次进度"), MessageLookupByLibrary.simpleMessage("每本书都会记住播放速度、音量等设置"),
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage( "playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("播放速度"),
"回放报告", "playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
), "默认播放速度",
"playerSettingsPlaybackReportingIgnore": ),
MessageLookupByLibrary.simpleMessage("忽略播放位置小于"), "playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
"playerSettingsPlaybackReportingMinimum": "播放速度选项",
MessageLookupByLibrary.simpleMessage("回放报告最小位置"), ),
"playerSettingsPlaybackReportingMinimumDescriptionHead": "playerSettingsSpeedOptionsSelect": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("不要报告本书前 "), "播放速度选项",
"playerSettingsPlaybackReportingMinimumDescriptionTail": ),
MessageLookupByLibrary.simpleMessage(" 的播放"), "playerSettingsSpeedOptionsSelectAdd": MessageLookupByLibrary.simpleMessage(
"playerSettingsRememberForEveryBook": "添加一个速度选项",
MessageLookupByLibrary.simpleMessage( ),
"记住每本书的播放器设置", "playerSettingsSpeedOptionsSelectAddHelper":
), MessageLookupByLibrary.simpleMessage("输入一个新的速度选项"),
"playerSettingsRememberForEveryBookDescription": "playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage("选择播放速度"),
MessageLookupByLibrary.simpleMessage("每本书都会记住播放速度、音量等设置"), "playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("播放速度"), "输入默认的播放速度",
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage( ),
"默认播放速度", "playlistsMine": MessageLookupByLibrary.simpleMessage("播放列表"),
), "readLess": MessageLookupByLibrary.simpleMessage("折叠"),
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage( "readMore": MessageLookupByLibrary.simpleMessage("展开"),
"播放速度选项", "refresh": MessageLookupByLibrary.simpleMessage("刷新"),
), "reset": MessageLookupByLibrary.simpleMessage("重置"),
"playerSettingsSpeedOptionsSelect": "resetAppSettings": MessageLookupByLibrary.simpleMessage("重置应用程序设置"),
MessageLookupByLibrary.simpleMessage( "resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
"播放速度选项", "将应用程序设置重置为默认值",
), ),
"playerSettingsSpeedOptionsSelectAdd": "resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage( "您确定要重置应用程序设置吗?",
"添加一个速度选项", ),
), "restore": MessageLookupByLibrary.simpleMessage("恢复"),
"playerSettingsSpeedOptionsSelectAddHelper": "restoreBackup": MessageLookupByLibrary.simpleMessage("恢复备份"),
MessageLookupByLibrary.simpleMessage("输入一个新的速度选项"), "restoreBackupHint": MessageLookupByLibrary.simpleMessage("将备份粘贴到此处"),
"playerSettingsSpeedSelect": "restoreBackupInvalid": MessageLookupByLibrary.simpleMessage("无效备份"),
MessageLookupByLibrary.simpleMessage("选择播放速度"), "restoreBackupSuccess": MessageLookupByLibrary.simpleMessage("设置已恢复"),
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage( "restoreBackupValidator": MessageLookupByLibrary.simpleMessage("请将备份粘贴到此处"),
"输入默认的播放速度", "restoreDescription": MessageLookupByLibrary.simpleMessage("从备份中还原应用程序设置"),
), "resume": MessageLookupByLibrary.simpleMessage("继续"),
"playlistsMine": MessageLookupByLibrary.simpleMessage("播放列表"), "retry": MessageLookupByLibrary.simpleMessage("重试"),
"readLess": MessageLookupByLibrary.simpleMessage("折叠"), "settings": MessageLookupByLibrary.simpleMessage("设置"),
"readMore": MessageLookupByLibrary.simpleMessage("展开"), "shakeAction": MessageLookupByLibrary.simpleMessage("抖动操作"),
"refresh": MessageLookupByLibrary.simpleMessage("刷新"), "shakeActionDescription": MessageLookupByLibrary.simpleMessage(
"reset": MessageLookupByLibrary.simpleMessage("重置"), "检测到抖动时要执行的操作",
"resetAppSettings": MessageLookupByLibrary.simpleMessage("重置应用程序设置"), ),
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage( "shakeActivationThreshold": MessageLookupByLibrary.simpleMessage("抖动激活阈值"),
"将应用程序设置重置为默认值", "shakeActivationThresholdDescription": MessageLookupByLibrary.simpleMessage(
), "门槛越高,你就越难摇晃",
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage( ),
"您确定要重置应用程序设置吗?", "shakeDetector": MessageLookupByLibrary.simpleMessage("抖动检测器"),
), "shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
"restore": MessageLookupByLibrary.simpleMessage("恢复"), "自定义抖动检测器设置",
"restoreBackup": MessageLookupByLibrary.simpleMessage("恢复备份"), ),
"restoreBackupHint": MessageLookupByLibrary.simpleMessage("将备份粘贴到此处"), "shakeDetectorEnable": MessageLookupByLibrary.simpleMessage("启用抖动检测"),
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage("无效备份"), "shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage("设置已恢复"), "启用抖动检测以执行各种操作",
"restoreBackupValidator": ),
MessageLookupByLibrary.simpleMessage("请将备份粘贴到此处"), "shakeDetectorSettings": MessageLookupByLibrary.simpleMessage("抖动检测器设置"),
"restoreDescription": "shakeFeedback": MessageLookupByLibrary.simpleMessage("抖动反馈"),
MessageLookupByLibrary.simpleMessage("从备份中还原应用程序设置"), "shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
"resume": MessageLookupByLibrary.simpleMessage("继续"), "检测到抖动时给出的反馈",
"retry": MessageLookupByLibrary.simpleMessage("重试"), ),
"settings": MessageLookupByLibrary.simpleMessage("设置"), "shakeSelectAction": MessageLookupByLibrary.simpleMessage("选择抖动动作"),
"shakeAction": MessageLookupByLibrary.simpleMessage("抖动操作"), "shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
"shakeActionDescription": MessageLookupByLibrary.simpleMessage( "选择抖动激活阈值",
"检测到抖动时要执行的操作", ),
), "shakeSelectActivationThresholdHelper":
"shakeActivationThreshold": MessageLookupByLibrary.simpleMessage("输入一个数字以m/s²为单位设置阈值"),
MessageLookupByLibrary.simpleMessage("抖动激活阈值"), "shakeSelectFeedback": MessageLookupByLibrary.simpleMessage("选择抖动反馈"),
"shakeActivationThresholdDescription": "themeMode": MessageLookupByLibrary.simpleMessage("主题模式"),
MessageLookupByLibrary.simpleMessage( "themeModeDark": MessageLookupByLibrary.simpleMessage("深色"),
"门槛越高,你就越难摇晃", "themeModeHighContrast": MessageLookupByLibrary.simpleMessage("高对比度模式"),
), "themeModeHighContrastDescription": MessageLookupByLibrary.simpleMessage(
"shakeDetector": MessageLookupByLibrary.simpleMessage("抖动检测器"), "增加背景和文本之间的对比度",
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage( ),
"自定义抖动检测器设置", "themeModeLight": MessageLookupByLibrary.simpleMessage("浅色"),
), "themeModeSystem": MessageLookupByLibrary.simpleMessage("跟随系统"),
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage("启用抖动检测"), "themeSettings": MessageLookupByLibrary.simpleMessage("主题设置"),
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage( "themeSettingsColors": MessageLookupByLibrary.simpleMessage("主题色"),
"启用抖动检测以执行各种操作", "themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage("主题色"),
), "themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
"shakeDetectorSettings": "书籍详情页自适应主题",
MessageLookupByLibrary.simpleMessage("抖动检测器设置"), ),
"shakeFeedback": MessageLookupByLibrary.simpleMessage("抖动反馈"), "themeSettingsColorsBookDescription": MessageLookupByLibrary.simpleMessage(
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage( "以牺牲一些性能为代价,对书籍详情页的颜色进行美化",
"检测到抖动时给出的反馈", ),
), "themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
"shakeSelectAction": MessageLookupByLibrary.simpleMessage("选择抖动动作"), "根据当前播放的书籍调整主题",
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage( ),
"选择抖动激活阈值", "themeSettingsColorsCurrentDescription":
), MessageLookupByLibrary.simpleMessage("使用当前播放书籍的主题颜色"),
"shakeSelectActivationThresholdHelper": "themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
MessageLookupByLibrary.simpleMessage("输入一个数字以m/s²为单位设置阈值"), "使用应用程序的系统主题色",
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage("选择抖动反馈"), ),
"themeMode": MessageLookupByLibrary.simpleMessage("主题模式"), "themeSettingsDescription": MessageLookupByLibrary.simpleMessage("自定义应用主题"),
"themeModeDark": MessageLookupByLibrary.simpleMessage("深色"), "timeSecond": m7,
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage("高对比度模式"), "unknown": MessageLookupByLibrary.simpleMessage("未知"),
"themeModeHighContrastDescription": "webVersion": MessageLookupByLibrary.simpleMessage("Web版本"),
MessageLookupByLibrary.simpleMessage( "yes": MessageLookupByLibrary.simpleMessage(""),
"增加背景和文本之间的对比度", "you": MessageLookupByLibrary.simpleMessage("我的"),
), "youTooltip": MessageLookupByLibrary.simpleMessage("您的个人资料和设置"),
"themeModeLight": MessageLookupByLibrary.simpleMessage("浅色"), };
"themeModeSystem": MessageLookupByLibrary.simpleMessage("跟随系统"),
"themeSettings": MessageLookupByLibrary.simpleMessage("主题设置"),
"themeSettingsColors": MessageLookupByLibrary.simpleMessage("主题色"),
"themeSettingsColorsAndroid":
MessageLookupByLibrary.simpleMessage("主题色"),
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
"书籍详情页自适应主题",
),
"themeSettingsColorsBookDescription":
MessageLookupByLibrary.simpleMessage(
"以牺牲一些性能为代价,对书籍详情页的颜色进行美化",
),
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
"根据当前播放的书籍调整主题",
),
"themeSettingsColorsCurrentDescription":
MessageLookupByLibrary.simpleMessage("使用当前播放书籍的主题颜色"),
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
"使用应用程序的系统主题色",
),
"themeSettingsDescription":
MessageLookupByLibrary.simpleMessage("自定义应用主题"),
"timeSecond": m7,
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
"webVersion": MessageLookupByLibrary.simpleMessage("Web版本"),
"yes": MessageLookupByLibrary.simpleMessage(""),
"you": MessageLookupByLibrary.simpleMessage("我的"),
"youTooltip": MessageLookupByLibrary.simpleMessage("您的个人资料和设置"),
};
} }

View file

@ -8,7 +8,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:vaani/api/server_provider.dart'; import 'package:vaani/api/server_provider.dart';
import 'package:vaani/db/storage.dart'; import 'package:vaani/db/storage.dart';
import 'package:vaani/features/logging/core/logger.dart'; import 'package:vaani/features/logging/core/logger.dart';
import 'package:vaani/features/player/providers/audiobook_player.dart'; import 'package:vaani/features/player/providers/abs_provider.dart';
import 'package:vaani/features/player/providers/currently_playing_provider.dart'; import 'package:vaani/features/player/providers/currently_playing_provider.dart';
import 'package:vaani/features/settings/api_settings_provider.dart'; import 'package:vaani/features/settings/api_settings_provider.dart';
import 'package:vaani/features/settings/app_settings_provider.dart'; import 'package:vaani/features/settings/app_settings_provider.dart';
@ -38,7 +38,8 @@ void main() async {
// initialize audio player // initialize audio player
// await configurePlayer(); // await configurePlayer();
await container.read(audioHandlerInitProvider.future); // await container.read(audioHandlerInitProvider.future);
await container.read(absAudioHandlerInitProvider.future);
// run the app // run the app
runApp( runApp(
UncontrolledProviderScope( UncontrolledProviderScope(

View file

@ -11,6 +11,7 @@ import 'package:vaani/api/image_provider.dart';
import 'package:vaani/api/library_item_provider.dart' show libraryItemProvider; import 'package:vaani/api/library_item_provider.dart' show libraryItemProvider;
import 'package:vaani/constants/hero_tag_conventions.dart'; import 'package:vaani/constants/hero_tag_conventions.dart';
import 'package:vaani/features/item_viewer/view/library_item_actions.dart'; import 'package:vaani/features/item_viewer/view/library_item_actions.dart';
import 'package:vaani/features/player/providers/abs_provider.dart';
import 'package:vaani/features/player/providers/currently_playing_provider.dart'; import 'package:vaani/features/player/providers/currently_playing_provider.dart';
import 'package:vaani/features/player/providers/player_status_provider.dart'; import 'package:vaani/features/player/providers/player_status_provider.dart';
import 'package:vaani/features/player/providers/audiobook_player.dart'; import 'package:vaani/features/player/providers/audiobook_player.dart';
@ -295,7 +296,11 @@ class _BookOnShelfPlayButton extends HookConsumerWidget {
final book = final book =
await ref.watch(libraryItemProvider(libraryItemId).future); await ref.watch(libraryItemProvider(libraryItemId).future);
ref.read(currentBookProvider.notifier).update( // ref.read(currentBookProvider.notifier).update(
// book.media.asBookExpanded,
// userProgress?.currentTime,
// );
ref.read(absStateProvider.notifier).load(
book.media.asBookExpanded, book.media.asBookExpanded,
userProgress?.currentTime, userProgress?.currentTime,
); );

View file

@ -12,6 +12,7 @@ import dynamic_color
import file_picker import file_picker
import isar_flutter_libs import isar_flutter_libs
import just_audio import just_audio
import media_kit_libs_macos_audio
import package_info_plus import package_info_plus
import path_provider_foundation import path_provider_foundation
import screen_retriever_macos import screen_retriever_macos
@ -29,6 +30,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin")) FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
IsarFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "IsarFlutterLibsPlugin")) IsarFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "IsarFlutterLibsPlugin"))
JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin")) JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin"))
MediaKitLibsMacosAudioPlugin.register(with: registry.registrar(forPlugin: "MediaKitLibsMacosAudioPlugin"))
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin")) ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin"))

View file

@ -95,7 +95,7 @@ packages:
source: hosted source: hosted
version: "0.1.4" version: "0.1.4"
audio_session: audio_session:
dependency: "direct main" dependency: transitive
description: description:
name: audio_session name: audio_session
sha256: "2b7fff16a552486d078bfc09a8cde19f426dc6d6329262b684182597bec5b1ac" sha256: "2b7fff16a552486d078bfc09a8cde19f426dc6d6329262b684182597bec5b1ac"
@ -786,14 +786,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.10.5" version: "0.10.5"
just_audio_media_kit:
dependency: "direct main"
description:
name: just_audio_media_kit
sha256: f3cf04c3a50339709e87e90b4e841eef4364ab4be2bdbac0c54cc48679f84d23
url: "https://pub.dev"
source: hosted
version: "2.1.0"
just_audio_platform_interface: just_audio_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -907,23 +899,55 @@ packages:
source: hosted source: hosted
version: "0.11.1" version: "0.11.1"
media_kit: media_kit:
dependency: transitive dependency: "direct main"
description: description:
name: media_kit name: media_kit
sha256: dfd5ab85d49a1806b1314a0b81f3d14da48f0db0a657336b2d77c5f17db28944 sha256: "2a207ea7baf1a2ea2ff2016d512e572ca6fc02a937769effb5c27b4d682b4a53"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.2.2" version: "1.2.3"
media_kit_libs_linux: media_kit_libs_android_audio:
dependency: transitive
description:
name: media_kit_libs_android_audio
sha256: "8f8f9759e537e12d66f08bc4d5279eb1bb21a0ccc519ff3442c68a9f3b6dd68b"
url: "https://pub.dev"
source: hosted
version: "1.3.8"
media_kit_libs_audio:
dependency: "direct main" dependency: "direct main"
description:
name: media_kit_libs_audio
sha256: "81bf506c234e81e3ec536ba72f8f700a928543c14c345220210cae0411636316"
url: "https://pub.dev"
source: hosted
version: "1.0.7"
media_kit_libs_ios_audio:
dependency: transitive
description:
name: media_kit_libs_ios_audio
sha256: "78ccf04e27d6b4ba00a355578ccb39b772f00d48269a6ac3db076edf2d51934f"
url: "https://pub.dev"
source: hosted
version: "1.1.4"
media_kit_libs_linux:
dependency: transitive
description: description:
name: media_kit_libs_linux name: media_kit_libs_linux
sha256: "2b473399a49ec94452c4d4ae51cfc0f6585074398d74216092bf3d54aac37ecf" sha256: "2b473399a49ec94452c4d4ae51cfc0f6585074398d74216092bf3d54aac37ecf"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.2.1" version: "1.2.1"
media_kit_libs_macos_audio:
dependency: transitive
description:
name: media_kit_libs_macos_audio
sha256: "3be21844df98f286de32808592835073cdef2c1a10078bac135da790badca950"
url: "https://pub.dev"
source: hosted
version: "1.1.4"
media_kit_libs_windows_audio: media_kit_libs_windows_audio:
dependency: "direct main" dependency: transitive
description: description:
name: media_kit_libs_windows_audio name: media_kit_libs_windows_audio
sha256: c2fd558cc87b9d89a801141fcdffe02e338a3b21a41a18fbd63d5b221a1b8e53 sha256: c2fd558cc87b9d89a801141fcdffe02e338a3b21a41a18fbd63d5b221a1b8e53

View file

@ -34,8 +34,6 @@ dependencies:
animated_list_plus: ^0.5.2 animated_list_plus: ^0.5.2
animated_theme_switcher: ^2.0.10 animated_theme_switcher: ^2.0.10
archive: ^4.0.5 archive: ^4.0.5
audio_service: ^0.18.15
audio_session: ^0.1.23
audio_video_progress_bar: ^2.0.2 audio_video_progress_bar: ^2.0.2
auto_scroll_text: ^0.0.7 auto_scroll_text: ^0.0.7
background_downloader: ^9.2.0 background_downloader: ^9.2.0
@ -72,9 +70,14 @@ dependencies:
# ref: media-notification-config # ref: media-notification-config
# path: just_audio_background # path: just_audio_background
# just_audio_windows: ^0.2.2 # just_audio_windows: ^0.2.2
just_audio_media_kit: ^2.0.4 # just_audio_media_kit: ^2.0.4
media_kit_libs_linux: any # media_kit_libs_linux: any
media_kit_libs_windows_audio: any # media_kit_libs_windows_audio: any
audio_service: ^0.18.15
# audio_session: ^0.1.23
media_kit: ^1.2.3 # Primary package.
media_kit_libs_audio: any # Native audio dependencies.
list_wheel_scroll_view_nls: ^0.0.3 list_wheel_scroll_view_nls: ^0.0.3
logging: ^1.2.0 logging: ^1.2.0
logging_appenders: ^1.3.1 logging_appenders: ^1.3.1