Skip to content

Conversation

deldesir
Copy link
Collaborator

@deldesir deldesir commented Sep 15, 2023

[Various] images and videos formats are added so they can be uploaded. Support to read them is also added.

[Various] images and videos formats are added so they can be uploaded.
@deldesir deldesir requested a review from holta September 15, 2023 02:13
Videos and images are supported. They can "showed" using the usual "read" route.
@deldesir deldesir marked this pull request as draft September 15, 2023 02:35
Relevant media "reading" buutons are visible.
@deldesir deldesir marked this pull request as ready for review September 15, 2023 02:48
@holta
Copy link
Member

holta commented Sep 15, 2023

@deldesir can you/we (and everyone) use https://github.com/iiab/calibre-web/wiki to document supported (and unsupported!) media types like

EXTENSIONS_AUDIO = {'mp3', 'ogg', 'opus', 'wav', 'flac', 'm4a', 'm4b'}
EXTENSIONS_VIDEO = {'mp4', 'webm', 'avi', 'mkv', 'm4v', 'mpg', 'mpeg', 'ogv'}
EXTENSIONS_IMAGE = {'jpg', 'jpeg', 'png', 'gif', 'svg', 'webp'}
?

(Or is there a much better place?!)

@deldesir
Copy link
Collaborator Author

Yes, good idea.

@holta
Copy link
Member

holta commented Sep 15, 2023

This PR looks great!

Has it been smoke-tested?

If so I'm in favor of it being pushed ASAP to encourage broad community testing / further integration testing / etc — alongside succinct documentation of media types at https://github.com/iiab/calibre-web/wiki please!

PS we can (and no doubt will!) LATER tighten up & revise which media types are truly needed — and which should be desupported being far more trouble than they're worth — i.e. an eternal battle, e.g. just this week we learned that an iPhone 14 OS upgrade in recent weeks... very suddenly desupported some "audio codecs" when playing Kiwix videos (videos play but the sound can no longer be heard, on iPhone 14 only!) 😉

@deldesir deldesir self-assigned this Sep 15, 2023
@deldesir deldesir added the enhancement New feature or request label Sep 15, 2023
@deldesir
Copy link
Collaborator Author

Smoke-tested on Ubuntu 22.04. Please refer to https://github.com/iiab/calibre-web/wiki/Features-wiki#supported-media-formats for support status.

deldesir added a commit that referenced this pull request Sep 26, 2023
feat: add video[book] playback support
@holta holta merged commit ce96f1a into master Oct 24, 2023
@deldesir deldesir deleted the deldesir-media-upload branch November 7, 2023 14:20
deldesir added a commit that referenced this pull request Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants