-
Notifications
You must be signed in to change notification settings - Fork 2
Transcodes
The transcodes are uploaded automatically to RED so please check them out to see if they are correct.
You will need to have rabbitmq installed: sudo apt install rabbitmq-server
There are several settings that needs to be changed. Make sure the transcoding settings in settings.py are correct. The transcode username and password is for a user that exists within WM.
Install screen and then run celery either with celery.sh or with pipenv run celery -A WhatManager2 worker --loglevel=info --concurrency=1
If you have a what.cd upload error, it's probably due to stale login data. Reset this using pipenv run ./manage.py clear_what_login_cache
If celery.sh runs next step is to add a crontab. Making a standard cronfile as earlier it would look like this. The basic transcode sync is as follows (modify the URL if you installed WM in a subfolder):
* * * * * root curl curl http://host.com/transcode/update
With crontab -e this would be
* * * * * curl http://host.com/transcode/update
See if it's working to go to http://host.com/transcode and add a transcode job either there or with userscripts.