Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Adds item to the list
itemdict is a dictionary with the following fields:
    name - item name
    url - item URL
    tvg - item JTV name (optional)
    group - item playlist group (optional)

src/a/c/aceproxy-HEAD/plugins/ytv_plugin.py   aceproxy(Download)
            if groupid and groups.get(groupid):
                channel['group'] = groups.get(groupid)
            playlistgen.addItem(channel)
 
        exported = playlistgen.exportm3u(hostport, add_ts)

src/a/c/aceproxy-HEAD/plugins/torrenttv_plugin.py   aceproxy(Download)
        playlistgen = PlaylistGenerator()
        for match in matches:
            playlistgen.addItem(match.groupdict())
 
        connection.wfile.write(playlistgen.exportm3u(hostport, add_ts))