Heckie75 / kodi-addon-podcast

Subscribe to podcasts in KODI
MIT License
14 stars 3 forks source link

Configuration from web interface or command line? #19

Closed atwinkelman closed 1 year ago

atwinkelman commented 1 year ago

I use my libreelec setup as a music player only and, as such, only use a web interface (such as Chorus2) or command line. Can this addon be configured and a feed added via one of those interfaces?

Heckie75 commented 1 year ago

@atwinkelman Feeds can only be added by using the settungs menu. Therefore configuration via web interface isn't possible.

May be a solution is to link an OPML file (see settings > OPML Files). Files aren't complicated and can be changed by using an editor. Example:

<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
    <head>
        <title>RSS Podcasts</title>
        <dateCreated>Mon, 17 Apr 2023 08:11:15 +0000</dateCreated>
    </head>
    <body>
        <outline xmlUrl="https://www.tagesschau.de/export/video-podcast/webxl/tagesschau_https/" description="Nachrichten" type="rss" htmlUrl="" title="Tagesschau" text="Tagesschau"/>
        <outline xmlUrl="http://www.deutschlandfunk.de/podcast-das-war-der-tag-komplette-sendung.1951.de.podcast" description="Nachrichten" type="rss" htmlUrl="" title="Das war der Tag - Deutschlandfunk" text="Das war der Tag - Deutschlandfunk"/>
        <outline xmlUrl="http://podcasts.files.bbci.co.uk/p016tl04.rss" description="Nachrichten" type="rss" htmlUrl="" title="Business Matters" text="Business Matters"/>
        <outline xmlUrl="https://wasjetzt.podigee.io/feed/mp3" description="Nachrichten" type="rss" htmlUrl="" title="Zeit: Was jetzt?" text="Zeit: Was jetzt?"/>
        <outline xmlUrl="https://www.heise.de/ct/uplink/ctuplinkvideohd.rss" description="Technik" type="rss" htmlUrl="" title="c't uplink (Video)" text="c't uplink (Video)"/>
        <outline xmlUrl="https://bit-rauschen.podigee.io/feed/mp3" description="Technik" type="rss" htmlUrl="" title="bit-rauschen" text="bit-rauschen"/>
        <outline xmlUrl="https://heiseshow.podigee.io/feed/mp3" description="Technik" type="rss" htmlUrl="" title="#heiseshow (Audio)" text="#heiseshow (Audio)"/>
        <outline xmlUrl="https://ct-uplink.podigee.io/feed/mp3" description="Technik" type="rss" htmlUrl="" title="c't uplink (Audio)" text="c't uplink (Audio)"/>
    </body>
</opml>

Each podcast is an outline element.

atwinkelman commented 1 year ago

Understood, thanks for clarifying that @Heckie75. I'll close this issue.