mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[GH-ISSUE #832] Syncing a single record (or file) #577
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#577
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nival999 on GitHub (Oct 16, 2018).
Original GitHub issue: https://github.com/koel/koel/issues/832
Hi,
I noticed in the php artisan koel:sync command there's an option to specify a --record file. I have tried numerous appendages like record?"PUT /home/koel/music/file.mp3" but no files are being added. Is there a way to programatically add or sync a single file (or song) to the database?
Thanks
@phanan commented on GitHub (Oct 19, 2018):
--recordis meant for an inotify watch record, so it only accepts such format. For example:CLOSE_WRITE,CLOSE $path.@phanan commented on GitHub (Oct 19, 2018):
To clarify: The command is simply
php artisan koel:sync "CLOSE_WRITE,CLOSE $path".