Commit 821a4658 authored by Rafaël Carré's avatar Rafaël Carré

Read the correct type from the vlc value - fixes #1569

parent 2ff00958
...@@ -1152,14 +1152,11 @@ static int MarshalStatus( intf_thread_t* p_intf, DBusMessageIter* args, ...@@ -1152,14 +1152,11 @@ static int MarshalStatus( intf_thread_t* p_intf, DBusMessageIter* args,
i_state = 0; i_state = 0;
} }
var_Get( p_playlist, "random", &val ); i_random = var_CreateGetBool( p_playlist, "random" );
i_random = val.i_int;
var_Get( p_playlist, "repeat", &val ); i_repeat = var_CreateGetBool( p_playlist, "repeat" );
i_repeat = val.i_int;
var_Get( p_playlist, "loop", &val ); i_loop = var_CreateGetBool( p_playlist, "loop" );
i_loop = val.i_int;
if( lock ) if( lock )
PL_UNLOCK; PL_UNLOCK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment