Jump to content


nobody9

Member Since 29 Sep 2011
Offline Last Active 08 Jan 2012 18:33
*****

#244721 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 8 January 2012 - 18:33

Bad News,
After a power fault my Harddisk is dammaged. So the next Time i have to setup a New Desktop pc to work.
So in the next i can't answer Mails or develop Anythink.


Regards




(null)


#244367 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by nobody9 on 7 January 2012 - 12:10

the hole changed makefile it must more changed then only remove DREAMBOX_HARDWARE

ARCH=mipsel
-include ../../Make.config
 
CC=$(CC-$(ARCH))
CXX=$(CXX-$(ARCH))
CFLAGS=-fpic -DHAVE_DVB_API_VERSION=5  $(INCLUDE-$(ARCH)) $(DBGFLAGS)
LDFLAGS=-lpthread -lrt
DRIVER=vtuner-dvb-3
 
all: ../../dist/$(ARCH)/vtunerd.$(ARCH) ../../dist/$(ARCH)/vtunerc.$(ARCH)
 
-include ../../Make.rules
 
vtuner-dvb-3.o: ../../vtuner-dvb-3.c ../../vtuner-dvb-3.h
	$(CC) $(CFLAGS) -c -o vtuner-dvb-3.o ../../vtuner-dvb-3.c
 
vtunerd-plugin.o: ../../vtunerd-plugin.c ../../vtunerd-service.h ../../vtuner-utils.h
	$(CXX) $(CFLAGS) $(PLUGIN_CFLAGS-$(ARCH)) -c -o vtunerd-plugin.o ../../vtunerd-plugin.c

can´t be removed

it use the vtuner-dmm-3.c not the vtuner-dvb-3.c

vtunerd: [14078 ../../vtuner-dmm-3.c:152]  info: FE_SET_FRONTEND parameters: freq:1699000 inversion:34 SR:27500000 FEC:21
vtunerd: [14078 ../../vtuner-dmm-3.c:144]  warn: FE_GET_FRONTEND failed
vtunerd: [14078 ../../vtunerd-service.c:449]  warn: vtuner call failed, type:2 reason:-1

vtunerd-services.h
#ifndef _VTUNERDSERVICE_H_
#define _VTUNEDRSERVICE_H_
 
#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
 
#include "vtuner-network.h"
 
#if HAVE_DVB_API_VERSION < 3
  #include "vtuner-dmm-2.h"
#else
  #ifdef HAVE_DREAMBOX_HARDWARE
	#include "vtuner-dmm-3.h"
  #else
	#include "vtuner-dvb-3.h"
  #endif
#endif
 
#define DEBUGSRV(msg, ...) DEBUG(MSG_SRV, msg, ## __VA_ARGS__)
 
typedef enum vtuner_session_status {
	SST_IDLE,
	SST_BUSY
} vtuner_session_status_t;
 
int fetch_request(struct sockaddr_in*, int*, int*, int*);
int run_worker(int, int, int, int, struct sockaddr_in*);
 
#endif




#244358 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by nobody9 on 7 January 2012 - 11:57

can´t be removed

it use the vtuner-dmm-3.c not the vtuner-dvb-3.c

vtunerd: [14078 ../../vtuner-dmm-3.c:152]  info: FE_SET_FRONTEND parameters: freq:1699000 inversion:34 SR:27500000 FEC:21
vtunerd: [14078 ../../vtuner-dmm-3.c:144]  warn: FE_GET_FRONTEND failed
vtunerd: [14078 ../../vtunerd-service.c:449]  warn: vtuner call failed, type:2 reason:-1

vtunerd-services.h
#ifndef _VTUNERDSERVICE_H_
#define _VTUNEDRSERVICE_H_

#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>

#include "vtuner-network.h"

#if HAVE_DVB_API_VERSION < 3
  #include "vtuner-dmm-2.h"
