Xavier Maillard <zedek@fxgsproject.org> - audio converters
Xavier Marchesini <xav@alarue.net> - Win32 fixes
Yves Duret <yves@zarb.org> - RPM packages
+Bob Maguire <maguirer at rjmaguire dot com> - addition of some controls to the OSX interface
{
ACTIONS = {
backward = id;
+ backward1Min = id;
+ backward5Min = id;
faster = id;
forward = id;
+ forward1Min = id;
+ forward5Min = id;
loop = id;
mute = id;
next = id;
pause = id;
play = id;
+ position = id;
prev = id;
random = id;
repeat = id;
"o_mi_audiotrack" = id;
"o_mi_bring_atf" = id;
"o_mi_bwd" = id;
+ "o_mi_bwd1m" = id;
+ "o_mi_bwd5m" = id;
"o_mi_channels" = id;
"o_mi_chapter" = id;
"o_mi_clear" = id;
"o_mi_floatontop" = id;
"o_mi_fullscreen" = id;
"o_mi_fwd" = id;
+ "o_mi_fwd1m" = id;
+ "o_mi_fwd5m" = id;
"o_mi_half_window" = id;
"o_mi_hide" = id;
"o_mi_hide_others" = id;
"o_mi_paste" = id;
"o_mi_play" = id;
"o_mi_playlist" = id;
+ "o_mi_position" = id;
"o_mi_prefs" = id;
"o_mi_previous" = id;
"o_mi_program" = id;
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
- <string>561 168 505 541 0 0 1024 746 </string>
+ <string>494 131 505 541 0 0 1024 746 </string>
<key>IBEditorPositions</key>
<dict>
<key>1617</key>
<string>410 345 104 149 0 0 800 578 </string>
<key>29</key>
- <string>73 518 419 44 0 0 800 578 </string>
+ <string>17 579 419 44 0 0 1024 746 </string>
<key>915</key>
<string>212 486 103 130 0 0 1024 746 </string>
</dict>
<array/>
<key>IBOpenObjects</key>
<array>
- <integer>1530</integer>
+ <integer>29</integer>
<integer>21</integer>
- <integer>915</integer>
</array>
<key>IBSystem Version</key>
<string>7D24</string>
- (IBAction)forward:(id)sender;
- (IBAction)backward:(id)sender;
+- (IBAction)forward1Min:(id)sender;
+- (IBAction)backward1Min:(id)sender;
+- (IBAction)forward5Min:(id)sender;
+- (IBAction)backward5Min:(id)sender;
- (IBAction)volumeUp:(id)sender;
- (IBAction)volumeDown:(id)sender;
vlc_value_t time;
time.i_time = 10 * 1000000;
var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump +10 Seconds" ) );
+ vlc_object_release( p_input );
+ }
+}
+
+- (IBAction)forward1Min:(id)sender
+{
+ intf_thread_t * p_intf = [NSApp getIntf];
+ input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
+ FIND_ANYWHERE );
+ if( p_input != NULL )
+ {
+ vlc_value_t time;
+ time.i_time = 60 * 1000000;
+ var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump +1 Minute" ) );
+ vlc_object_release( p_input );
+ }
+}
+
+- (IBAction)forward5Min:(id)sender
+{
+ intf_thread_t * p_intf = [NSApp getIntf];
+ input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
+ FIND_ANYWHERE );
+ if( p_input != NULL )
+ {
+ vlc_value_t time;
+ time.i_time = 300 * 1000000;
+ var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump +5 Minutes" ) );
vlc_object_release( p_input );
}
}
vlc_value_t time;
time.i_time = -10 * 1000000;
var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump -10 Seconds" ) );
+ vlc_object_release( p_input );
+ }
+}
+
+- (IBAction)backward1Min:(id)sender
+{
+ intf_thread_t * p_intf = [NSApp getIntf];
+ input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
+ FIND_ANYWHERE );
+ if( p_input != NULL )
+ {
+ vlc_value_t time;
+ time.i_time = -60 * 1000000;
+ var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump -1 Minute" ) );
+ vlc_object_release( p_input );
+ }
+}
+
+- (IBAction)backward5Min:(id)sender
+{
+ intf_thread_t * p_intf = [NSApp getIntf];
+ input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
+ FIND_ANYWHERE );
+ if( p_input != NULL )
+ {
+ vlc_value_t time;
+ time.i_time = -300 * 1000000;
+ var_Set( p_input, "time-offset", time );
+ vout_OSDMessage( p_intf, _( "Jump -5 Minutes" ) );
vlc_object_release( p_input );
}
}
IBOutlet id o_mi_loop;
IBOutlet id o_mi_fwd;
IBOutlet id o_mi_bwd;
+ IBOutlet id o_mi_fwd1m;
+ IBOutlet id o_mi_bwd1m;
+ IBOutlet id o_mi_fwd5m;
+ IBOutlet id o_mi_bwd5m;
IBOutlet id o_mi_program;
IBOutlet id o_mu_program;
IBOutlet id o_mi_title;
i_key = config_GetInt( p_intf, "key-jump-10sec" );
[o_mi_bwd setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
[o_mi_bwd setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
+ i_key = config_GetInt( p_intf, "key-jump+1min" );
+ [o_mi_fwd1m setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
+ [o_mi_fwd1m setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
+ i_key = config_GetInt( p_intf, "key-jump-1min" );
+ [o_mi_bwd1m setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
+ [o_mi_bwd1m setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
+ i_key = config_GetInt( p_intf, "key-jump+5min" );
+ [o_mi_fwd5m setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
+ [o_mi_fwd5m setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
+ i_key = config_GetInt( p_intf, "key-jump-5min" );
+ [o_mi_bwd5m setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
+ [o_mi_bwd5m setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
i_key = config_GetInt( p_intf, "key-vol-up" );
[o_mi_vol_up setKeyEquivalent: [NSString stringWithFormat:@"%C", VLCKeyToCocoa( i_key )]];
[o_mi_vol_up setKeyEquivalentModifierMask: VLCModifiersToCocoa(i_key)];
[o_mi_random setTitle: _NS("Random")];
[o_mi_repeat setTitle: _NS("Repeat One")];
[o_mi_loop setTitle: _NS("Repeat All")];
- [o_mi_fwd setTitle: _NS("Step Forward")];
- [o_mi_bwd setTitle: _NS("Step Backward")];
+ [o_mi_fwd setTitle: _NS("Forward 10 Seconds")];
+ [o_mi_bwd setTitle: _NS("Backward 10 Seconds")];
+ [o_mi_fwd1m setTitle: _NS("Forward 1 Minute")];
+ [o_mi_bwd1m setTitle: _NS("Backward 1 Minute")];
+ [o_mi_fwd5m setTitle: _NS("Forward 5 Minutes")];
+ [o_mi_bwd5m setTitle: _NS("Backward 5 Minutes")];
+
[o_mi_program setTitle: _NS("Program")];
[o_mu_program setTitle: _NS("Program")];
[o_mi_title setTitle: _NS("Title")];