- fixes#13 (Cannot download episodes anymore)
- uses _librespot-python_ interfaces instead of raw web API access (needed to fix#13)
- can not yet determine decrypted file size for Spotify-hosted episodes (which used to work) so will only look at the file name to determine whether an episode has already been downloaded. To retry corrupted downloads just remove the partially downloaded file and try again.
Changes:
- added --transcode yes/no to enable transcoding .off into .mp3 for handicapped devices which do not support open codes (iOS, looking at you here)
- added webcron endpoint to run feed updates in situations where the system scheduler can not be used
- feed manager is now mostly a single page app with live updates
- added -v (version) option
- added versioned updatees for feed and index manager
Fixes:
- direct login now works as intended
New install requirements:
- ffmpeg-python
- setuptools
The change to a SPA was necessitated by the introduction of the `--transcode yes/no` option which (when activated) causes feed updates to take much more time, especially on less powerful hardware. This would cause the feed manager process to timeout before the feeds were updated. This problem is mostly fixed but can still occur in the webcron update process. If this happens the php-fpm and/or web server timeout needs to be increased. This should only happen on slower hardware and/or slow links.
Add missing "const" before constants in feed index template
Add (back) extra log.debug in podcast.py to make it easier to debug feed problems when they arise