Update page 'Home'
commit
375290db40
1 changed files with 73 additions and 0 deletions
73
Home.md
Normal file
73
Home.md
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
## pandora_client
|
||||||
|
|
||||||
|
pandora_client is a commandline client for pan.do/ra. it is used to import videos into a pan.do/ra system.
|
||||||
|
It is currently known to work on Linux and Mac OS X.
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
sudo pip3 install pandora_client
|
||||||
|
|
||||||
|
### Update
|
||||||
|
|
||||||
|
sudo pip3 -U pandora_client
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
pandora_client config
|
||||||
|
enter api url of your pandora server(i.e. https://pad.ma/api/), username, password
|
||||||
|
|
||||||
|
|
||||||
|
pandora_client add_volume <name of volume> </path/to/volume>
|
||||||
|
add or update a volume that should be scanned for files,
|
||||||
|
if you added a volume with that name previously, it will update the path.
|
||||||
|
|
||||||
|
(you need to have a special folder structure in your volume, [more about that here](/wiki:pandora/volume/))
|
||||||
|
|
||||||
|
|
||||||
|
pandora_client scan
|
||||||
|
|
||||||
|
scan all available volumes for changes
|
||||||
|
|
||||||
|
pandora_client sync
|
||||||
|
|
||||||
|
sync information about files with server
|
||||||
|
|
||||||
|
pandora_client upload
|
||||||
|
|
||||||
|
encode and upload videos that are needed
|
||||||
|
|
||||||
|
### Advanced Usage
|
||||||
|
|
||||||
|
|
||||||
|
pandora_client extract
|
||||||
|
|
||||||
|
if you want to only create videos, you can use extract
|
||||||
|
|
||||||
|
pandora_client import_srt itemid layername /path/to/srt
|
||||||
|
|
||||||
|
import annotations from srt into a layer
|
||||||
|
|
||||||
|
You can also upload individual files, this also work to upload a file again:
|
||||||
|
|
||||||
|
pandora_client upload <oshash>
|
||||||
|
|
||||||
|
you can also pass the path to the video
|
||||||
|
|
||||||
|
pandora_client upload <path>
|
||||||
|
|
||||||
|
To see the command line that pandora_client uses to create the webm file, passing the full path of the file you are trying to upload/create:
|
||||||
|
|
||||||
|
pandora_client cmd path
|
||||||
|
|
||||||
|
### Plugins
|
||||||
|
|
||||||
|
It is possible to customize path parsing and more using custom python functions. For more info [click here](plugins)
|
||||||
|
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
git clone https://code.0x2620.org/0x2620/pandora_client
|
||||||
|
|
||||||
|
### Bugs
|
||||||
|
|
||||||
|
If you find a bug or need a new feature, [report it here](/0x2620/pandora_client/issues)
|
Loading…
Reference in a new issue