Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Check-in [85682cf772]

Overview
Comment:row[favicon] should be row[img]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 85682cf772bf4acbc10a97495992de2c4cec1157
User & Date: mario on 2022-02-21 08:04:18
Other Links: manifest | tags
Context
2022-02-21
08:04
document contrib channels, mor disabling check-in: afc61c15c3 user: mario tags: trunk
08:04
row[favicon] should be row[img] check-in: 85682cf772 user: mario tags: trunk
08:03
Add podcast option check-in: 30d8e52a56 user: mario tags: trunk
Changes

Modified contrib/radiolist.py from [c48d3418c2] to [7cb897d45e].

65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
            j = json.loads(ahttp.get(
                "https://radiolist.net/wp-json/wp-radio/v1/station?paginate={}&keyword={}&country=&genre={}&sort=asc&perpage=50&_locale=user".format(i, search or "", catid)
            ))
            for e in j["data"]["items"]:
                entries.append({
                    "id": e["id"],
                    "title": e["title"],
                    "favicon": e["thumbnail"],
                    "url": e["stream"],
                    "homepage": e["website"],
                    "playing": e["slogan"],
                    "genre": " ".join([g["name"] for g in e["genres"]]),
                    #"country": e["locations"]["country"]["name"],
                })
            if i >= j["data"]["total"]:
                break
        return entries


    







|












65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
            j = json.loads(ahttp.get(
                "https://radiolist.net/wp-json/wp-radio/v1/station?paginate={}&keyword={}&country=&genre={}&sort=asc&perpage=50&_locale=user".format(i, search or "", catid)
            ))
            for e in j["data"]["items"]:
                entries.append({
                    "id": e["id"],
                    "title": e["title"],
                    "img": e["thumbnail"],
                    "url": e["stream"],
                    "homepage": e["website"],
                    "playing": e["slogan"],
                    "genre": " ".join([g["name"] for g in e["genres"]]),
                    #"country": e["locations"]["country"]["name"],
                })
            if i >= j["data"]["total"]:
                break
        return entries