Originally Posted by
birdman
I can. It's got a .jpg suffix, but the Exif data says it's a PNG file.
Thanks Birdman, your right!
The BBC iPlayer logo is a PNG file - like all logos in /usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/icons/logos seem to be. The exif data and file extension correspond to a PNG image format:
Code:
$ exiftool bbciplayerlogo.png
ExifTool Version Number : 10.72
File Name : bbciplayerlogo.png
Directory : .
File Size : 1111 bytes
File Modification Date/Time : 2018:02:12 08:56:28+00:00
File Access Date/Time : 2018:02:12 08:56:28+00:00
File Inode Change Date/Time : 2018:02:12 08:56:28+00:00
File Permissions : rw-r--r--
File Type : PNG
File Type Extension : png
MIME Type : image/png
Image Width : 120
Image Height : 40
Bit Depth : 8
Color Type : Palette
Compression : Deflate/Inflate
Filter : Adaptive
Interlace : Noninterlaced
Gamma : 2.2
Palette : (Binary data 138 bytes, use -b option to extract)
Transparency : (Binary data 45 bytes, use -b option to extract)
Image Size : 120x40
Megapixels : 0.005
However, the other three files despite their .jpg file extension are all PNGs ....
I don't know if this is the cause of the crash. On a desktop, Linux opens all these files without a problem, because it reads the magic code in the header of the file to determine its mime type, rather than the file name extension.
Code:
$ file 8ec8e964454eaeb6ad57ae2230ac1c88.jpg
8ec8e964454eaeb6ad57ae2230ac1c88.jpg: PNG image data, 512 x 512, 8-bit grayscale, non-interlaced
I expect it should do the same on Android, but I don't know what checks the Python parser of Enigma2 does and why it crashes. The crash seems to happen on the 3rd file only, which contains the BBC One logo. Anyway, I hope the devs can sort this out.