Indexing tracks

Read 6715 times
Hi.

I don't know is this issue or bug but I have copied some tracks by SFTP with root login to media folder on some account and this tracks doesn't appear on media library.
I can see tracks also in CC file manager.
I have changed their owner and group to ccuser.

Tracks uploaded by web uploader or by clients ftp are indexed strigh away.
Last Edit: August 07, 2012, 03:10:17 pm by Headshaker
Centova Cast has no way of knowing you added any tracks if you added them straight to the user's media directory, so no, it won't pick them up automatically.  You need to update the library manually in that case, using the standard command:

/usr/local/centovacast/bin/ccmanage reindex username

Also remember that it's a bad idea to scp/sftp files directly as root, unless you change the ownerships to 'ccuser' after doing so.  Otherwise the user will receive errors if they try to move/rename files in the file manager later.