-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support playlist-files #652
Comments
Playlist files are not currently supported by the app but this would be a feasible idea for improvement. This is also related to #645 which would be one way to support playlist files. |
thanks for the reply and considering this enhancement! well... this is somehow related (concerning the basic functionality) to #645, but to make it more clear, i'm taking about a m3u-file saved in a normal folder like the audio-files and it should also be as easy usable (just click and play) as the audio-files! |
"Audio Player" seems to somehow support |
Thanks for the tip. Just don't start holding your breath yet, there are lots of things I would like to do for the Music app and only limited amount of time to use on it. Hence, I will probably not start working on this one any time soon. On the other hand, there are occasionally other contributors, so maybe someone will pick this up :). |
yes, i don't dare to expect a sudden implementation, especially at FOSS projects which are maintained in spare time. |
Currently, I get the m3u files listed in the music app. I was wondering whether that is normal or not? They show up under "Artiste inconnu" which means "Unknown Artist" as shown below with just the name of the file without the extension (as album and title). |
@greku That's not supposed to happen. But now this happens because Nextcloud 13 (and later?) associate the mime type On the other hand, the scanning logic of the Music app searches and indexes all the files with mime type I was first puzzled about why I hadn't seen this happen even though I'm using NC13 on my daily use and I do have some .m3u files within my music library folder. It turned out that the |
@paulijar Not sure anymore how I updated my nextcloud installation. I updated quite recently, and I think previously existing m3u files are now listed in the music app (I don't think I updated them since). Line 112 in 7780dbc
into: } elseif (Util::startsWith($mimetype, 'audio') && $mimetype!='audio/mpegurl') {
Is there a way to fix existing records in the db? Is it possible to include some script in next update that would find all the tracks with the mime |
Okay. I'm not using the most recent patch of 13.x so it's possible that the migration problem I faced has already been fixed. Or then the migration just randomly failed on my installation, who knows.
Yes, but that's not enough. We need to modify also the following line, or otherwise the m3u files will be found again as "new unscanned files" each time the Music app is started: Line 400 in 7780dbc
The built-in php function
Yes, that's possible, but it will likely take a bit more effort. Care has to be taken that the operation will not become awfully heavy even on large installations (think about thousands of users and millions of files). This kind of repair steps are registered at Line 32 in 2736c51
<pre-migration> step which takes care of database schema changes. What we are discussing here, should probably be an <install> step instead.
It should be rather easy to find the tracks to remove from the DB table |
I opened a new issue for the problem reported by @greku as it's clearly distinct from the original feature request. Lets continue discussing the bug within the new issue. |
Just want to add my support for import/export of playlists in standard m3u format. The thought of losing my playlists is always a bit frightening. |
This would be great to provide for a longterm archive of the music collection, and in particular to the playlists. |
I added a bounty for this feature implementation--import/export of .m3u in particular, ideally with read/write to .m3u files in a subfolder within the music home directory for easy offline/local management as mentioned by the OP. This enables both peace-of-mind against playlist loss and the bonus ability to create 'fancier' intelligent playlists using other frameworks that can then just be ingested by Music and updated by the user as desired, removing the need for the Music app itself to have such capabilities built-in. I'm happy to help pay for the time and effort toward the solution, since it's been a hold-up for me personally. Anyone else out there, feel free to add to the bounty if you'd like. To contributors of Music: thanks for the work you do! https://www.bountysource.com/issues/59958063-support-playlist-files |
I've added to the bounty. The total is now $220. |
Bounty now stands at $370.00USD. Recovered a bit from another expired bounty I was funding. |
That's a hefty bounty. I'll try to resolve this during this summer. |
The support for playlist files has now been released in the Music v0.16.0.
|
Outstanding, works like a charm. Thanks @paulijar ! |
is it somehow possible to support playlist-files (for those who manage their music libraries mainly offline/local) like at least
.m3u
/.m3u8
(RFC 8216)? maybe additional.xspf
and.pls
wouldn't hurt either...The text was updated successfully, but these errors were encountered: