mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Fix log message
This commit is contained in:
parent
3d5c77d032
commit
4c90c35c28
1 changed files with 3 additions and 3 deletions
|
@ -141,11 +141,11 @@ class Media
|
|||
*/
|
||||
public function syncByWatchRecord(WatchRecordInterface $record, SyncMedia $syncCommand = null)
|
||||
{
|
||||
Log::info("New watch record received: $record");
|
||||
Log::info("New watch record received: '$record'");
|
||||
$path = $record->getPath();
|
||||
|
||||
if ($record->isFile()) {
|
||||
Log::info("$record is a file.");
|
||||
Log::info("'$path' is a file.");
|
||||
|
||||
// If the file has been deleted...
|
||||
if ($record->isDeleted()) {
|
||||
|
@ -170,7 +170,7 @@ class Media
|
|||
}
|
||||
|
||||
// Record is a directory.
|
||||
Log::info("$record is a directory.");
|
||||
Log::info("'$path' is a directory.");
|
||||
|
||||
if ($record->isDeleted()) {
|
||||
// The directory is removed. We remove all songs in it.
|
||||
|
|
Loading…
Reference in a new issue