vlc.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:AlexaOPi 作者: dony71 项目源码 文件源码
def media_discoverer_new(self, psz_name):
        '''Create a media discoverer object by name.
        After this object is created, you should attach to events in order to be
        notified of the discoverer state.
        You should also attach to media_list events in order to be notified of new
        items discovered.
        You need to call L{media_discoverer_start}() in order to start the
        discovery.
        See L{media_discoverer_media_list}
        See L{media_discoverer_event_manager}
        See L{media_discoverer_start}.
        @param psz_name: service name; use L{media_discoverer_list_get}() to get a list of the discoverer names available in this libVLC instance.
        @return: media discover object or None in case of error.
        @version: LibVLC 3.0.0 or later.
        '''
        return libvlc_media_discoverer_new(self, str_to_bytes(psz_name))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号