PDA

View Full Version : Playing or importing m3u-playlists created on the PC



WP_FB2k
October 9th, 2016, 04:29 AM
Hi,
for a long time I have been looking for a WP music player (running WP 10 on a Lumia 950 with all music stored on the SD card) that is able to read (or import) m3u playlists that I created on my PC (much more comfortable if you're having a huge library with several hundred album folders and thousands of tracks). By now it seems that only FB2k (my favourite on the PC as well) is able to at least read and play the m3u's stored in the "Music" folder. And here is my problem: To get to these playlists in the "Device's Music Library" I have to scroll past several hundred album folders every time since the files (m3u playlists in this case) are displayed only after the folders. Once there, the playlist works fine, but the handling is very uncomfortable.
Placing the playlists in a separate folder (e.g. "01 Playlists" to get them on the top of the folder list) doesn't work either: The files are either not recognised or (when I include the full absolute path with "D:\Music\Album xyz..." in the m3u) get an "access denied" error by the system.
An extra functionality (e.g. menu) to organise the otherwise hard-to-reach playlists would be a huge improvement. Are there any plans tro implement these in the foreseeable future?

Or is this (or something to that effect) already implemented and I am looking at the wrong place? If so, I'd be hugely grateful for a hint in the right direction :)

Thanks
WP_FB2k

WP_FB2k
October 13th, 2016, 01:13 PM
Hi,
I saw the inclusion of playlists in today's update which is really great. I see how new playlists can be created and songs and/or albums added to it. Importing pre-existing playlists is another matter though. Though the development blog says this is possible, I haven't found the right way to do it yet. Any (short) hint how to do that would be really appreciated :)

Thanks
WP_FB2k

Peter
October 13th, 2016, 11:59 PM
The playlist files must contain relative paths to your music files, ones that resolve correctly on your phone. On Windows devices, use "" back slashes to delimit folders, on non Windows devices we allow either style of slashes.

For an example (Windows or Android):

If your music is in:
<SD card> / Music
And your playlists are in:
<SD card> / Playlists
You need to refer to your music files as:
../Music/foldername/track.mp3

WP_FB2k
October 14th, 2016, 02:49 PM
The playlist files must contain relative paths to your music files, ones that resolve correctly on your phone. On Windows devices, use "" back slashes to delimit folders, on non Windows devices we allow either style of slashes.
Yep, I have done that. Previously, I had the playlist files in the "Music" folder and they played fine after the aforementioned scrolling in the "Device's Music Folder" and starting them manually.

My more precise question is how do I tell the App where it should look for a pre-existing m3u-playlist and import/show that in the "Playlist" section of the App? By now it is not importing anything automatically, and in the playlist section I only find the option to create a new (empty) playlist from scratch. Tapping and holding the pre-existing playlist(s) produces no further options beyond playing the list (if selected manually in its folder). Is it necessary to place the playlists in a specific folder which is scannned by default by the App?

Sorry if I missed anything obvious...

Thanks
WP_FB2k

screamingtrees2
October 17th, 2016, 11:54 AM
here is my problem: To get to these playlists in the "Device's Music Library" I have to scroll past several hundred album folders every time since the files (m3u playlists in this case) are displayed only after the folders. Once there, the playlist works fine, but the handling is very uncomfortable.


Tapping and holding the pre-existing playlist(s) produces no further options beyond playing the list (if selected manually in its folder).

We really do need a way to convert/send .m3u playlists to native playlists on the home/browse screen. Having to scroll past all those folders in the documents folder is a bit cumbersome.

WP_FB2k
October 19th, 2016, 03:45 PM
We really do need a way to convert/send .m3u playlists to native playlists on the home/browse screen. Having to scroll past all those folders in the documents folder is a bit cumbersome.

From what I have learned from the replies so far and experimenting with the app, it is currently not able to import pre-existing m3u-playlists into its own "Playlists" section. But as already said, it *is* able to play such playlists manually - which is already much more than all the other music player apps for WP that I have tested.
But there is also a workaround for the problem (at least it works for Windows Phone):

