[vlc-devel] [PATCH 0/2] add a type-based icon to the recents menu
etix at videolan.org
Mon Nov 28 14:36:50 CET 2011
2011/11/28 Rémi Denis-Courmont <remi at remlab.net>:
> The input item type can be fetched... from the input item.
I need the medium type of the MRL _itself_ (file, directory, network,
capture device) and I don't think the playlist nor the service
discovery can provide this information.
Anyway, most of the time when adding a new element in the recent list,
I don't get access to the input item (e.g playlist_AddExt) so I find
myself in trouble here as I need to get the original MRL entered by
the user and at the same time wait for the core to create and process
the input item... I'm not sure that it can be done easily in a fully
> Besides GuessType() guesses wrong in some cases (whereas the service
> discovery plugins or playlist parsers do get the type right).
I agree but it's only an informative icon it doesn't need to be
More information about the vlc-devel