mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #347] [Feature] Allow download #252
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#252
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 @phanan on GitHub (Jun 2, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/347
Even though Koel is meant to solve the local media storage issue, it might be good if users can download individual songs, an album, or a whole playlist from time to time.
@alex-phillips commented on GitHub (Jun 2, 2016):
I think this is a great idea.
A couple of things to consider:
@fatryst commented on GitHub (Jun 2, 2016):
?
发自我的 iPhone
@phanan commented on GitHub (Jun 2, 2016):
Exactly that.
Actually on a mobile device (at least on iOS), you can't download anything – a media "download" will just open the native media player. So, I'll just hide the download controls away.
@alex-phillips commented on GitHub (Jun 2, 2016):
Sorry, I meant that if you downloaded via your computer and wanted to transfer them over. Not download directly on the device.
Like say you wanted to load them onto your iPhone's iTunes player for offline playback.
@BernardGoldberger commented on GitHub (Jun 2, 2016):
Things I believe should be considered...
@phanan commented on GitHub (Jun 3, 2016):
@BernardGoldberger commented on GitHub (Jun 3, 2016):
In regards to item 2 I was referring to the file being downloaded not original, maybe it could be done by creating a temp copy and writing out the metadata.
@phanan commented on GitHub (Jun 3, 2016):
Come to think about it, there's no easy way to tell if the metadata has been changed. Top of my head, we can:
updated_atandcreated_atvalue. If they're different from each other, we assume that the song's metadata have been changed. I use the word "assume," because there are other actions that changeupdated_atvalue as well (slightly better approach).As you can see, none of the approaches is optimal. Also, getID3's writing is not really up to the game. From the official homepage:
Looking at the offical demo code, you'll find quite a few edge cases / hacks / workarounds, and the effort is undoubtedly not worth it.
So still, I'm on the "no" side.
@phanan commented on GitHub (Jun 5, 2016):
Done with
e334ec20d6.