Images playlists: how to add crop geometry info?
#1
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.
Reply
#2
Moved to development
My Signature
Links to : Forum rules (wiki) | Banned_Add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create_Music_Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Images playlists: how to add crop geometry info?00