Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #341 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 December 2011 - 17:06

here on ubuntu/vlc works fine...
True sarcasm doesn't need green font...

Re: OpenWebif [E2OpenPlugins] #342 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 26 December 2011 - 17:11

@MiLo: may be, you have not replaced new libvlcplugin.so for VLC ?

Edited by ims, 26 December 2011 - 17:16.

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #343 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 26 December 2011 - 17:17

VLC works, but it won't work from any webif.
Real musicians never die - they just decompose

Re: OpenWebif [E2OpenPlugins] #344 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 December 2011 - 17:21

yup, I meant - ubuntu/ff/openwebif/stream icon ;)
old webif ok too...
//ubuntu 10.04, ff8.01 vlc 1.1.12
True sarcasm doesn't need green font...

Re: OpenWebif [E2OpenPlugins] #345 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 26 December 2011 - 17:31

@MiLo,
with the change from

request.write(response)
return ''
to
return response

the files (stream.m3u,ts.m3u, ..) are not send any more. You only get the text
#EXTM3U
http://et9000:8001/1:0:1:7FF:449:35:C00000:0:0:0:
in the Browser.
can you please revert it?

Tested with Firefox 9.01 and iDreamX

Hmm, streaming works fine in Windows, but I can't get VLC to play it directly on Ubuntu.

In Ubunut, when using firefox, clicking on the stream icon starts VLC like it should, but VLC comes and dies immediately without telling why it just quit. If I save the .m3u link to a folder and double-click that, it starts VLC and the stream plays just fine. It behaves the same on the original webinterface, so it's got something to do with my setup. Anyone been able to get this right under Ubuntu or something that looks enough like it?



Re: OpenWebif [E2OpenPlugins] #346 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 26 December 2011 - 17:33

VLC works, but it won't work from any webif.

but libvlcplugin.so is for streaming under FF >= v4.0
Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #347 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 26 December 2011 - 18:47

