identify_medialist


Description:

[ Version ( since = "1.10.0" ) ]
public MediaList identify_medialist (Media media)

Try to match a newly created media with a media description from this.

The return list will contain any Media instances from this that matched media. Usuaully there will only be one match returned, but applications should be prepared to deal with multiple matches. The returned Media instances will have their OsinfoEntify: OsinfoDb:id and OsinfoMedia:OsinfoDb:oss properties will be set, while media is left unmodified.

Parameters:

this

an Db database

media

the installation media data

Returns:

a list containing any matches for media found in this