media library
Classes
- ComputeManifestParams
- For allowing manifest to be used.
- DictionaryMediaType
- Media type that encapsulates dictionary search results.
- MediaItem
- An item representable in media history from which a media source may start playback with. This entity does not have any progress information, such as duration or number of chapters and individual progress of those items. That extra information is handled as extra arguments used alongside the MediaItem, and not included within it. This design is done to reduce the number and complexity of CRUD operations, as including all data in this entity is impractical to include when persisting a progress update.
- MediaSource
- A source for a MediaType that will appear on the list of sources when set as active. Handles sourcing and delivery of arguments such that the MediaType is able to execute and launch with the proper arguments.
- MediaType
- A type of media that is significantly distinguishable from other media such that it is deserving of its own core functionality when viewing media items. A MediaType has its own history and home tab.
- PlayerLocalMediaSource
- A media source that allows the user to watch videos in their local device storage.
- PlayerMediaSource
- A source for the PlayerMediaType, which handles primarily video-based media.
- PlayerMediaType
- Media type that encapsulates videos or music.
- PlayerNetworkStreamSource
- A media source that allows the user to stream video from a URL.
- PlayerYoutubeSource
- A media source that allows the user to stream a selected video from YouTube.
- ReaderBrowserSource
- A media source that allows browsing the web.
- ReaderChatgptSource
- A media source that allows the user to paste and select text.
- ReaderClipboardSource
- A media source that allows the user to paste and select text.
- ReaderLyricsSource
- A media source that allows the user to fetch lyrics from Google.
- ReaderMediaSource
- A source for the ReaderMediaType, which handles primarily text-based media.
- ReaderMediaType
- Media type that encapsulates text-based media, like books or articles.
- ReaderMokuroSource
- A media source that allows the user to read manga processed by Mokuro.
- ReaderTtuSource
- A media source that allows the user to read from ッツ Ebook Reader.
- ReaderWebsocketSource
- A media source that allows the user to fetch lyrics from Google.
- VideoManifest
- Used to perform grabbing both manifests in a single isolate.
- ViewerCameraSource
- A media source that allows the user to take images or pick media from their library and use optical character recognition features.
- ViewerMediaSource
- A source for the ViewerMediaType, which handles primarily image-based media.
- ViewerMediaType
- Media type that encapsulates static visual media, like comics or pictures.
Extensions
Constants
-
MediaItemSchema
→ const CollectionSchema<
MediaItem> -
CollectionSchema(name: r'MediaItem', id: 3893864289923902342, properties: {r'audioUrl' : PropertySchema(id: 0, name: r'audioUrl', type: IsarType.string), r'author' : Pr…
Properties
-
channelProvider
→ FutureProviderFamily<
Channel, String> -
A global Provider for getting the paging controller for replies for a
comment.
final
-
clipboardProvider
→ StateProvider<
String> -
A global Provider for getting lyrics from Google.
final
-
commentsProvider
→ FutureProviderFamily<
PagingController< int, Comment> ?, String> -
A global Provider for getting the paging controller for comments for a
video.
final
-
lyricsPermissionsProvider
→ FutureProvider<
bool> -
A global Provider for getting lyrics from Google.
final
-
lyricsProvider
→ FutureProviderFamily<
JidoujishoLyrics, JidoujishoLyricsParameters> -
A global Provider for getting lyrics from Google.
final
-
lyricsStreamProvider
→ StreamProvider<
NowPlayingTrack> -
A global Provider for listening to track changes.
final
-
repliesProvider
→ FutureProviderFamily<
PagingController< int, Comment> ?, Comment> -
A global Provider for getting the paging controller for replies for a
comment.
final
-
ttuBooksProvider
→ FutureProviderFamily<
List< MediaItem> , Language> -
A global Provider for getting ッツ Ebook Reader books from IndexedDB.
final
-
ttuServerProvider
→ FutureProviderFamily<
LocalAssetsServer, Language> -
A global Provider for serving a local ッツ Ebook Reader.
final
- vttRegex ↔ RegExp
-
Used for computeManifests.
read / write
Functions
-
computeCaptionsManifest(
String videoId) → Future< ClosedCaptionManifest> - Used to not block the UI isolate.
-
computeChannel(
String channelId) → Future< Channel> - Used to not block the UI isolate.
-
computeCommentsList(
CommentsList? commentsList) → Future< CommentsList?> - Used to not block the UI isolate.
-
computeManifests(
ComputeManifestParams params) → Future< VideoManifest> - Used to be able to get both manifests at the same time.