https://github.com/jeffvli/Windows-to-Linux-m3u8-Playlist-Converter
Convert Windows m3u8 playlists to work for Linux mounted drives. Made specifically for Windows Foobar2000 playlist export to Subsonic.
https://github.com/jeffvli/Windows-to-Linux-m3u8-Playlist-Converter
Last synced: 4 months ago
JSON representation
Convert Windows m3u8 playlists to work for Linux mounted drives. Made specifically for Windows Foobar2000 playlist export to Subsonic.
- Host: GitHub
- URL: https://github.com/jeffvli/Windows-to-Linux-m3u8-Playlist-Converter
- Owner: jeffvli
- Created: 2019-03-17T17:31:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T02:25:25.000Z (almost 6 years ago)
- Last Synced: 2024-05-12T03:32:55.801Z (11 months ago)
- Language: PowerShell
- Homepage:
- Size: 23.9 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - jeffvli/Windows-to-Linux-m3u8-Playlist-Converter - Convert Windows m3u8 playlists to work for Linux mounted drives. Made specifically for Windows Foobar2000 playlist export to Subsonic. (PowerShell)
README
# Windows-to-Linux-m3u8-Playlist-Converter
Automated conversion of a batch of Windows m3u8 playlists to work on Linux subdirectories.
## How to use
The script works under the assumption that music files are under the same root directory in both Windows and Linux instances. Open PowerShell in a **non-elevated** prompt and run the function `Convert-WindowsPlaylist`.**Recommended**: Pass your command at the end of the script and save. Convert the .ps1 to an EXE using a [PS2EXE converter](https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5).
### Example
Windows instance: `H:\Songs\...` (You will need to use `H:\\Songs\\`)
Linux instance: `/data/Music/Songs/...`
```
Convert-WindowsPlaylist -PlaylistPath 'H:\Playlist\' -MusicPath 'H:\\Songs\\' -NewMusicPath '/data/Music/Songs/' -BackupPath 'H:\Playlist\Backup\' -Verbose
```## To do
- [x] Convert m3u8 playlists
- [x] Allow backup playlist directory
- [ ] Detect when new playlists have been added to directory and automatically run conversion