/M3uListEditor

This app cleans a m3u list from unworking channels, in the list remains only the working ones

Primary LanguageC#

Instruction:
This app scans your m3u file, and creates a new one besides him with only working links, the non working ones will be ignored.

Info: This app isn't perfect, it may vary file to file, but you can change the TimeOut by adding an arg "-timeOut 5" 5 stands for seconds.
      Default Time out is 10 seconds.

1. open a terminal inside the project
2. type dotnet run
3. drag and drop the m3u file, or paste a link from internet
4. wait to end the process
4. beside the original file should appear a new file with the same name and the postfix -cleaned
5. enjoy
6. New Feature, app removes automatically if finds doubles, you can deactivate it, use argument: -rd false OR -removeDoubles false
___

Or you can add arguments like -src and -dest, to set the source path and destination manually, or to be scripted, set the timeout -timeOut 5;

Example of putting link: dotnet run --src link --dest "C:\Users\{username}\Desktop\test.m3u";
if you put a link instead of a path from your pc, and you dont specifiy a destination argument --dest [path], beside the application path, or project
will be created a Folder named Temp, and inside a file with the current date as name.

Known Issue:
if you run the program with arguments like --src "c:\user\documents\file.m3u" || dont forget to use the double quotes, otherwise doesn't work


Linux use:
1. Download the pre release winrar v1.rar
2. Unzip, and inside the folder
1. Open a terminal
2. chmod +x UI
3. ./UI
5. example of use with arugments ./UI -src [sourcePath Or Link] -dst [DestinationPath]
6. or you can just type ./UI and press enter, follow instructions