00001 /***************************************************************************** 00002 * playlist.h: Playlist import module common functions 00003 ***************************************************************************** 00004 * Copyright (C) 2004 the VideoLAN team 00005 * $Id$ 00006 * 00007 * Authors: Sigmund Augdal Helberg <dnumgis@videolan.org> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 #include <vlc_input.h> 00025 00026 char *ProcessMRL( char *, char * ); 00027 char *FindPrefix( demux_t * ); 00028 00029 int Import_Old ( vlc_object_t * ); 00030 00031 int Import_Native ( vlc_object_t * ); 00032 void Close_Native ( vlc_object_t * ); 00033 00034 int Import_M3U ( vlc_object_t * ); 00035 void Close_M3U ( vlc_object_t * ); 00036 00037 int Import_PLS ( vlc_object_t * ); 00038 void Close_PLS ( vlc_object_t * ); 00039 00040 int Import_B4S ( vlc_object_t * ); 00041 void Close_B4S ( vlc_object_t * ); 00042 00043 int Import_DVB ( vlc_object_t * ); 00044 void Close_DVB ( vlc_object_t * ); 00045 00046 int Import_podcast ( vlc_object_t * ); 00047 void Close_podcast ( vlc_object_t * ); 00048 00049 int Import_xspf ( vlc_object_t * ); 00050 void Close_xspf ( vlc_object_t * ); 00051 00052 int Import_Shoutcast ( vlc_object_t * ); 00053 void Close_Shoutcast ( vlc_object_t * ); 00054 00055 int Import_ASX ( vlc_object_t * ); 00056 void Close_ASX ( vlc_object_t * ); 00057 00058 int Import_SGIMB ( vlc_object_t * ); 00059 void Close_SGIMB ( vlc_object_t * ); 00060 00061 int Import_QTL ( vlc_object_t * ); 00062 void Close_QTL ( vlc_object_t * ); 00063 00064 int Import_GVP ( vlc_object_t * ); 00065 void Close_GVP ( vlc_object_t * ); 00066 00067 int Import_IFO ( vlc_object_t * ); 00068 void Close_IFO ( vlc_object_t * ); 00069 00070 int Import_VideoPortal ( vlc_object_t * ); 00071 void Close_VideoPortal ( vlc_object_t * ); 00072 00073 int Import_iTML ( vlc_object_t * ); 00074 void Close_iTML ( vlc_object_t * ); 00075 00076 #define INIT_PLAYLIST_STUFF \ 00077 input_thread_t *p_input_thread = (input_thread_t *)vlc_object_find( p_demux, VLC_OBJECT_INPUT, FIND_PARENT ); \ 00078 input_item_t *p_current_input = input_GetItem( p_input_thread ); 00079 00080 #define HANDLE_PLAY_AND_RELEASE \ 00081 vlc_object_release( p_input_thread );
1.5.1