strip_invalid_entities
Description:
Strip a albumname or artistname string to prepare it for calculating the media art path with it.
Certain characters and charactersets will be stripped and a newly allocated string returned which you must free with g_free.
This functions is used internally by get_file and get_path. You will not normally need to call it yourself.
This function provides the following features: 1. Invalid characters include: ()[]<>{}_!@#$^&*+=|\/"'?~; 2. Text inside brackets of ( ), {}, [] and <> pairs are removed. 3. Multiples of space characters are removed.
Parameters:
original |
original string |
Returns:
|
Namespace: MediaArt
Package: libmediaart-1.0