Edit your playlists on the PC so that they are named according to the following scheme (without quotation marks): "..\Music\FolderName\TrackName.mp3" where 'Music' is your Music folder name on the phone, 'FolderName' the name of the album folder and 'TrackName' the name of the individual music file. Please note that the two dots at the beginning are important to include.
Create a subfolder in your 'Music' folder and choose a name which places it before all the others in regular alphanumeric sorting (e.g. "001 Playlists"). Paste all the lists edited in step 1 here.
Browse to the "Device's Music Folder" in the app. Now your playlist folder is at the beginning and you don't have to scroll through all the album folders. Choose it and play any list you like.

Of course, as with all workarounds, it doesn't remove the cause of the problem, but it avoids its worst effects (the uncomfortable use) until the app can import such pre-existing playlists and list them in the "Playlists" section.

EDIT: The method above works only if the playlists are in a folder on the same level as the "Music" folder. In that case you won't find it in the "Device's Music Folder". Perhaps a "..\.." instead of a simple ".." at the beginning of the line works if your playlist folder is a subfolder below the "Music" folder. I'll have to try that... :/

WP_FB2k
October 21st, 2016, 01:32 PM
I just tried the syntax with the "..\.." mentioned in the previous post. On WP (Lumia 950, v.10) it works. So at least there is a functioning workaround for the problem until FB2k is able to genuinely import the playlists into its PL section.

37KDeep
November 6th, 2016, 01:31 PM
Here is my working method for making playlists on my PC and copying them to my Galaxy S5. All music files (about 1300) are on my MicroSD card that is in my phone. My playlist files are in the same folder as the music files. I could not get it to work when I placed the playlist files in a separate folder.

I edited out ONLY the path information from the playlist files. Each playlist file only contains a list of the names of the music files.
Example:
Above & Beyond - Treasure.mp3
Above & Beyond - Piece of Mind.mp3

My music folder name on the card is Galaxy S5 Music

In the "Settings" menu in foobar2000 under "Media Library" I added the above folder to the "Music folders". I did not add a playlist folder.

I ran foobar200. In the "Browse" menu is shows my playlists location as :

Playlists[Galaxy S5 Music on External Storage]

I select this option and it lists my playlists. Choose one and go........

I would really like to have my playlists in a separate folder. I made several modifications to the "path" of the music files in the playlist file but I continued to get errors. I will post a solution if I can get that to work.

I hope this helps someone.

37KDeep
November 11th, 2016, 07:27 PM
Update

I did have to add a playlist folder in the "Media Library". To "Playlist folders" I added the same music file folder......."Galaxy S5 Music"

The "Galaxy S5 Music" folder on my MicroSD contains both my music files and my edited playlist files.

dorho
December 25th, 2016, 04:04 AM
Hello,

I've been browsing the forum in the hope of figuring out how to import playlist files onto iPhone, but found nothing. Since this seems to be a thread that fits my question the most...

Is it even possible to import a playlist on iPhone, which doesn't really do open file management or SD cards? If you have ~1000 tracks and want to make, say, 10 playlists, each with 200 tracks, it is a nightmare.

Thank you for your time.

kaijames
January 25th, 2017, 01:51 PM
Actually, it's possible on ipad. Since foobar2000 store all its data in sqlite, you can import playlist by modifying its sqlite file, but first you need to jailbreak your device.
I test on my ipad air2 with foobar2000 Mobile, version 1.0.57 64-bit. Here is my locations of foobar2000 in my ipad:
Playlist sqlite location=/private/var/mobile/Containers/Data/Application/72FFDBEA-BFA9-4421-BEC7-4DA446994F52/Library/foobar2000/playlists-v2.0
related sql tables: tracks, ordered
Tools: one jailbroken ipad, openssh(client), sqlitebrowser
As far as I know, all your songs path info are stored in tracks table,
and all the playing orders info is stored in ordered table, and there may be multi playing orders in this table, the player will fetch the one has max id, I guess.
That's all.
.1 create a playlist on your foobar2000 on ipad
.2 connect to ipad with ssh tool.
.3 find your newly created playlist file under playlist location mentioned above
.3 export this file on your pc and change it
.4 import the modified file back and override the original file
. 5 check... have fun.
Foobar2000 saved my life, actually if I hope I can import playlist created on my pc rather than hack it in this way.

reaper527
March 28th, 2017, 10:50 PM
Hello,

I've been browsing the forum in the hope of figuring out how to import playlist files onto iPhone, but found nothing. Since this seems to be a thread that fits my question the most...

