Programming

Creating an m3u playlist with relative paths using Bash, Powershell or Python

Most of the media player software lack the option to create playlists with relative paths. Absolute paths make it difficult to move and organize media folders without breaking playlists. Let us see how to create playlists with relative paths using Bash, Powershell, and Python. I am not sure how many media players support relative paths …

Creating an m3u playlist with relative paths using Bash, Powershell or Python Read More »

Natural Sort

Natural Sort is a hazy concept; it basically means something like human-friendly sort; it could be useful if the strings being sorted are going to be visible to the user. Difference between normal sort and natural sort Let us look at an example, we consider the list [1, 2, 10] to be an ascending order …

Natural Sort Read More »