Skip to content

Commit 044dec6

Browse files
Merge pull request #1 from lookslikematrix/feature/refactor
Refactor Add-on and make it ready for Kodi >= 20.
2 parents 123f872 + 49fb263 commit 044dec6

8 files changed

Lines changed: 293 additions & 299 deletions

File tree

.github/workflows/pipeline.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on: [push]
2+
jobs:
3+
build:
4+
name: 🔨 Build
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- run: |
9+
set -e
10+
rm -rf dist
11+
mkdir -p dist
12+
mkdir -p dist/plugin.audio.radiobrowser
13+
rsync -av . dist/plugin.audio.radiobrowser --exclude .git --exclude .github --exclude dist
14+
cd dist
15+
zip -r ../plugin.audio.radiobrowser.zip .
16+
- uses: actions/upload-artifact@v4
17+
with:
18+
path: |
19+
plugin.audio.radiobrowser.zip
20+

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# directories
2+
dist
3+
4+
# files
5+
kodi-radio-browser.zip

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
# radio-browser.info plugin for kodi
2-
* https://kodi.tv/
3-
* https://kodi.tv/addon/music-add-ons-plugins/radio-browserinfo
1+
# radio-browser.info add-on for kodi
2+
3+
This add-on provides your kodi with all radio stations, which are listed on [https://www.radio-browser.info/](https://www.radio-browser.info/).
4+
5+
## Develop this add-on
6+
7+
1. Install Kodi on your device.
8+
9+
2. Clone this repository into your `~/.kodi/addons` directory.
10+
11+
```bash
12+
git clone https://github.com/lookslikematrix/plugin.audio.radiobrowser
13+
ln -s $PWD/plugin.audio.radiobrowser ~/.kodi/addons/plugin.audio.radiobrowser
14+
```
15+
16+
3. Start Kodi

addon.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="plugin.audio.radiobrowser" name="Radio-Browser.info" version="1.2.0" provider-name="sailor">
2+
<addon id="plugin.audio.radiobrowser" name="radio-browser.info" version="2.0.0" provider-name="lookslikematrix.de">
33
<requires>
4-
<import addon="xbmc.python" version="2.24.0"/>
4+
<import addon="xbmc.python" version="3.0.0"/>
5+
<import addon="script.module.requests" version="2.31.0" />
56
</requires>
67
<extension point="xbmc.python.pluginsource" library="main.py">
78
<provides>audio</provides>
@@ -22,7 +23,16 @@ If you miss your favourite station, just go to www.radio-browser.info and add it
2223
Vermisst du deine Lieblingsstation? Kein problem: geh auf www.radio-browser.info und füge sie für alle Benutzer hinzu!</description>
2324
<license>GNU General Public License, Version 3</license>
2425
<website>https://www.radio-browser.info</website>
25-
<source>https://github.com/segler-alex/kodi-radio-browser</source>
26-
<email>segler_alex@web.de</email>
26+
<source>https://github.com/lookslikematrix/plugin.audio.radiobrowser</source>
27+
<news>
28+
2.0.0
29+
- Update add-on for Kodi &gt;= 20
30+
- Refactor add-on
31+
</news>
32+
<email>christian.decker@lookslikematrix.de</email>
33+
<assets>
34+
<icon>resources/icon.png</icon>
35+
<fanart>resources/fanart.jpg</fanart>
36+
</assets>
2737
</extension>
28-
</addon>
38+
</addon>

changelog.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)