Ok, I understand it now. Thanks to both of you.
Regards, pcd.
Ok, I understand it now. Thanks to both of you.
Regards, pcd.
Media2ts_1.02
No need to go to 'video' button any more. As soon as the file or dvd is selected, playback starts.
Both plugin.py and conf files need to be reinstalled from the attached.
Regards, pcd.
Thank you very much. It works.
Example code :-
def main(session, **kwargs):
print "In main"
delay = Test(session, None)
f = delay.starttimer()
session.openWithCallback(test, MessageBox, _("Test-Messagebox2?"), timeout = 10)
f = delay.stoptimer()
session.openWithCallback(test, MessageBox, _("Test-Messagebox1?"), timeout = 10)
It is interesting that the first command has to be listed second !
Regards, pcd.
Media2ts
An Enigma2 plugin for assisting cifs streaming of video (e.g. mpeg, divx, dvd) from pc to dreambox.
Procedure :-
(1) VLC :- Download and install VLC mediaplayer 0.8.6 from http://www.videolan.org/. Configure VLC by Settings > Preferences > Interface > Main Interfaces > Advanced options > select 'Extra interface modules' HTTP. Next expand Main Interfaces and in HTTP Host Address insert :8080. Close VLC.
(2) Cifs :- Ftp to dreambox and make a new folder /media/hdd/movie. Next edit file /etc/init.d/bootup to insert, after the line "mount -at nfs,smbfs,cpfs 2>/dev/null", this line:
mount -t cifs -o ro,soft,username=user,password=pass123 //pc-ip/dream /media/hdd/movie.
Insert the pc-ip and the share folder name (e.g. dream) where you should save the temporary .ts file (see later).
This will automount cifs after every reboot.
(3) Plugin :- Unzip the attached and Ftp the folder Media2ts to folder /usr/lib/enigma2/python/Plugins/Extensions and the file Media2ts.conf to folder /etc. Insert the pc-ip and other items including the destination folder for the .ts file required in Media2ts.conf.
(4) Operation :- The plugin converts remotely using VLC any video file or dvd to a temporary .ts file which can be streamed to the dreambox and watched 'on the fly'. Reboot dreambox. Restart VLC. Put the files to be streamed in the stream source folder named in Media2ts.conf. The divx file type should be named as .divx . Start the plugin and you will see the list. Select file and exit from the window. On the remote, press 'video' and you should see the saved .ts file. Select it to view. To close press 'tv' button on the remote.
More Info :-
As the playback is through cifs, it is not necessary to keep VLC running once the .ts file is made. The resulting .ts file can also be kept for future viewing.
Regards, pcd.
Hi Peter
Which machine not OK ?
There is a method for win98se etc.
Cheers, pcd.
The channel list facility does not work. The channel must already be open on the dreambox.
After setting the option and (recording) Destination, only Preview or Record buttons should be used.
The ip problem is strange. Try to select Preview without closing the program. If still not ok, perhaps you should unregister the filter and register again.
This ip problem should have nothing to do with the dreambox, it is a pc issue. The Option window is the filter's property. If you have Graphedit in your system (a free utility comes with Windows) you can see if the filter and its properties are registered properly.
Regards, pcd.
Has anybody used this with a dm7025 ?
Greetings !
Attached is a modified version of TuxVision adapted for Enigma2. If you at present have problem watching tv from dreambox on pc or recording on pc using Enigma2 images, please try this.
Checked with a DM600pvr for kBits/s of above 4500, with wireless lan, no problem. It should also be ok with other dreamboxes.
It is simple to install, instructions in the Readme file.
The Enigma1 version TuxVisionR is still available here :-
Watch and record tv on pc with TuxVisionR
Regards, pcd.
Many thanks. It worked !
I was stupid - I tried that before but with /getpids.
Sorry, 'Control' does not work with the box I am using, a dm600pvr.
It seems there is no way to get pids and channellist by telnet commands.
Regards, pcd.
Thanks for the reply.
I have already seen the enigma2 WIKI. I will also try your binary.
Regards, pcd.
Is somewhere a list of telnet commands for Enigma2 like /control/zapto?getpids ? The Enigma1 commands don't seem to work.
regards, pcd.
Or you can install the image on multiboot on pc hdd, then you have the files.
Thank you.
I will try the top two - BA is not necessary for me at present.
Regards, pcd.
At present, I can run a script by telnet or at start-up. But is it possible to do it at the box (like the script plugin or type 3 plugin in E1) ?
Regards, pcd.
Hi,
I made an image (it included enigma2), thank you. It flashed.
Regards, pcd.
Many thanks, E2 compiled OK now !
Cheers, pcd.
ZitatOriginally posted by Cassiopeia2000
checkout Enigma2 as Head please. Release Branch doesn't compile.
See under
[Enigma 2 als Head auschecken??]Klick[/EMAIL]
I deleted ;tag=${TAG} from this line in enigma2.bb :-
SRC_URI = "cvs://anonymous@dreamboxupdate.com/cvs;module=enigma2;method=pserver;date=${SRCDATE} \
and done again :-
cd $HOME/tuxbox-cvsE2/build
source ./env.source
bitbake -cclean enigma2
bitbake enigma2
Still the same 'configure' error. .Do I need to build mipsel-linux ? How ?
Sorry for writing in English>
(1) I used the folder where I built a E1 OE image for the 600pvr.
(2) Added the attached E2_600_.diff.patch to /openembedded/packages/enigma2 and patched enigma2.bb as :-
SRC_URI = "cvs://anonymous@dreamboxupdate.com/cvs;module=enigma2;method=pserver;tag=${TAG};date=${SRCDATE} \
file://enigma2.sh \
file://oe_enigma2_diff.patch;patch=1;pnum=1"
(3) I have also patched /openembedded/packages/images/dreambox-image.bb as :-
# now machine specific:
OPENDREAMBOX_COMMON_MACHINE_dm600pvr += "${OPENDREAMBOX_V2_ONLY} ${OPENDREAMBOX_EXPERIMENTAL}"
OPENDREAMBOX_COMMON_MACHINE_R_dm600pvr += "${OPENDREAMBOX_EXPERIMENTAL_R}"
OPENDREAMBOX_COMMON_MACHINE_D_dm600pvr += ""
(4) Next when I did :-
cd $HOME/tuxbox-cvsE2/build
source ./env.source
bitbake -cclean enigma2
bitbake enigma2
after some time I got this error :-
NOTE: package enigma2-2.2cvs20070420: started
NOTE: package enigma2-2.2cvs20070420-r0: task do_configure: started
ERROR: function do_configure failed
ERROR: see log in /home/pcd/tuxbox-cvsE2/build/tmp/work/enigma2-2.2cvs20070420-r0/temp/log.do_configure.30899
NOTE: Task failed: /home/pcd/tuxbox-cvsE2/build/tmp/work/enigma2-2.2cvs20070420-r0/temp/log.do_configure.30899
NOTE: package enigma2-2.2cvs20070420-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package enigma2-2.2cvs20070420: failed
ERROR: Build of enigma2 failed
[pcd@localhost build]$
logfile :-
checking whether ccache powerpc-linux-g++ accepts -g... yes
checking dependency style of ccache powerpc-linux-g++... gcc3
checking for powerpc-linux-ranlib... powerpc-linux-ranlib
checking for a Python interpreter with version >= 2.3... python
checking for python... /home/pcd/tuxbox-cvsE2/build/tmp/staging/i686-linux/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for Python include path... find: /home/pcd/tuxbox-cvsE2/build/tmp/staging/mipsel-linux/include: No such file or directory
find: /home/pcd/tuxbox-cvsE2/build/tmp/staging/mipsel-linux/include: No such file or directory
find: /home/pcd/tuxbox-cvsE2/build/tmp/staging/mipsel-linux/: No such file or directory
configure: error: cannot find Python include path
FATAL: oe_runconf failed
Alles anzeigen
python2.4 is in /build/tmp/staging/i686-linux/bin/python. But no build/tmp/staging/mipsel-linux/. Obviously I missed out a step !
Any advice please ?
Regards, pcd.