-
-
Notifications
You must be signed in to change notification settings - Fork 242
Description
As the subject suggests, am having issues with podcasts that are in M4A format importing to Libretime.
Summary:
- Files are being created in /tmp when adding podcast (that's m4a format) and being downloaded
- File appears to be fully downloaded ok, but then failing to import to library.
- Files in /tmp/ are owned by "celery:celery"
- Example Podcast: http://podcast.djhardwell.com/podcast.xml
- I'm seeing the following in one of the celery worker logs:
[2018-09-18 11:41:03,657: INFO/Worker-1] podcast-download[php_5ba0e4352a6c74.76761676]: Error during file download: can't sync to an MPEG frame
[2018-09-18 11:41:03,718: INFO/MainProcess] Task podcast-download[php_5ba0e4352a6c74.76761676] succeeded in 26.512139958s: '{"status": 0, "episodeid": 223, "error": "can\'t sync to an MPEG frame"}'
I've read that the python mutagen package required by airtime_analyzer-0.1-py2.7.egg could be a cause (it's currently mutagen==1.31) - I've tried upgrading it to the latest (mutagen 1.41.1) and it's no help unfortunately.
System details:
- Running Ubuntu Xenial
- silan 0.3.2-2build3
- Python 2.7.12
- Celery args are:
--time-limit=1200 --concurrency=4 --config=celeryconfig -l INFO
Would welcome suggestions on where to look / potential fixes - Anyone know if merging in #464 will help here?
Regular MP3's are fine - Could we perhaps just find a way to pipe any other formats through something like ffmpeg before having the files imported for now which should fix this (not sure where to look, or I'd already be trying this now)
I believe what may be cause of the problem is that the podcast's "album art" actually changes multiple times throughout the mix (as the track names change, the album art updates to reflect the track names) - This is pretty common with EDM podcasts from big name artists/shows (ASOT, Tiesto etc) when you look at the podcasts they have on iTunes.