Is it possible to let ReadyMedia use jpg files in the same folder and with the same name as the corresponding video file be used as a thumbnail for this video file?
for exmaple:
Lord_of_the_rings.mkv
Lord_of_the_rings.jpg
That is the default behavior. If you mean not to resize thumbnails, then no. There are patches available in the forums that either bypass image resize or change thumbnail resolutions. But from what I've read, the dlna specs limits thumbnail size to 160x160 which is why minidlna resizes images and caches them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually the DLNA specs allow multiple image profiles to be sent. Minidlna only presents JPEG_0 profile which is the thumbnail. We can patch minidlna to send different profiles and then the applications that request those can get the larger sizes. I have a fork of minidlna that does this: https://github.com/Darkvater/minidlna/tree/multiple_sized_thumbnails?files=1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the feedback, but i am still not sure if what you are talking about is the reason or a solution, because the folder thumbs are working fine for videos or music... and i am using several renderers or controller software/apps which show all the same result.
It is working as expected with UMS, but i would prefer to use minidlna.
BTW, why dont you integrate your patch in the main stream repo from Justin? - sounds interesting to me
Last edit: Josch 2015-12-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Rebuild the database and run in debug mode with the '-R -d' options. Post the relevant log entries, config file, media info, and any other information regarding your issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
BTW, are you sure that minidlna can ready embedded cover art in mkv?
I thought that this is only possible with a patch but not the "standard" from git.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That is the default behavior. If you mean not to resize thumbnails, then no. There are patches available in the forums that either bypass image resize or change thumbnail resolutions. But from what I've read, the dlna specs limits thumbnail size to 160x160 which is why minidlna resizes images and caches them.
I tried but it was not working for me
I tried it again, by deleting the art cache and the files.db and rescanning all files.
It is NOT working.
So i assume it is not implemented.
I hope Justin will have the time to do this.
Actually the DLNA specs allow multiple image profiles to be sent. Minidlna only presents JPEG_0 profile which is the thumbnail. We can patch minidlna to send different profiles and then the applications that request those can get the larger sizes. I have a fork of minidlna that does this: https://github.com/Darkvater/minidlna/tree/multiple_sized_thumbnails?files=1
Thanks for the feedback, but i am still not sure if what you are talking about is the reason or a solution, because the folder thumbs are working fine for videos or music... and i am using several renderers or controller software/apps which show all the same result.
It is working as expected with UMS, but i would prefer to use minidlna.
BTW, why dont you integrate your patch in the main stream repo from Justin? - sounds interesting to me
Last edit: Josch 2015-12-18
Rebuild the database and run in debug mode with the '-R -d' options. Post the relevant log entries, config file, media info, and any other information regarding your issue.
So... after more research i found the issue.
minidlna overrides "per file thumbnails" if it finds a "folder thumbnail".
i.e.:
folder.jpg overrides:
Lord_of_the_rings.jpg
for the movie in the same folder
Lord_of_the_rings.mkv
Is this the expected behaviour?
In order of importance:
1) embedded (in file, movie.mkv)
2) specific (movie.cover.jpg, movie.jpg)
3) album_art_names (list from config file)
I couldn't reproduce your issue. See my previous post and post the steps
needed to reproduce the issue.
BTW, are you sure that minidlna can ready embedded cover art in mkv?
I thought that this is only possible with a patch but not the "standard" from git.
Current code will select the last embedded image as cover art. Try this: https://sourceforge.net/projects/matroska/files/test_files/cover_art.mkv