Jump to content


Photo

new developer NEED HELP

streaming iptv video vod stream

  • Please log in to reply
10 replies to this topic

#1 Aizecu

  • Member
  • 11 posts

0
Neutral

Posted 29 September 2013 - 12:18

Hello everyone,
 

I posted this message here because there're very few documents for plugin developers. 

 

I'd like to develop my own plugin like nStreamPlayer

Since OpenPLi has updated things on August 2012, nStreamPlayer has become broken.


"I knew that we can put stream URL into bouquet, plugin is not needed, Anyway, I would like to develop this plugin because we can have extra feature."

 

I have tried to fix nStreamPlayer so far but it doesn't work.

 

Does anyone can help me ?

My point is to fix nStreamPlayer, make it usable with the lastest OpenPLi.

A man who made nStreamPlayer has no time to update his own work (As he answered me).

 

If not fixing it, I would like to develop new plugin, by the way, I still need someone who can help me?

Does anyone here can provide me a sample code of making list of service and switching between channels by using numeric button ?
(Switching channels by numeric button has been broken on nStreamPlayer),

Thank you,

 



Re: new developer NEED HELP #2 littlesat

  • PLi® Core member
  • 45,553 posts

+466
Excellent

Posted 29 September 2013 - 12:35

Nstreamplayer is not required anymore... It is obsoleted since you can add streams within the normal settings. There is no need to fix it at all. You can put the streams in the settings with some setting editors.

Edited by littlesat, 29 September 2013 - 12:36.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W Thanks to Henksat

Re: new developer NEED HELP #3 Aizecu

  • Member
  • 11 posts

0
Neutral

Posted 29 September 2013 - 13:02

Nstreamplayer is not required anymore... It is obsoleted since you can add streams within the normal settings. There is no need to fix it at all. You can put the streams in the settings with some setting editors.

 

I knew that, but if the stream URL is dynamic, what can I do ?

 

So, that's why I need to develop the plugin.

 

Please provide me some information how to start develop the plugin even though you think it's not required. 

 

Please..... , I really need to do it.


Edited by Aizecu, 29 September 2013 - 13:03.


Re: new developer NEED HELP #4 athoik

  • PLi® Core member
  • 7,510 posts

+262
Excellent

Posted 29 September 2013 - 15:23

I knew that, but if the stream URL is dynamic, what can I do ?

 

Just an idea, why don't you try to write a gstreamer source plugin with python?

 

If you fix that (you will be the first to do that on Enigma2...) will make bouquets excelent and able to work with dynamic urls (like youtube).

 

Start reading here.

 

Good luck!


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: new developer NEED HELP #5 Aizecu

  • Member
  • 11 posts

0
Neutral

Posted 29 September 2013 - 22:34

I knew that, but if the stream URL is dynamic, what can I do ?

 

Just an idea, why don't you try to write a gstreamer source plugin with python?

 

If you fix that (you will be the first to do that on Enigma2...) will make bouquets excelent and able to work with dynamic urls (like youtube).

 

Start reading here.

 

Good luck!

 

Thanks for the reply,

 

It's good idea to implement dynamic link in bouquets but I'm a newbie, taking long way to get there. ( I don't think I can do it )

 

Do you have a full example of channel switching in plugins ?

 

I think I have to begin with a basic sample to understand classes and OpenPLi structure. 

 

Thank you.



Re: new developer NEED HELP #6 athoik

  • PLi® Core member
  • 7,510 posts

+262
Excellent

Posted 29 September 2013 - 22:47

All you need is this:

 

sref = eServiceReference(4097, 0, url)

self.session.nav.playService(sref)

 

Look this excellent guide http://openpli.org/f...ial-and-plugin/


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: new developer NEED HELP #7 Aizecu

  • Member
  • 11 posts

0
Neutral

Posted 30 September 2013 - 05:28

Thank you so much for that. 

I think I understand the player quite a bit (learning from nStreamPlayer)

 

but I don't understand the how to make channel list with feedlist, grouplist, and how to switch between channel using Screens.InfoBarGenerics stuffs.

 

Any example for that ??

 

Thank you..



Re: new developer NEED HELP #8 mfaraj57

  • Senior Member
  • 1,468 posts

+244
Excellent

Posted 30 September 2013 - 09:35

look for mediaportal plugin,it is school for managing streams also it is opensource

and include simple player to switch between streams while playing

to put dynamic link in bouquet seems impossible because you need special code for every type of dynamic stream,takes example youtube link you should connect to internet and analyze the direct link and video id to get the true streaming url and this applied to dailymotion and may be more complicated from movies streams

in absence of good documention for plugins programming,the best way to lean form the open source plugins and they are many

also look for the link mentioned by athoik  i simplified the procedure how to get dynamic streamings links form certain website


Edited by mfaraj57, 30 September 2013 - 09:39.


Re: new developer NEED HELP #9 zakalibit

  • Senior Member
  • 51 posts

+5
Neutral

Posted 10 October 2013 - 11:03

dynamic link in bouquet seems impossible

 

it is not quite true, take a look how it is done in iptvdream plugin https://github.com/t...v/src/server.py



Re: new developer NEED HELP #10 Aizecu

  • Member
  • 11 posts

0
Neutral

Posted 17 October 2013 - 07:04

Is it possible to play channels which are from satellite (DVB tuner) in my plugin ?

 

sref = eServiceReference(4097, 0, url)

self.session.nav.playService(sref)

I knew this is generally work with URL streaming,

but, how's about a regular channel from satellite ?

 

Please.., don't tell me to exit plugin and select a specific channel.
 

Thank you..



Re: new developer NEED HELP #11 mfaraj57

  • Senior Member
  • 1,468 posts

+244
Excellent

Posted 18 October 2013 - 11:28

The first statement  sref = eServiceReference(4097, 0, url)   used to change streaming url address to enigma understandable service reference

the second statement used also to play dvb channels when you dvb channel service refrence

there are many ways to get dvb service refrences ,look in the dvb files in etc/enigma2

but you can search for plugin called thewebsiteparser and this include how to switch for event broading casting dvb channel from the plugin itself


Edited by mfaraj57, 18 October 2013 - 11:31.






Also tagged with one or more of these keywords: streaming, iptv, video, vod, stream

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users