I see that I can manually specify the thumbnail image, but can I do it automatically?
.
โโโ sample.mp4
โโโ sample.jpg # Use this image as a thumbnail
Interesting idea. I wonder how common it is for people to have such a setup. My guess it's very uncommon ๐ค ๐คทโโ๏ธ ... perhaps some people have cover.jpg file name instead ๐ญ I'm really unsure.
If you'd like I can help you code the changes so you could build your own version of the app ๐ค
I'm unsure whether I'd want the feature to be a part of the app - I'm sort-of on the border. Would love to hear others' opinions ๐
Interesting idea but I agree that multiple people probably use different kinds of formats (yay multiple standards).
The format I'm using is a folder with the movie file in it, an information file (NFO), a trailer, a poster (like a DVD case front) and a background image (fanart). There's also 2 subfolders for thumbnails and backgrounds (fanart).
It looks a bit like this:
extrafanart
โโโ fanart0.jpg
โโโ fanart1.jpg
extrathumbs
โโโ thumb0.jpg
โโโ thumb1.jpg
.
โโโ sample.mp4
โโโ sample.nfo
โโโ sample-fanart.jpg
โโโ sample-poster.jpg
โโโ movie-trailer.mp4
And in the case of TV series there also a theme music file in the same location as the main folder named theme.mp3. But that's outside the scope of this project I think. Besides my TV series folders have a different format with season subfolders. Let's not get in to that (unless you want to).
Thanks for the reply.
It certainly doesn't seem to be an easy solution, as different people manage their cover images differently.
I'll make a fork that is suitable for me :smirk:.
Do let me know if you'd like me to point you to locations in code where to add your changes / if you have any questions ๐
ps - the current main branch already has the changes from 3.0.0 but it might have minor bugs still. The branch is stable-enough that it shouldn't change much before release, but whatever you build would likely benefit from a git merge main update once 3.0.0 comes out ๐
Thank you for the suggestion and the discussion.
I think this is too bespoke and is best handled by individual developers on their end. There's already functionality in the app that can take an arbitrary .jpg or .png and set it as the main thumbnail for a video. It wouldn't be too hard to add a few lines of code that check for presence of a particular image format and use that functionality.
Closing the issue since I don't think this will appear in the production app. Please feel free to comment on it if you'd like any help with getting the code to work for yourself ๐ค