This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# preparations | |
# ------------ | |
# create a new application in hubic account manager | |
# visit https://hubic.com/home/browser/account/ | |
# Developers > Add an application | |
# Name: backup | |
# Redirection domain: http://localhost/ | |
# copy "Client ID" and "Secret Client", it will be used later | |
sudo apt-get install librsync-dev libffi-dev python-virtualenv python-swiftclient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
""" | |
Convert OPML file exported from Pocketcasts to YAML format used by | |
the podcasts-plugin in LMS | |
Usage: | |
opml2sb.py <opml-file> <lms-basedir> | |
Example | |
opml2sb.py podcasts_opml.xml /path/to/lms |