Is it even possible to import a playlist on iPhone, which doesn't really do open file management or SD cards? If you have ~1000 tracks and want to make, say, 10 playlists, each with 200 tracks, it is a nightmare.

Thank you for your time.

i can tell you how i've been managing on getting everything working on my iphone, but it may or may not work for you. all of my music was dropped into foobar directly via the ftp server. for the purpose of this writeup, i'm going to assume you did the same and have all of your music in folders inside of a music folder on the root of the ftp server. you can adjust as necessary.

i created playlists in foobar (desktop version) and then right clicked the tab and saved the playlist as an m3u file. from there, i opened up the playlist in a text editor. i selected the part of the path that represented the location to my music on my computer, and did a replace all to replace it with ./Music/ (and then after that did a replace all to replace any remaining \ with / ). next, i ftp'ed my m3u file to the root of my ftp server.

worth mentioning, this does NOT add the playlist to the "playlists" section of foobar mobile, however what it does do it make it so when you click "foobar2000 music folder", you'll see your music folder (which contains all of your music) and below that in the files section all of your m3u playlists. (and when you click one of them, you'll see all of the songs and can click any one of them to start playing the playlist). you get the same functionality as if it went to playlists, it just isn't where you'd expect it to be.

the process is kind of a pain in the ass, but if you aren't someone who changes their playlists on a daily basis and just need to get something loaded up for now, hopefully this will hold you over until foobar mobile has some real syncing support. (i'd love to be able to just click a syncronize button in foobar on my desktop and have it upload all my new music and playlists. having to re-export my autoplaylists whenever i add new music kind of sucks)

somebodyelse
May 31st, 2017, 07:48 AM
This is how I have managed to import external playlists on Android.

1) Determine the file path for an existing playlist
- I have created a playlist using a 3rd part app called "Playlist Manager Pro (https://play.google.com/store/apps/details?id=com.desaxed.playlistmanager&rdid=com.desaxed.playlistmanager)"
- I am still unable to determine where the playlist is stored on the phone, so the work around is
- use another 3rd party app called "PlaylistSync - Playlist Backup (https://play.google.com/store/apps/details?id=com.desaxed.playlistsync)" from the same developer
- this allows me to backup / sync the playlist with a Google Drive account
- you can then view the backup playlist *.playlistsync in Google Drive
- where you find the path located in the playlist ie /storage/SD/Music/Album1/*.mp3
This is how the playlist orders the particular files on your phone

2) Create an external playlist (on PC) using the same parameters above
ie /storage/SD/Music/Album2/*.mp3
save the file as a *.m3u
copy / sync* (see below) the playlist onto the phone

3) Ensure Foobar can located the playlist
- Go to Tools * Media Library * Playlist folders
- Click on "+"
- select the folder where the external playlist was copied to

4) Go back to browse
- there should be a menu item Playlists [folder name]
- and select the playlist you want

5) Listen and NJoi

There may be an easier way to get the path location, so please share.

Hope this helps

*I use "MyPhoneExplorer Client" (https://play.google.com/store/apps/details?id=com.fjsoft.myphoneexplorer.client) to sync all my media and playlists onto my phone using a client on my PC.

Fb2018
September 1st, 2018, 08:51 PM
I'm guessing the mobile app still hasn't been updated to reflect this change of importing playlists created on the PC?

Is a shame because the files I have, foobar2k decided to sort further down to specific albums or artists and if you only have the one, it will only use that one track for the current playlist and not any of hte other tracks resulting me in having to create a dedicated playlist to play these tracks one after the other in succession after each one finishes up.....except that you can't import externally created playlists.....and going going through the current tracklist to manually add each track to the playlist, especially when you have over 1000 to sort through and choose from, is pretty gey.......

Groove Music on the other hand, since I sport a Lumia 950XL, plays just as how I want them to play, in their respective genres disregarding what artist or albums they're from but doesn't play opus files resulting me transcoding them into aac files or something to play them.....

So I have two options, well actually three: 1) Transcode all Opus files to AAC for Groove Music, 2) Wait till Foobar2k gets an update on importing externally created playlists OR has an option to disregard sorting further tracks into their respective albums or artist names after already picking to play a specific genre of tracks, 3) Pick a different player that does what I want out of the box.