Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: Headshaker on August 07, 2012, 03:07:54 pm

Title: Indexing tracks
Post by: Headshaker on August 07, 2012, 03:07:54 pm
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.
Title: Re: Indexing tracks
Post by: Centova - Steve B. on August 07, 2012, 04:40:42 pm
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.