@MiLo,
you need only to change the line
request.setHeader("content-disposition", 'inline;filename='
to
request.setHeader("content-disposition", 'attachment;filename='

regards,

Edited by nobody9, 26 December 2011 - 18:51.


Re: OpenWebif [E2OpenPlugins] #348 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 26 December 2011 - 19:03

attached the patch to change the content-disposition
and remove the streamts from file.py.


@MiLo,
you need only to change the line

request.setHeader("content-disposition", 'inline;filename='
to
request.setHeader("content-disposition", 'attachment;filename='

regards,

Attached Files



Re: OpenWebif [E2OpenPlugins] #349 Hump

  • Senior Member
  • 88 posts

+3
Neutral

Posted 26 December 2011 - 19:18

Wow, what a christmas present! :) Streaming works great! :)

Thanks a lot!

Re: OpenWebif [E2OpenPlugins] #350 ESM

  • Senior Member
  • 495 posts

+3
Neutral

Posted 26 December 2011 - 19:19

Great work! And a bit off-topic: can the neat blue spinner that I see in this plugin become the new PLi spinner? Ir really fits great in the new wallpapers!

Xtrend et 10000 met Wavefrontier T90 (8x Smart LNB) en OpenPLi


Re: OpenWebif [E2OpenPlugins] #351 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 December 2011 - 20:00

Hmm, streaming works fine in Windows, but I can't get VLC to play it directly on Ubuntu.
Anyone been able to get this right under Ubuntu or something that looks enough like it?


It works fine under Fedora Core 14, Firefox and mozilla-vlc-1.1.9-1.fc14.x86_64

Re: OpenWebif [E2OpenPlugins] #352 koivo

  • Senior Member
  • 69 posts

+6
Neutral

Posted 26 December 2011 - 20:11

Works also with IPad and Dreambox Live App.
But the full remote is still the dreambox remote at the et900 :(

Re: OpenWebif [E2OpenPlugins] #353 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 26 December 2011 - 20:23

@bacicciosat,

can i have write access to the git ?
Then i can directly push may changes into.

regards,

Re: OpenWebif [E2OpenPlugins] #354 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 December 2011 - 20:27

@bacicciosat,

can i have write access to the git ?
Then i can directly push may changes into.

regards,



Absolutely yes from my side, your contribution is precious.
But the organization admin is Sjaaky.
Only Sjaaky can provide access.

Re: OpenWebif [E2OpenPlugins] #355 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 26 December 2011 - 21:12

Hi,

I do not have openpli as image. Streaming works great using vlc on windows.
I tried to remove the old "enigma2-plugin-extensions-webinterface" package but then streaming does not work anymore.
To make OpenwebIf stream (i suppose, on any image other than openpli) i need keep the oldwebif installed.

Is there any standalone package which can replace the functionality (something linked to port 8001) which is provided by
the old webinterface so that openwebif streamings works on any image ?

Thanks
attaros :D

Re: OpenWebif [E2OpenPlugins] #356 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 December 2011 - 22:15

@bacicciosat
few general ideas/suggestions:
1 start page:
now openwebif starts on 'Current' tab which is not very useful imho (you can't even start streaming of a current channel from it...)
starting on a 'Bouquets' tab I find far much convenient - I (like many /?/ others) use webif for streaming purposes most times
2 'Bouquets' tab:
- events description
now to see event description you have to click one of three small, closely spaced icons (and in addition, an event time is there too...) ;
maybe it'd be better (for a clarity) to make it as in the old webif - you can see event description by clicking on event title?
- general clarity of a layout - maybe it'd be useful to have little more distinct separation of the individual services - now these light blue bars appear to blend together, everything seems a little chaotic /?/...
what do you think?
True sarcasm doesn't need green font...

Re: OpenWebif [E2OpenPlugins] #357 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 December 2011 - 22:32

Hi,

i have analized the request from the old streamproxy

http://127.0.0.1/web/stream?StreamService=1:0:1:2B:2:85:C00000:0:0:0:

the result (wrap lines for better to read):

=NO STREAM +0:0:pat,8ff:video,900:audio,8ff:pcr,20:text
		   +0:0:pat,8ff:video,900:audio,8ff:pcr,20:text
		   +0:0:pat,8ff:video,900:audio,8ff:pcr,20:text
		   +0:0:pat,6d:pmt,8ff:video,900:audio,901:audio,903:audio,8ff:pcr,20:text
		   +0:0:pat,6d:pmt,8ff:video,900:audio,901:audio,903:audio,8ff:pcr,20:text
		   +0:0:pat,6d:pmt,8ff:video,900:audio,901:audio,903:audio,8ff:pcr,20:text
the connection are remains open.

will we implement it ?


When you want to use the external streamproxy, yes, reporting pids (and pid changes as the pmt changes version) is required.
When using the internal stream server, e2 will handle this internally.

Re: OpenWebif [E2OpenPlugins] #358 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 December 2011 - 22:35

@bacicciosat
few general ideas/suggestions:
1 start page:
now openwebif starts on 'Current' tab which is not very useful imho (you can't even start streaming of a current channel from it...)
starting on a 'Bouquets' tab I find far much convenient - I (like many /?/ others) use webif for streaming purposes most times


Uhmm blzr... this could be only your personal preference. I think that before to change, we need to know what think about this the majority of users.
Pheraps you can make a little poll ? :D


2 'Bouquets' tab:
- events description
now to see event description you have to click one of three small, closely spaced icons (and in addition, an event time is there too...) ;
maybe it'd be better (for a clarity) to make it as in the old webif - you can see event description by clicking on event title?


Ok i will add the link on the event title too.

- general clarity of a layout - maybe it'd be useful to have little more distinct separation of the individual services - now these light blue bars appear to blend together, everything seems a little chaotic /?/...
what do you think?


Uhmm i have tested but the result was not nice. So i leave unchanged this.
Maybe someone else can find a better solution.

Edited by bacicciosat, 26 December 2011 - 22:37.


Re: OpenWebif [E2OpenPlugins] #359 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 December 2011 - 22:46


@bacicciosat
few general ideas/suggestions:
1 start page:
now openwebif starts on 'Current' tab which is not very useful imho (you can't even start streaming of a current channel from it...)
starting on a 'Bouquets' tab I find far much convenient - I (like many /?/ others) use webif for streaming purposes most times


Uhmm blzr... this could be only your personal preference. I think that before to change, we need to know what think about this the majority of users.
Pheraps you can make a little poll ? :D

not insist on it ...
/ / but now I need 4 clicks to start the stream, I would prefer 2 ;)


2 'Bouquets' tab:
- events description
now to see event description you have to click one of three small, closely spaced icons (and in addition, an event time is there too...) ;
maybe it'd be better (for a clarity) to make it as in the old webif - you can see event description by clicking on event title?


Ok i will add the link on the event title too.

actually, I thought about adding a link instead of the (i) icon /?/
(removing it would make a little clearance on the right side)

Edited by blzr, 26 December 2011 - 22:53.

True sarcasm doesn't need green font...

Re: OpenWebif [E2OpenPlugins] #360 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 26 December 2011 - 23:11

I understand your point of view.
But i don't like to remove the description icon because it is a conditional icon. If the icon is visible it means that the description is available, if the icon is not visible it mens that there is not description available for the event.
For this reason my vote is -1 to remove icon.

About starting tab my vote is 0.
It seems to me more logic to start from current tab but i understand your point of view so i have not preference. We can look for other opinions.
By the way you can easly customize this simply editing file: OpenWebif/controllers/views/ajax/tv.tmpl
find line:
\$(document).ready(function() {
  \$("#tvcontent").load("ajax/current");
substitute with:
\$(document).ready(function() {
  \$("#tvcontent").load("ajax/bouquets");

Edited by bacicciosat, 26 December 2011 - 23:12.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users