-- (IBAction)infoCancel:(id)sender
-{
- [self togglePlaylistInfoPanel:self];
-}
-
-- (IBAction)infoOk:(id)sender
-{
- int i_item = [o_table_view selectedRow];
- intf_thread_t * p_intf = [NSApp getIntf];
- playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
- FIND_ANYWHERE );
- if (p_playlist)
- {
- vlc_mutex_lock(&p_playlist->pp_items[i_item]->lock);
-
- p_playlist->pp_items[i_item]->psz_uri = strdup([[o_uri_txt stringValue] cString]);
- p_playlist->pp_items[i_item]->psz_name = strdup([[o_title_txt stringValue] cString]);
- playlist_ItemAddInfo(p_playlist->pp_items[i_item],_("General"),_("Author"), [[o_author_txt stringValue] cString]);
-
- vlc_mutex_unlock(&p_playlist->pp_items[i_item]->lock);
- vlc_object_release ( p_playlist );
- }
- [self togglePlaylistInfoPanel:self];
- [self playlistUpdated];
-}
-
-