Support opds (#133)
* Add OPDS catalog support for book discovery and downloading * Implement OPDS search, improved book discovery, and enhanced UI details. * Improve OPDS search and catalog management * Add authentication support and extended metadata to the OPDS reader. * Add support for OPDS 2.0 (JSON) feeds * Enhance OPDS book downloading with progress tracking and multi-format support. * Enhance OPDS book management and UI * Add support for OPDS-PSE (Page Streaming Extension) streaming * Improve OPDS streaming and catalog management
This commit is contained in:
parent
355664fbcc
commit
15264a31ae
12 changed files with 2208 additions and 33 deletions
|
|
@ -335,8 +335,11 @@ fun FileInfoDialog(item: RecentFileItem, onDismiss: () -> Unit, onUpdateName: (S
|
|||
}
|
||||
|
||||
val context = LocalContext.current
|
||||
val isOpdsStream = item.uriString?.startsWith("opds-pse://") == true
|
||||
val pathText = remember(item.sourceFolderUri, item.uriString, item.displayName, context) {
|
||||
if (item.sourceFolderUri != null && item.uriString != null) {
|
||||
if (isOpdsStream) {
|
||||
"Source: OPDS Stream"
|
||||
} else if (item.sourceFolderUri != null && item.uriString != null) {
|
||||
try {
|
||||
val uri = item.uriString.toUri()
|
||||
val docId = if (android.provider.DocumentsContract.isDocumentUri(context, uri)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue