mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
```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
37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
Categories:
|
|
- Multimedia
|
|
License: GPL-2.0-or-later
|
|
WebSite: http://www.pcdimmer.de/
|
|
SourceCode: https://github.com/xn--nding-jua/PC_DIMMER_Android
|
|
IssueTracker: https://github.com/xn--nding-jua/PC_DIMMER_Android/issues
|
|
|
|
AutoName: PC_DIMMER
|
|
Description: |-
|
|
Control some parts of <a href="https://www.pcdimmer.de/">PCDIMMER</a> instances, a software
|
|
for managing up to 16 DMX-Universes.
|
|
|
|
* control panel
|
|
* scenes
|
|
* single devices or groups (Dimmer/Strobe/Shutter, RGB+A+W, PanTilt and Iris)
|
|
* node control
|
|
* channel overview and single channels
|
|
|
|
<a href="https://github.com/xn--nding-jua/PC_DIMMER_Android/tree/master/Screenshots">Screenshots</a>
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/xn--nding-jua/PC_DIMMER_Android
|
|
|
|
Builds:
|
|
- versionName: '1.4'
|
|
versionCode: 5
|
|
commit: 7d7d8199214f80b1c9fb9d98b3f997328a0568e8
|
|
subdir: app
|
|
gradle:
|
|
- yes
|
|
|
|
MaintainerNotes: See https://github.com/xn--nding-jua/PC_DIMMER_Android/issues/9
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: RepoManifest
|
|
CurrentVersion: '1.4'
|
|
CurrentVersionCode: 5
|