xbmc / visualization.pictureit

PictureIt - Kodi Visualization
GNU General Public License v2.0
7 stars 12 forks source link

Kodi 21.1 crash #65

Open BoboTiG opened 3 days ago

BoboTiG commented 3 days ago

Hello,

I am not able to use the extension on Kodi (21.1) [Platform: Linux ARM 32-bit (version for Vero)]. I selected a folder with 110 JPG images in the addon parameters, and when I select that addon for the visualization, then Kodi crashes.

I enabled logs, and so far I've got:

2024-09-19 23:41:11.509 T:4056    debug <general>: ADDON: Dll Initializing - PictureIt
2024-09-19 23:41:11.509 T:4056    debug <general>: SECTION:LoadDLL(/usr/lib/kodi/addons/visualization.pictureit/visualization.pictureit.so.21.0.0)
2024-09-19 23:41:11.509 T:4056    debug <general>: Loading: /usr/lib/kodi/addons/visualization.pictureit/visualization.pictureit.so.21.0.0
2024-09-19 23:41:11.513 T:4056    debug <general>: AddOnLog: visualization.pictureit: Loading presets...
2024-09-19 23:41:11.544 T:4091    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-19 23:41:11.596 T:6560    debug <general>: AddOnLog: visualization.pictureit: Gathering images...
[CRASH]

I first reduced files size a lot using the TinyJPG service. And then, no more crash but still no image in the background (only the spectrum). Logs:

2024-09-20 00:24:37.138 T:10061   debug <general>: ADDON: Dll Initializing - PictureIt
2024-09-20 00:24:37.139 T:10061   debug <general>: SECTION:LoadDLL(/usr/lib/kodi/addons/visualization.pictureit/visualization.pictureit.so.21.0.0)
2024-09-20 00:24:37.139 T:10061   debug <general>: Loading: /usr/lib/kodi/addons/visualization.pictureit/visualization.pictureit.so.21.0.0
2024-09-20 00:24:37.143 T:10061   debug <general>: AddOnLog: visualization.pictureit: Loading presets...
2024-09-20 00:24:37.163 T:10096   debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-20 00:24:37.202 T:10784   debug <general>: AddOnLog: visualization.pictureit: Gathering images...
2024-09-20 00:24:37.211 T:10061   debug <general>: Updating visualization albumart: image://music@%2fmnt%2fxXx%2fMusiques%2fGigi%20D%27Agostino%20-%20L%27Amour%20Toujours%20(1999)%2f1-01%20Another%20Way.mp3/
2024-09-20 00:24:37.215 T:10061   debug <general>: AddOnLog: visualization.pictureit: Requesting new image...
2024-09-20 00:24:37.215 T:10785   debug <general>: AddOnLog: visualization.pictureit: Loading image: /mnt/xXx/Photos/backgrounds-nature/nature-048.jpg

Lastly, I click on the "next" button to play the upcoming song, and trigger a new image:

2024-09-20 00:28:14.702 T:10061   debug <general>: Updating visualization albumart: image://music@%2fmnt%2fxXx%2fMusiques%2fGigi%20D%27Agostino%20-%20L%27Amour%20Toujours%20(1999)%2f1-01%20Another%20Way.mp3/
2024-09-20 00:28:14.704 T:10061   debug <general>: AddOnLog: visualization.pictureit: Requesting new image...
2024-09-20 00:28:14.705 T:11401   debug <general>: AddOnLog: visualization.pictureit: Loading image: /mnt/xXx/Photos/backgrounds-nature/nature-038.jpg

Same results: spectrum without background image.

More informations about those images:

$ file nature-038.jpg
nature-038.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, progressive, precision 8, 2048x1080, components 3

$ ls -l nature-038.jpg
-rw-r--r-- 1 osmc osmc 391408 Sep 20 00:20 nature-038.jpg
$ file nature-048.jpg
nature-048.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, progressive, precision 8, 2048x1365, components 3

$ ls -l nature-048.jpg
-rw-r--r-- 1 osmc osmc 292271 Sep 20 00:20 nature-048.jpg

Those are not big/large files, right?

Do you have any clue :pray: ?

BoboTiG commented 3 days ago

Hmm forget what I said: it still crashes. Whatever I do, like disabling the spectrum, or adding a background to the spectrum, on just unselect/select the visualization addon: crash :smiling_imp: