Commit 78d20969 authored by Antoine Cellerier's avatar Antoine Cellerier

Move podcast meta info to "Podcast Info" category

parent c17290dc
...@@ -286,7 +286,7 @@ static int Demux( demux_t *p_demux ) ...@@ -286,7 +286,7 @@ static int Demux( demux_t *p_demux )
&& !strcmp( psz_elname, "link" ) ) && !strcmp( psz_elname, "link" ) )
{ {
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Link" ), _( "Podcast Link" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -295,7 +295,7 @@ static int Demux( demux_t *p_demux ) ...@@ -295,7 +295,7 @@ static int Demux( demux_t *p_demux )
&& !strcmp( psz_elname, "copyright" ) ) && !strcmp( psz_elname, "copyright" ) )
{ {
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Copyright" ), _( "Podcast Copyright" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -304,7 +304,7 @@ static int Demux( demux_t *p_demux ) ...@@ -304,7 +304,7 @@ static int Demux( demux_t *p_demux )
&& !strcmp( psz_elname, "itunes:category" ) ) && !strcmp( psz_elname, "itunes:category" ) )
{ {
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Category" ), _( "Podcast Category" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -313,7 +313,7 @@ static int Demux( demux_t *p_demux ) ...@@ -313,7 +313,7 @@ static int Demux( demux_t *p_demux )
&& !strcmp( psz_elname, "itunes:keywords" ) ) && !strcmp( psz_elname, "itunes:keywords" ) )
{ {
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Keywords" ), _( "Podcast Keywords" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -322,7 +322,7 @@ static int Demux( demux_t *p_demux ) ...@@ -322,7 +322,7 @@ static int Demux( demux_t *p_demux )
&& !strcmp( psz_elname, "itunes:subtitle" ) ) && !strcmp( psz_elname, "itunes:subtitle" ) )
{ {
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Subtitle" ), _( "Podcast Subtitle" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -332,7 +332,7 @@ static int Demux( demux_t *p_demux ) ...@@ -332,7 +332,7 @@ static int Demux( demux_t *p_demux )
||!strcmp( psz_elname, "description" ) ) ) ||!strcmp( psz_elname, "description" ) ) )
{ /* <description> isn't standard iTunes podcast stuff */ { /* <description> isn't standard iTunes podcast stuff */
vlc_input_item_AddInfo( &(p_current->input), vlc_input_item_AddInfo( &(p_current->input),
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Summary" ), _( "Podcast Summary" ),
"%s", "%s",
psz_text ); psz_text );
...@@ -369,7 +369,7 @@ static int Demux( demux_t *p_demux ) ...@@ -369,7 +369,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_date ) if( psz_item_date )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Publication Date" ), _( "Podcast Publication Date" ),
"%s", "%s",
psz_item_date ); psz_item_date );
...@@ -377,7 +377,7 @@ static int Demux( demux_t *p_demux ) ...@@ -377,7 +377,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_author ) if( psz_item_author )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Author" ), _( "Podcast Author" ),
"%s", "%s",
psz_item_author ); psz_item_author );
...@@ -385,7 +385,7 @@ static int Demux( demux_t *p_demux ) ...@@ -385,7 +385,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_category ) if( psz_item_category )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Subcategory" ), _( "Podcast Subcategory" ),
"%s", "%s",
psz_item_category ); psz_item_category );
...@@ -393,7 +393,7 @@ static int Demux( demux_t *p_demux ) ...@@ -393,7 +393,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_duration ) if( psz_item_duration )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Duration" ), _( "Podcast Duration" ),
"%s", "%s",
psz_item_duration ); psz_item_duration );
...@@ -401,7 +401,7 @@ static int Demux( demux_t *p_demux ) ...@@ -401,7 +401,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_keywords ) if( psz_item_keywords )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Keywords" ), _( "Podcast Keywords" ),
"%s", "%s",
psz_item_keywords ); psz_item_keywords );
...@@ -409,7 +409,7 @@ static int Demux( demux_t *p_demux ) ...@@ -409,7 +409,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_subtitle ) if( psz_item_subtitle )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Subtitle" ), _( "Podcast Subtitle" ),
"%s", "%s",
psz_item_subtitle ); psz_item_subtitle );
...@@ -417,7 +417,7 @@ static int Demux( demux_t *p_demux ) ...@@ -417,7 +417,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_summary ) if( psz_item_summary )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Summary" ), _( "Podcast Summary" ),
"%s", "%s",
psz_item_summary ); psz_item_summary );
...@@ -425,7 +425,7 @@ static int Demux( demux_t *p_demux ) ...@@ -425,7 +425,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_size ) if( psz_item_size )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Size" ), _( "Podcast Size" ),
"%s bytes", "%s bytes",
psz_item_size ); psz_item_size );
...@@ -433,7 +433,7 @@ static int Demux( demux_t *p_demux ) ...@@ -433,7 +433,7 @@ static int Demux( demux_t *p_demux )
if( psz_item_type ) if( psz_item_type )
{ {
vlc_input_item_AddInfo( &p_item->input, vlc_input_item_AddInfo( &p_item->input,
_(VLC_META_INFO_CAT), _( "Podcast Info" ),
_( "Podcast Type" ), _( "Podcast Type" ),
"%s", "%s",
psz_item_type ); psz_item_type );
......
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