Resetting multiimage state
#1
Maybe someone could tell me how to reset multiimage state to the first position (image) because after it was hide and then show again it countinue to play when it stop before, so I need some method because wiki manual is lack of this information in that matter or is written in that way I can't use it. Thanks in advance.
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply
#2
If you don't use <randomize>true</randomize> then it think it starts at the beginning every time.
Reply
#3
No, it don't. I use multiimage as an element of focusitem in panel container, if I go forward and then back it didn't start from beginning but from last shown position. You can see it here. And I don't use rondomize because I want to show them in proper sequence.
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply
#4
I suppose now as nobody response that there is no mothod to reset multiimage control to first position. So maybe there is some backdoor solution? Anyone, help! Smile
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply
#5
you could have a command to refresh the skin at the end, but that may be a bit cumbersome.
Reply
#6
bridgman Wrote:you could have a command to refresh the skin at the end, but that may be a bit cumbersome.

No this is not good solution Smile As you see on video the refresh state should be execute where one multiimage has lost his focus in panel container, so when I go back it will start from beginning.
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply
#7
Given this is something that's unlikely to be supported in general (using a video would make much more sense, right?) it's unlikely that support for doing the resetting will go in.

See GUIListItemLayout.cpp - you'll probably need to fire off some event to invalidate the controls in some way.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
It will be great if you put into multiimage new parameter like

<reload>true</reload>

and after multiimage will be hidden it will be reset to the first position; if randomize will be used it will resort/randomize again
AsRock 330 HT, 2GB RAM, 320GB HDD, Openelec 3.2.4
Intel NUC D54250WYK, 4GB RAM, Kingston 120GB SSD, OpenELEC-Generic.x86_64-devel-20131126081257-r16438
Reply

Logout Mark Read Team Forum Stats Members Help
Resetting multiimage state0