Top |
ParolePlFormat
parole_pl_parser_guess_format_from_extension
(const gchar *filename
);
Guess a playlist format from the filename extension.
PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid playlist format otherwise
Since: 0.2
ParolePlFormat
parole_pl_parser_guess_format_from_data
(const gchar *filename
);
Guess a playlist format from its data.
PAROLE_PL_FORMAT_UNKNOWN if unable to get the playlist format, and a valid playlist format otherwise
Since: 0.2
gboolean parole_pl_parser_can_parse_data (const guchar *data
,gint len
);
Get if the Parole parser can parse from the passed data.
Since: 0.2
GSList *
parole_pl_parser_parse_from_file_by_extension
(const gchar *filename
);
Parse a playlist into a series of ParoleFile
a GSList containing a list of ParoleFile parsed from the playlist, or NULL if no files were parsed
Since: 0.2
GSList *
parole_pl_parser_parse_all_from_file (const gchar *filename
);
This function tries to parse a playlist without guessing the playlist format.
a GSList containing a list of ParoleFile parsed from the playlist, or NULL if no files were parsed
Since: 0.2
gboolean parole_pl_parser_save_from_files (GSList *files
,const gchar *filename
,ParolePlFormat format
);
Saves a GSList containing a list of ParoleFile files to filename.
files |
a GSList list of ParoleFile files |
|
filename |
a filename to save |
|
format |
a ParolePlFormat format of the playlist |
Since: 0.2