I'm syncing Windows Media Player playlists between computers. Therefore, my playlists need to use relative paths, or it will not work on the other computer and vice versa.
- I'm using my own batch tool in order to create playlists from directories. I'm well aware of auto playlists, but they cannot be sorted. My batch tool works, but WMP changes all playlists to absolute paths eventually. I can observe this phenomenon since only recently.
- I'm syncing using Mercurial. But that's irrelevant, it's just in case someone asks
The XML of a playlist
This is after I sorted the songs and saved it through WMP. However, paths are replaced with absolute paths (starting with D:) later. I can't really tell when this happens.
My destination computer doesn't have a D:\ so same paths is not an option.
<?wpl version="1.0"?> <smil> <head> <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.10586.162"/> <meta name="ItemCount" content="6"/> <title>Playlist Title</title> </head> <body> <seq> <media src="..\......\.....mp3"/>