fdroiddata/metadata/net.sourceforge.subsonic.androidapp.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

59 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Categories:
- Multimedia
License: GPL-3.0-only
WebSite: http://www.subsonic.org/pages/index.jsp
SourceCode: https://sourceforge.net/p/subsonic
IssueTracker: https://sourceforge.net/p/subsonic/_list/tickets
Donate: http://www.subsonic.org/pages/index.jsp
AutoName: Subsonic
Description: |-
Subsonic is both an app and a cross-platform FOSS media server thats capable of
indexing very large media collections. The server can transcode if necessary so
that the app can play files that your device may not normally support.
There is a demo server provided for giving it a try. In order to use this app
with a Subsonic server beyond a trial period, a key must be obtained by making a
donation. (A key isnt required to use the <a href="https://github.com/Mach5/supersonic">Supersonic</a> variant.)
RepoType: git-svn
Repo: https://svn.code.sf.net/p/subsonic/code/trunk/subsonic-android/
Builds:
- versionName: '3.3'
versionCode: 46
commit: '2589'
target: android-10
- versionName: '3.8'
versionCode: 51
commit: '3477'
- versionName: '4.0'
versionCode: 53
commit: '3577'
- versionName: '4.1'
versionCode: 54
commit: '3640'
- versionName: 4.3.1
versionCode: 57
commit: '4037'
subdir: subsonic
gradle:
- yes
- versionName: '4.4'
versionCode: 59
commit: '4083'
subdir: subsonic
gradle:
- yes
MaintainerNotes: Tags unreliable - dont use.
AutoUpdateMode: None
UpdateCheckMode: RepoManifest
CurrentVersion: '4.4'
CurrentVersionCode: 59