Author Topic: next_filter  (Read 2221 times)

henrikes

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
next_filter
« on: December 31, 2019, 04:01:10 AM »
Hi guys,

I need some help with the next_filter..

In my layout i'm using on_signal to capture keys and i then use fe.signal( "next_filter" ) and fe.signal( "prev_filter" ) to move from filter to filter.

The problem i'm facing is that when i use fe.signal( "next_filter" ) and fe.signal( "prev_filter") the fading of my layout images doesnt occur,but if i use the key configured in AM for changing filter the fading occurs, can you guys help me understand whats wrong?


jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: next_filter
« Reply #1 on: December 31, 2019, 08:06:36 AM »
what fading?,  sounds you need to show the code or enplane better,

i take it you using the animation or fade module?

help a friend....

henrikes

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: next_filter
« Reply #2 on: January 01, 2020, 01:49:51 AM »
Hi,

Sorry for the lack of information, I'm using the fade module.

Code: [Select]
fe.load_module( "fade" );

local bgart = FadeArt( "fanart", 0, 0, 1920, 1080);

....

function on_signal( sig )
{
switch ( sig )
{
case "down":
fe.signal( "next_filter" )
return true

case "up":
fe.signal( "prev_filter" )
return true

default:
return false
}
}
fe.add_signal_handler( "on_signal" )

henrikes

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: next_filter
« Reply #3 on: January 07, 2020, 06:51:21 AM »
Any idea?

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: next_filter
« Reply #4 on: January 07, 2020, 10:52:49 AM »
Fade module flip function is triggered on EndNavigation and ToNewList Transitions.