Solved Stop Menu-list from looping
#1
Is there a way to stop the list from looping once you reach the end? I know you can change the list to fixedlist or list to stop the items repeating, though I haven't been able to stop it from scrolling back to the top once i reach the last item. IE. I would like the scrolling to stop once I reach the last item. Is this possible?

Solution: though not really an issue, it is something I wanted to change in a skin. Thanks Hitcher!

(2014-02-05, 17:50)Hitcher Wrote: <onup>noop</onup> and <ondown>noop</ondown> will stop it but also meant you can't then press either of them to loop back.
Reply
#2
Assuming a vertical list, the action specified in <ondown> is used once it hits the end of the list. If <ondown> points at itself, it loops.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#3
So could i use <ondown> noop </ondown> when it meets the end of the list?
Reply
#4
I'd think so. Alternatively you can remove the whole line, or use a minus sign like so:

<ondown>-</ondown>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#5
Use of
Code:
<ondown>-</ondown>
is no longer allowed so use
Code:
<ondown>noop</ondown>
instead.
Reply
#6
The question is, how will i signalize that it's the end of the list.
Reply
#7
(2014-02-02, 11:31)Hitcher Wrote: Use of
Code:
<ondown>-</ondown>
is no longer allowed so use
Code:
<ondown>noop</ondown>
instead.
Since when? Must have missed that, you have a link to that?
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#8
http://osdir.com/ml/XBMC-Addons/2013-01/msg00213.html

http://sourceforge.net/mailarchive/forum...bmc-addons
Reply
#9
Thnx for looking that up man, going to fix mine.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#10
Hate to sound like a broken record, though I still can't seem to figure out how to stop the list from looping back to the top item (not wraplist / list). Is there any way to make the list stop scrolling when it reaches the last or first item in the list?
Reply
#11
(2014-02-03, 17:06)nooryani84 Wrote: Hate to sound like a broken record, though I still can't seem to figure out how to stop the list from looping back to the top item (not wraplist / list). Is there any way to make the list stop scrolling when it reaches the last or first item in the list?

Are you having this problem http://trac.xbmc.org/ticket/12338
My skins:

Amber
Quartz

Reply
#12
(2014-02-04, 23:15)pecinko Wrote:
(2014-02-03, 17:06)nooryani84 Wrote: Hate to sound like a broken record, though I still can't seem to figure out how to stop the list from looping back to the top item (not wraplist / list). Is there any way to make the list stop scrolling when it reaches the last or first item in the list?

Are you having this problem http://trac.xbmc.org/ticket/12338

Thanks for your reply!

No it's not really a problem, more of a feature/setting I want to set. <list> works as intended, however I would like to stop the scrolling once it hits the end/start so that the marker doesn't jump back to the first/last list item.
Reply
#13
<onup>noop</onup> and <ondown>noop</ondown> will stop it but also meant you can't then press either of them to loop back.
Reply
#14
(2014-02-05, 17:50)Hitcher Wrote: <onup>noop</onup> and <ondown>noop</ondown> will stop it but also meant you can't then press either of them to loop back.

EXACTLY what I wanted! Thank you, just made my day! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Stop Menu-list from looping0