#else
  #ifdef HAVE_DREAMBOX_HARDWARE
    #include "vtuner-dmm-3.h"
  #else
    #include "vtuner-dvb-3.h"
  #endif
#endif

#define DEBUGSRV(msg, ...) DEBUG(MSG_SRV, msg, ## __VA_ARGS__)

typedef enum vtuner_session_status {
    SST_IDLE,
    SST_BUSY
} vtuner_session_status_t;

int fetch_request(struct sockaddr_in*, int*, int*, int*);
int run_worker(int, int, int, int, struct sockaddr_in*);

#endif



#244322 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 7 January 2012 - 04:00

my holiday is over,
so i have only time on weekends to develop on OpenWebif.

last changes:
- add /web/streamsubservices untested no channels to test.
Streaming API is complete
- fix current, status info on channels without EPG


#244236 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 6 January 2012 - 17:22

add Interface to OPKG to OpenWebif

update, ?command=update
upgrade, ?command=upgrade
list_installed, ?command=list_installed
list_upgradable, ?command=list_upgradable
list, ?command=list
search, ?command=search&file=<filename>
info, ?command=info&package=<packagename>
status, ?command=status&package=<packagename>
install, ?command=install&package=<packagename>
remove, ?command=remove&package=<packagename>


#244036 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 5 January 2012 - 17:50

Can´t without developing.

add fake /ipkg?command=info

some application check it that the enigma2-plugin-extensions-webinterface installed(TV-Browser),
so i send back the right result.

I think on weekend, i can implement the hole IPKG - functionality into OpenWebif


@all,

i add some more informations for Timer
Channel, Start-,End-time, Status

For the next days, no changes are coming from me,
i will use my two last days of holiday for other thinks then developing.

regards,

nobody9




#243897 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 5 January 2012 - 05:21

@all,

i add some more informations for Timer
Channel, Start-,End-time, Status

For the next days, no changes are coming from me,
i will use my two last days of holiday for other thinks then developing.

regards,

nobody9


#243895 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 5 January 2012 - 03:58

Hi koivo,

you can only select directory's they are bookmarked in enigma2
add the missing directory's as bookmark in enigma2 and you can select it in the WebIf

Hi,

i still have a problem with not showing all folders under /hdd/movie in the webif.
I have a folder /hdd/movie within Archiv, Dokus, Test, Filme etc but i can only see the folder movie /hdd/movie/ and /hdd/movie/Dokus. Not more.




#243894 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 5 January 2012 - 03:55

added api call "/web/moviedelete=sRef?"
and activate delete movie in WebIf.

this are the not implemented api calls

-- movies
movielist.html
movielist.m3u
movielist.rss
movietags
-- movies
 
-- streaming
streamsubservices
-- streaming
 
-- services
getallservices
servicelistplayable
serviceplayable
services.m3u
-- services
 
-- mediaplayer
mediaplayeradd
mediaplayercmd
mediaplayercurrent
mediaplayerlist
mediaplayerload
mediaplayerplay
mediaplayerremove
mediaplayerwrite
--mediaplayer
 
-- external
external
gettags
parentcontrollist
pluginlistread
restarttwisted
sleeptimer
messageanswer
-- external
 
-- other
updates.html ?????? IS IT REALLY NECESSARY ??????
getpid Not needed  E1
settings Not needed
tpm Only for DM
-- other



#243839 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 4 January 2012 - 17:14

2- done in git, not so beautiful. I am not a web - designer.

Sorry if this has been asked before (the thread has become rather long....), but allow me two questions:
1- are autotimers also going to be visible & editable via the Open WEB-IF?
2- can the available info on recordings be extended with the channel name and duration?




#243708 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 4 January 2012 - 00:50

thanks,
it´s committed.


good work nobody

I think this is now the todo list to have the first release:

1) web-tv
2) timers: new page "add timer"
3) timers: enable link to add timer in epg popup windows
4) complete apis set


This patch implements point 3), if anybody wants to check it in.

