Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Goodnight friend,
I found a class in GitHub called PalyListsnet, but I can not use it.
I hope someone can help me.

Read

C#
WplContent content = new WplContent ();
WplPlaylist playlist = content.GetFromStream (stream);
// or
var parser = PlaylistParserFactory.GetPlaylistParser (".wpl");
IBasePlaylist playlist = parser.GetFromStream (stream);

List <path> paths = playlist.GetTracksPaths ();


https://github.com/tmk907/PlaylistsNET

Thank you friends!!!
This is for the Expectations.

What I have tried:

C#
// WplContent content = new WplContent ();
  // WplPlaylist playlist = content.GetFromStream ();

  var parse = PlaylistParserFactory.GetPlaylistParser ("http://iptvparatodos.net:38953/get.php? username = Juanjimenez & password = fj660000 & type = m3u_plus & output = ts");
IBasePlaylist playlist = parse.GetFromStream ();

List <path> paths = playlist.GetTracksPaths ();
Posted
Updated 27-Aug-18 20:30pm
v2
Comments
Richard MacCutchan 28-Aug-18 5:09am    
Check that the URL is valid.

1 solution

How do you expect us to help you with a random class "you found on GitHub"?
Go back to the GitHub page where you found it, and look at the entire project there. There may be contact links for the author, or more info on how to use the class (assuming it does what you want at all).

Certainly, we cannot help you - we don't even have any idea which project it comes from, much less any intimate details of it's workings ... and I'm pretty sure there isn't just one class with that name on GitHub - it's not going to be exactly uncommon at all!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900