![]() |
Images playlists: how to add crop geometry info? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Images playlists: how to add crop geometry info? (/showthread.php?tid=347113) |
Images playlists: how to add crop geometry info? - Niccolo - 2019-09-09 Hello, I wrote a script add-on to play a slideshow of images with on-the-fly crop. This is because I have 4:3 images to be shown on 16:9 screen, but I don't want black borders, nor I want to store copies of the original photos. Here it is the script.picture.photo-frame source code. My question is: how to embed in an .m3u images playlist the crop geometry data? Actually I use the following format: IMG_6602.JPG|4000x2250+0+332 but this breaks the standard m3u handling: Kodi does not understand the filename|geometry semantic. I tried also the "?" (question mark) as separator: being each playlist line an URL, I hoped that the part following the question mark will be removed before fetching the image, but it is not. Any suggestion on how to embed extra data into a playlist? Adding it as comments will add may problems when you come to automatic handling/editing of the file. RE: Images playlists: how to add crop geometry info? - Karellen - 2019-09-09 Moved to development |