fdroiddata/metadata/community.peers.internetradio.yml
Hans-Christoph Steiner cf4e8a40ff convert all MediaWiki links to HTML links
```python
import yaml, glob, re, os
from fdroidserver import metadata

pat = re.compile(r'\[(https?://[^ \]]+)\s+([^\]]+)\]')

for f in glob.glob('metadata/*.yml'):
    with open(f) as fp:
        data = yaml.load(fp)
    description = data.get('Description', '')
    for m in pat.finditer(data.get('Description', '')):
        link = m.group(1)
        text = m.group(2)
        print(f, link, text, flush=True)
        description = description.replace(m.group(), '<a href="%s">%s</a>' % (link, text))
    data['Description'] = description
    app = metadata.App(data)
    metadata.write_metadata(f, app)
```

```
sed -i 's,^      - true,      - yes,' metadata/*.yml
sed -i 's,^      - false,      - no,' metadata/*.yml
```

closes fdroid-website#510
2020-12-09 19:10:44 +01:00

88 lines
1.7 KiB
YAML

Categories:
- Multimedia
- Internet
License: GPL-3.0-or-later
WebSite: https://peers.community
SourceCode: https://notabug.org/zplus/InternetRadio
IssueTracker: https://notabug.org/zplus/InternetRadio/issues
AutoName: Internet Radio
Description: |
This is a small app to search Internet radio stations, and listen to them.
* Single-tap the notification to play/pause the stream
* Remove the notification to stop the player
The list of radio stations is maintained by <a href="https://www.radio-browser.info">RadioBrowser</a>, and the data is retrieved from <a href="https://dokk.org/about">DOKK</a>.
RepoType: git
Repo: https://notabug.org/zplus/InternetRadio.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
- versionName: '2.0'
versionCode: 2
commit: v2.0
subdir: app
gradle:
- yes
- versionName: '2.1'
versionCode: 3
commit: v2.1
subdir: app
gradle:
- yes
- versionName: 3.0.0
versionCode: 4
commit: v3.0.0
subdir: app
gradle:
- yes
- versionName: 3.1.0
versionCode: 5
commit: v3.1.0
subdir: app
gradle:
- yes
- versionName: 3.1.1
versionCode: 6
commit: v3.1.1
subdir: app
gradle:
- yes
- versionName: 4.0.0
versionCode: 7
commit: v4.0.0
subdir: app
gradle:
- yes
- versionName: 4.1.0
versionCode: 8
commit: v4.1.0
subdir: app
gradle:
- yes
- versionName: 4.1.2
versionCode: 9
commit: v4.1.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 4.1.2
CurrentVersionCode: 9