Skip to main content

Manage and serve podcast RSS feeds locally

Project description

Pod Local Sync

This utility allows you to manage a podcast RSS feed locally and spin up a small server to sync it with podcast applications like macOS' Podcast.app.

I wrote this since in macOS Catalina (10.15), it is no longer possible to manually add local files to the app.

How to

Python 3.8 is required.

pip install podlocalsync

podlocalsync works in the current directory and will automatically pick up files.

To start, you need an image for the feed in the current directory:

$ podlocalsync init
Feed title: My Feed
Using image myimage.png.

This will create feed.toml, which stores the information about the feed.

Next, you can add episodes. podlocalsync will look for *.m4a and .mp3 files. The publication date is also filled in from the file time.

$ podlocalsync add
Episode audio: [episode-1.m4a]:
 [0] episode-1.m4a
 [1] episode-2.mp3
 [2] episode-3.m4a
 >
Episode title: My Episode about Cats
Episode publication date: [Fri, 31 Jul 2020 06:26:31 +0000]

If you've added an episode, it will be excluded from the next add.

Finally, you can serve the feed locally. This will create or overwrite feed.rss and spin up a server:

$ podlocalsync serve
http://localhost:8000/feed.rss
^C
Keyboard interrupt received, exiting.

You can subscribe to this URL in a podcasting application, although the server isn't intended to be run for a long time, and certainly don't expose it to the internet.

If you want to subscribe from e.g. an iPhone, use your computer's IP address as the hostname (and make sure the firewall allows connections):

$ podlocalsync serve --host 192.168.1.136
http://192.168.1.136:8000/feed.rss

License

This program is licensed under the GNU General Public License 3.0. For more information, see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

podlocalsync-0.0.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

podlocalsync-0.0.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file podlocalsync-0.0.1.tar.gz.

File metadata

  • Download URL: podlocalsync-0.0.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1032-azure

File hashes

Hashes for podlocalsync-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9ab21803900d5f346e6a21e29da2d9ca7016345b981e76216ca05025a59e8abc
MD5 fb4d34f5e7b907bab6aa3b4d43e4d0d8
BLAKE2b-256 c127e64abba98b44c7073dce82225158ea6f915ec366b1066d14439f248f15da

See more details on using hashes here.

File details

Details for the file podlocalsync-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: podlocalsync-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1032-azure

File hashes

Hashes for podlocalsync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f53327ac431238664d7de87f8d833883a1df0bad3b9e63a629bb199d13ed6f9
MD5 fccbaf90f8bbc46809056d73b83845a9
BLAKE2b-256 d339be7cf61854f1255eff87b39b20694fff722fac1ad80a625dfee96f800d3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page