Ciao!




#243536 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 3 January 2012 - 14:50

for the web-tv,

the vlc-browser-plugin only exist in a 32bit version and no developer at the moment,
in the Dutch-Section are some discussions and solutions to use other plugins only for linux.
so we must find a solution that work on the most platforms (Win/Linux/OSX)


good work nobody

I think this is now the todo list to have the first release:

1) web-tv
2) timers: new page "add timer"
3) timers: enable link to add timer in epg popup windows
4) complete apis set




#243447 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 3 January 2012 - 09:07

i have rewritten the movie-list code.
Yet you get the same result then in the old Webif

I had a look at /web/movielist and noted that the API does not include all available information compared to original WebIf-api.

For instance:

ORIGINAL WEBIF movielist-api:

<e2movie>
<e2servicereference>1:0:0:0:0:0:0:0:0:0:/hdd/movie/20120101 2110 - Sky 3D - Avatar .ts</e2servicereference>
<e2title>Avatar </e2title>
<e2description></e2description>
<e2descriptionextended>II capolavoro di J. Cameron per la prima volta in TV in 3D in Italia solo su Sky 3D e in contemporanea con Sky Cinema! Un ex-marine viene reclutato per la colonizzazione del pianeta Pandora. Fantasc.(162')Di J. Cameron. Con S. Worthington, Z. Saldana(USA 2009)(Visione con TV 3D per abbonati Tutto o Sky 3D con pack cinema - in regalo per gli abbonati cinema HD registrandosi su www.sky.it/avatar3d). (Visione con TV 3D)</e2descriptionextended>
<e2servicename>Sky 3D</e2servicename>
<e2time>1325448600</e2time>
<e2length>164:58</e2length>
<e2tags></e2tags>
<e2filename>/hdd/movie/20120101 2110 - Sky 3D - Avatar .ts</e2filename>
<e2filesize>15713483116</e2filesize>
</e2movie>

OPENWEBIF movielist-api:


<e2movie>
<e2servicereference>1:0:0:0:0:0:0:0:0:0:/hdd/movie/20120101 2110 - Sky 3D - Avatar .ts</e2servicereference>
<e2title>Avatar </e2title>
<e2description></e2description>
<e2descriptionextended></e2descriptionextended>
<e2servicename></e2servicename>
<e2time>0</e2time>
<e2length>00:00</e2length>
<e2tags></e2tags>
<e2filename>/hdd/movie/20120101 2110 - Sky 3D - Avatar .ts</e2filename>
<e2filesize>0</e2filesize>
</e2movie>


Was this left out intentionally or simply postponed for later?



rgds,

tilleke




#243051 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 1 January 2012 - 17:29

removed attachment solution from skaman in git


I´m back a earlier,
so i have commit my work from the last days.

@theparasol,

i have committed a option in stream-menu "zap before stream" it´s nice for single tuner stb´s

@baciccoisat,

attached a StreamProxyHelper plugin.

It use the rendering engine of the old Webif and gives you only the function /web/status on localhost for streamproxy.
Let me know what you think over it.
It only works when no old WebIf is active and OpenWebif runs at a different Port then 80.
We can change the OpenWebif, that it only listen at local-ip:80,
then both Plugins can run at Port 80.

nobody9




#242931 OpenWebif [E2OpenPlugins]

Posted by nobody9 on 1 January 2012 - 11:13

I´m back a earlier,
so i have commit my work from the last days.

@theparasol,

i have committed a option in stream-menu "zap before stream" it´s nice for single tuner stb´s

@baciccoisat,

attached a StreamProxyHelper plugin.

It use the rendering engine of the old Webif and gives you only the function /web/status on localhost for streamproxy.
Let me know what you think over it.
It only works when no old WebIf is active and OpenWebif runs at a different Port then 80.
We can change the OpenWebif, that it only listen at local-ip:80,
then both Plugins can run at Port 80.

nobody9