No description
Find a file
2025-01-24 15:04:00 +05:30
pandora_upload better array parsing 2025-01-24 15:04:00 +05:30
.editorconfig pandora-upload 2021-11-15 09:42:49 +00:00
.gitignore pandora-upload 2021-11-15 09:42:49 +00:00
README.md support meta arrays 2025-01-24 14:28:56 +05:30
setup.py update ox version requirements 2025-01-23 16:42:55 +05:30

pandora-upload

pandora_upload is a commandline client for pan.do/ra. You can use it to upload one or more files to your pandora instance. No conversion is done on the client side. To upload/sync large repositories use pandora_client

Upload a file from the command line:

pandora-upload -p http://pandora/api/ -m "title=This is an example" -m "director=[Jane Doe]" -m "date=2021-11-15" /home/example/Videos/video.mp4

or you can use pandora-upload in a python script:

import pandora_upload
item_id = pandora_upload.upload(
    'http://pandora/api/',
    ['/home/example/Videos/video.mp4'],
    {
        'title': 'This is an example',
        'date': '2021-11-15'
    }
)