PDA

View Full Version : Selecting Next Picture from FileMgr


frov
2006-01-20, 12:35
there is some strange behaviour when handling pictures from the filemgr. so not from 'my picures'.

use the filemgr in xbmc
go into a dir with jpeg pics
select a picture
it is detected as a jpeg file and it is shown full screen
use dpad right just as if being in my pictures to make xbmc showing the next picture
the hdd will start to tick indicating it loads something
but the original picture just remains there

when then looking into xbmc.log, indeed xbmc started to load a picture when using dpad right. but instead of the next picture it again loaded the _same_ picture.

i included the xbmc.log showing a couple of these runs in which the same picture is loaded.

i can image though that this is a 'who cares' issue. just wanted to mention it.

when needing some jpeg pictures:
jpg_pic1 (http://www.fam-overman.nl/img_1000.jpg)
jpg_pic2 (http://www.fam-overman.nl/img_1003.jpg)
jpg_pic3 (http://www.fam-overman.nl/img_1004.jpg)
jpg_pic4 (http://www.fam-overman.nl/img_1005.jpg)
jpg_pic5 (http://www.fam-overman.nl/img_1006.jpg)
jpg_pic6 (http://www.fam-overman.nl/img_1007.jpg)



13-01-2005 23:32:13 info activating window id: 12007
13-01-2005 23:32:13 info loading skin file: slideshow.xml
13-01-2005 23:32:13 warning kernel32.dll fake function disablethreadlibrarycalls called
13-01-2005 23:32:13 debug loading the current image f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:15 debug finished background loading f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:15 debug duration: 971
13-01-2005 23:32:16 debug loading the next image f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:16 debug starting immediate transistion due to user wanting slide f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:16 debug having to hold the current image (f:\pictures\2005_12_04\img_0845.jpg) while we load f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:16 debug having to hold the current image (f:\pictures\2005_12_04\img_0845.jpg) while we load f:\pictures\2005_12_04\img_0845.jpg


stuff deleted here


13-01-2005 23:32:19 debug duration: 715
13-01-2005 23:32:19 debug image f:\pictures\2005_12_04\img_0845.jpg is finished rendering, switching to f:\pictures\2005_12_04\img_0845.jpg
13-01-2005 23:32:32 info loading skin file: filemanager.xml
13-01-2005 23:32:36 info activating window id: 12007
13-01-2005 23:32:36 info loading skin file: slideshow.xml
13-01-2005 23:32:36 debug loading the current image f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:38 debug finished background loading f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:38 debug duration: 970
13-01-2005 23:32:42 debug loading the next image f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:42 debug starting immediate transistion due to user wanting slide f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:42 debug having to hold the current image (f:\pictures\2005_12_04\img_0852.jpg) while we load f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:42 debug having to hold the current image (f:\pictures\2005_12_04\img_0852.jpg) while we load f:\pictures\2005_12_04\img_0852.jpg


stuff deleted here


13-01-2005 23:32:44 debug having to hold the current image (f:\pictures\2005_12_04\img_0852.jpg) while we load f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:44 debug finished background loading f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:32:44 debug duration: 710
13-01-2005 23:32:44 debug image f:\pictures\2005_12_04\img_0852.jpg is finished rendering, switching to f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:33:24 debug loading the next image f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:33:24 debug starting immediate transistion due to user wanting slide f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:33:24 debug having to hold the current image (f:\pictures\2005_12_04\img_0852.jpg) while we load f:\pictures\2005_12_04\img_0852.jpg


stuff deleted here


13-01-2005 23:33:26 debug having to hold the current image (f:\pictures\2005_12_04\img_0852.jpg) while we load f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:33:26 debug finished background loading f:\pictures\2005_12_04\img_0852.jpg
13-01-2005 23:33:26 debug duration: 725
13-01-2005 23:33:27 debug image f:\pictures\2005_12_04\img_0852.jpg is finished rendering, switching to f:\pictures\2005_12_04\img_0852.jpg

spiff
2006-01-20, 17:16
well. it's not very strange considering what's going on in the code.

if you start a single picture from the file manager, only this file is added to the playlist/slideshow. when launched from my pictures the whole folder is added.

personally i think it makes sense the way it is, that is ofcourse open for discussion.

C-Quel
2006-01-20, 17:20
i agree if you click to load '1' file in filemanager it should not even attempt to load any other file be it music, videos or pictures you selected '1' yu get '1' :) imho that what filemanager is about.

frov
2006-01-20, 17:29
ok, i agree, but then it is a redundant action from xbmc to again load the next picture when there is no next picture to be loaded :)

so possibly either (i reckon the slideshow code is re-used from 'my pictures' and from filemgr):
while in filemgr and having selected a picture, xbmc does not listen to 'dpad right' for the next pic.
or when there is no next pic (slideshow = 1 pic) then do not load anything when clicking 'dpad right'.

cu,
-f

C-Quel
2006-01-20, 20:18
and i agree with you about loading next picture but hey we are but mere mortals... :nuts:

spiff
2006-01-21, 17:30
agreed. so i fixed it.

C-Quel
2006-01-21, 20:31
excellent... they all help... thanks spiff! *:thumbsup: