[Solved]m3u8 playlists from Win7 to Linux player

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MyM
Level 1
Level 1
Posts: 45
Joined: Thu Feb 15, 2018 10:55 pm

[Solved]m3u8 playlists from Win7 to Linux player

Post by MyM »

Hello,
As per subject line, I would appreciate any guidance.
I've tried editing the paths and changing forward slashes "\" to backslashes "/" and saving as an .m3u extension, with no luck. I can't get Rhythmbox, GmusicBrowser, Jajuk, or VLC to import the file. Here is a sample of a line taken from one of the playlist files along with edits that had no effect:

(Original line in m3u8 playlist file)
\Music\Albert Collins Robert Cray Johnny Copeland\Showdown!\05 - Bring Your Fine Self Home.mp3

(tried changing to;)
/home/donner/Music/Albert Collins Robert Cray Johnny Copeland/Showdown!/05 - Bring Your Fine Self Home.mp3

(also tried the following:)
/media/DATA/Music/Albert Collins Robert Cray Johnny Copeland/Showdown!/05 - Bring Your Fine Self Home.mp3

Code: Select all

donner@donner-desktop ~ $ inxi -Fxz
System:    Host: donner-desktop Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: INTEL model: H61
           Bios: American Megatrends v: 4.6.5 date: 07/19/2017
CPU:       Dual core Intel Core i3-2130 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13569
           clock speeds: max: 3400 MHz 1: 3392 MHz 2: 3392 MHz 3: 3392 MHz
           4: 3392 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Sandybridge Desktop
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card-1 Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Z-Star Micro Venus USB2.0 Camera
           driver: USB Audio usb-ID: 002-004
           Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network:   Card: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
Drives:    HDD Total Size: 1064.2GB (8.5% used)
           ID-1: /dev/sda model: KINGSTON_SV100S2 size: 64.0GB
           ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
Partition: ID-1: / size: 39G used: 7.3G (21%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 21G used: 474M (3%) fs: ext4 dev: /dev/sda2
           ID-3: swap-1 size: 12.58GB used: 0.00GB (0%) fs: swap dev: /dev/sdb2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 188 Uptime: 35 min Memory: 1121.9/7870.9MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
donner@donner-desktop ~ $ 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: m3u8 playlists from Win7 to Linux player

Post by phd21 »

HI MyM,

If you can provide the exact content of one of your m3u8 files that might help.

I am pretty sure that if you have the music in the same folders, that a lot of music applications and multimedia players will automatically read and use it. Then, you can create new playlist files.

See this post...
script to convert win playlists - Linux Mint Forums
viewtopic.php?f=90&t=244823&hilit=m3u8


Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
MyM
Level 1
Level 1
Posts: 45
Joined: Thu Feb 15, 2018 10:55 pm

Re: m3u8 playlists from Win7 to Linux player

Post by MyM »

phd21 wrote: Thu Mar 22, 2018 10:15 pm HI MyM,

If you can provide the exact content of one of your m3u8 files that might help.
The line extracted as "original line in m3u8 playlist file" is exactly how each m3u8 playlist line is referenced -- there's just more of them.
I am pretty sure that if you have the music in the same folders, that a lot of music applications and multimedia players will automatically read and use it. Then, you can create new playlist files.
All files are remapped in the /music directory as per original. So there is nothing different relative to the paths. And, yes, each player can play the files, but rebuilding all the playlists would take more time than I can justify. I just don't see why, after renaming .m3u8 to .m3u (the only file extension accepted for importing to any of the players) is not loading. This, after editing forward slashes to back slashes.
See this post...
script to convert win playlists - Linux Mint Forums
viewtopic.php?f=90&t=244823&hilit=m3u8
I had seen that and have run one of the scripts. It works great and avoids having to edit each playlist with search and replace. Although there is still a need to rename .m3u8 to .m3u in order to import the playlist. So everything looks good and it should work, but it doesn't.

And I'm baffled ...
MyM
Level 1
Level 1
Posts: 45
Joined: Thu Feb 15, 2018 10:55 pm

Re: [Solved]m3u8 playlists from Win7 to Linux player

Post by MyM »

It appears any small discrepancy with the m3u file annotation will prevent either the the song from loading or the entire list, dependant on which player is in use. For example, any extra space or the little "-" dash or "#" added by iTunes or whatever other player when creating a playlist and subsequently converting it to m3u8 will render the text pointing to the file useless. In the case of VLC, it will accept m3u8 files and, thankfully, lists any associated problems; Rhythmbox also accepts m3u8 files but will simply omit any songs not properly annotated, without indicating which; still playing with Gmusicbrowser which accepts only m3u file extensions and Jajuk. A lot of trial and error...

In any event, with some hours spent comparing, fixing, and rebuilding, it looks like the playlists can be saved. Which is a far better option than rebuilding each playlist one by one.
Locked

Return to “Sound”