[GH-ISSUE #282] Feature: Import .m3u playlist #203

Closed
opened 2026-02-26 02:32:25 +03:00 by kerem · 9 comments
Owner

Originally created by @ronilaukkarinen on GitHub (Mar 22, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/282

Hello! I have a large 3000 song list from Subsonic, which is in .m3u format. The songs are in same file path than in koel, the file is constructed like this:

#EXTM3U
/media/giant/albums/Artist1 - Album1 (2015)/01 The Name of the Song.mp3
/media/giant/albums/Artist2 - Album2 (2016)/05 - The Name of the Random Song 2.mp3

Can you consider about the import feature for Koel playlists?

Originally created by @ronilaukkarinen on GitHub (Mar 22, 2016). Original GitHub issue: https://github.com/koel/koel/issues/282 Hello! I have a large 3000 song list from Subsonic, which is in .m3u format. The songs are in same file path than in koel, the file is constructed like this: ``` #EXTM3U /media/giant/albums/Artist1 - Album1 (2015)/01 The Name of the Song.mp3 /media/giant/albums/Artist2 - Album2 (2016)/05 - The Name of the Random Song 2.mp3 ``` Can you consider about the import feature for Koel playlists?
kerem closed this issue 2026-02-26 02:32:25 +03:00
Author
Owner

@phanan commented on GitHub (Mar 28, 2016):

If the songs are under the same configured path, why don't you just resync instead?

<!-- gh-comment-id:202353007 --> @phanan commented on GitHub (Mar 28, 2016): If the songs are under the same configured path, why don't you just resync instead?
Author
Owner

@ronilaukkarinen commented on GitHub (Mar 28, 2016):

What do you mean by resync? I'd like to add those songs to a playlist, is there a way to sync m3u somehow as playlist?

<!-- gh-comment-id:202378708 --> @ronilaukkarinen commented on GitHub (Mar 28, 2016): What do you mean by resync? I'd like to add those songs to a playlist, is there a way to sync m3u somehow as playlist?
Author
Owner

@phanan commented on GitHub (Mar 28, 2016):

If your media path is /media/giant/ then you can just run ./artisan koel:sync. I'm not sure what you mean by importing a playlist into Koel – Koel doesn't support media outside of the configured path.

<!-- gh-comment-id:202380656 --> @phanan commented on GitHub (Mar 28, 2016): If your media path is `/media/giant/` then you can just run `./artisan koel:sync`. I'm not sure what you mean by importing a playlist into Koel – Koel doesn't support media outside of the configured path.
Author
Owner

@ronilaukkarinen commented on GitHub (Mar 28, 2016):

I mean this:

Screenshot

Currently you can add a playlist, add songs from existing library or remove playlist. I'm asking about a feature to import songs to a playlist, or better yet - import complete playlists?

<!-- gh-comment-id:202382132 --> @ronilaukkarinen commented on GitHub (Mar 28, 2016): I mean this: ![Screenshot](https://dl.dropboxusercontent.com/u/18447700/Screen%20Shot%202016-03-28%20at%2015.59.52.png) Currently you can add a playlist, add songs from existing library or remove playlist. I'm asking about a feature to import songs to a playlist, or better yet - import complete playlists?
Author
Owner

@phanan commented on GitHub (Apr 1, 2016):

I still don't get the point of export/importing songs from and into Koel. The songs are meant to be kept on the server, not your local machine, right? How will playlists with server paths for songs work?

<!-- gh-comment-id:204328779 --> @phanan commented on GitHub (Apr 1, 2016): I still don't get the point of export/importing songs from and into Koel. The songs are meant to be kept on the server, not your local machine, right? How will playlists with server paths for songs work?
Author
Owner

@phanan commented on GitHub (Apr 11, 2016):

Closing due to inactivity.

<!-- gh-comment-id:208333483 --> @phanan commented on GitHub (Apr 11, 2016): Closing due to inactivity.
Author
Owner

@Porco-Rosso commented on GitHub (Jun 24, 2017):

I think what @ronilaukkarinen meant was a feature to build Koel playlists from an .m3u, using songs already imported in the koel library.

Use case: I have many playlists made in iTunes. I would like to import these into Koel, without having to manually rebuild them.

also I am also interested in this feature.

<!-- gh-comment-id:310868946 --> @Porco-Rosso commented on GitHub (Jun 24, 2017): I think what @ronilaukkarinen meant was a feature to build Koel playlists from an .m3u, using songs already imported in the koel library. Use case: I have many playlists made in iTunes. I would like to import these into Koel, without having to manually rebuild them. also I am also interested in this feature.
Author
Owner

@lucidBrot commented on GitHub (Jun 26, 2020):

I am considering switching to koel and this is a big point in my considerations. I have my music files in google play music and I'd like to somehow import the existing playlists to koel.

I'll have to check whether my "export m3u playlist from google play music" script is still working, but importing playlists from various other services is likely generally a big plus for switching.

Edit: I just noticed the API and if I decide to use koel it would probably be not that hard to script the import of playlists.

<!-- gh-comment-id:650252269 --> @lucidBrot commented on GitHub (Jun 26, 2020): I am considering switching to koel and this is a big point in my considerations. I have my music files in google play music and I'd like to somehow import the existing playlists to koel. I'll have to check whether my "export m3u playlist from google play music" script is still working, but importing playlists from various other services is likely generally a big plus for switching. Edit: I just noticed the [API](https://api-docs.koel.dev/#replace-a-playlists-content) and if I decide to use koel it would probably be not that hard to script the import of playlists.
Author
Owner

@Porco-Rosso commented on GitHub (Jun 28, 2020):

@lucidBrot I am currently using a modified version of this script to import my m3u playlists into Koel. It's a bit of a hack, but controlled with a crontab entry it does its job for me.
https://github.com/kellertobias/m3u-sync

<!-- gh-comment-id:650735269 --> @Porco-Rosso commented on GitHub (Jun 28, 2020): @lucidBrot I am currently using a modified version of this script to import my m3u playlists into Koel. It's a bit of a hack, but controlled with a crontab entry it does its job for me. https://github.com/kellertobias/m3u-sync
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#203
No description provided.