Projet

Général

Profil

Révision e3899a30

IDe3899a30d870670a2445742f9ca89a460cb4392f
Parent 0743e6e5
Enfant be24db7e

Ajouté par Gabriele Pohl il y a environ 11 ans

Reduce number of categories, use more generic terms

Voir les différences:

plugins/streaming/icecast2_
49 49
    total_lyttere = xmldoc.getElementsByTagName("clients")[0].firstChild.nodeValue
50 50
    #Totalt antall kilder
51 51
    total_kilder = xmldoc.getElementsByTagName("sources")[0].firstChild.nodeValue
52
    #Status for enkelt str?m
52
    #Status for enkelt strøm
53 53
    sources = xmldoc.getElementsByTagName("source")
54 54
    sourcelist = {}
55 55
    for source in sources:
......
68 68
	if sourcename == "total":
69 69
	    print "graph_title Totalt antall lyttere"
70 70
            print "graph_vlabel lyttere"
71
	    print "graph_category Icecast"
71
	    print "graph_category streaming"
72 72
	    print "totallyttere.label Totalt antall lyttere"
73 73
	    print "totalkilder.label Totalt antall kilder"
74 74
	    chanlist = {}
......
101 101
		graphtitle = sourcename
102 102
	    print "graph_title %s" % graphtitle
103 103
	    print "graph_vlabel lyttere"
104
	    print "graph_category Icecast"
104
	    print "graph_category streaming"
105 105
	    for bitrate in mp3bitrates:
106 106
		print "%s_%s.label %s-%s" % (sourcename, bitrate, "/" + sourcename.replace("_", "-"), bitrate)
107 107
		sumstring += "%s_%s " % (sourcename, bitrate)

Formats disponibles : Unified diff