I created pull request to fix this: https://github.com/O...nigma2/pull/289
Thanx for report!
Posted 14 May 2016 - 16:13
Posted 14 May 2016 - 16:59
Ok I tried that work's , but is there not a eleganter solution to parse the iso before mount ?
Now it first try to mount the dvd.iso as a blu-ray and then after it does unmount again to parse the dvd.iso. ?
< 5230.840> [ePopen] command: mount -r /media/DVDISO/The_PACIFIER.ISO /media/Bluray_The_PACIFIER < 5230.841> [eConsoleAppContainer] Starting /bin/sh < 5235.885> [ePopen] command: umount -f /media/Bluray_The_PACIFIER
Posted 14 May 2016 - 17:24
I agree that it is not good, but I do not know a better solution how to test bluray iso without mount.
I have already added a DVD folder structure test to delay would be a small as possible.
This plugin is not installed by default, so users, who do not use the bluray, DVD iso can used without aditional mount.
Posted 15 May 2016 - 13:40
Yes I suspected that it was possible to have blu-ray < then 10 GB . The only possiblility is finding a way to parse the .iso whitout mounting it , but I'm not shure it is possible. Even for a dvd we first try a mount in hotplug (bdpoll) type -t udf if that fails we proceed further and try with -t iso9660 .
Posted 16 May 2016 - 09:42
@Taapat I also just tried to play an bluy-ray.iso but it does not play on vuduo2.
Which is logic , it tries to play with libdreamdvd so still something is wrong
< 68226.605> [ePopen] command: mount -r /media/DVDISO/BLURAY/Sintel-Bluray.iso /media/Bluray_Sintel-Bluray < 68226.606> [eConsoleAppContainer] Starting /bin/sh < 68231.656> [ePopen] command: umount -f /media/Bluray_Sintel-Bluray < 68231.656> [eConsoleAppContainer] Starting /bin/sh < 68231.682> [SKIN] Parsing embedded skin <embedded-in-'Screensaver'> < 68231.691> not pauseable. < 68231.695> [eDVBCAService] free slot 0 demux 0 for service 1:0:19:1B91:C88:3:EB0000:0:0:0: < 68231.696> [eDVBCAService] free service 1:0:19:1B91:C88:3:EB0000:0:0:0: < 68231.715> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff < 68231.715> [eDVBPCR0] DEMUX_STOP ok < 68231.715> [eDVBPCR0] destroy < 68231.715> [eDVBVideo0] DEMUX_STOP ok < 68231.716> [eDVBVideo0] VIDEO_STOP ok < 68231.719> [eDVBVideo0] destroy < 68231.719> [eDVBAudio0] AUDIO_STOP ok < 68231.745> [eDVBAudio0] DEMUX_STOP ok < 68231.745> [eDVBAudio0] AUDIO_CONTINUE ok < 68231.751> [eDVBAudio0] destroy < 68231.752> [eDVBText0] DEMUX_STOP ok TuxTxt stopped service 43 < 68231.753> [eDVBText0] destroy cleaning up TuxTxt cache cleared < 68231.758> [eDVBResourceManager] start release channel timer < 68231.825> warning, skin is missing element Chapter in <class 'Screens.DVD.DVDSummary'> < 68231.826> warning, skin is missing element Time in <class 'Screens.DVD.DVDSummary'> < 68231.826> warning, skin is missing element Title in <class 'Screens.DVD.DVDSummary'> < 68231.833> [DVD] FileBrowserClosed /media/DVDISO/BLURAY/Sintel-Bluray.iso < 68231.834> [DVD] play 4369:0:0:0:0:0:0:0:0:0:/media/DVDISO/BLURAY/Sintel-Bluray.iso < 68231.835> [DVD] file /VIDEO_TS.IFO < 68231.835> [DVD] Cannot read file or is ISO/IMG < 68231.836> [DVD] file /VTS_01_0.IFO < 68231.836> [DVD] Cannot read file or is ISO/IMG < 68231.836> [DVD] file /VTS_01_0.IFO < 68231.837> [DVD] Cannot read file or is ISO/IMG < 68231.837> [DVD] height: 1080 < 68231.838> [SKIN] Parsing embedded skin <embedded-in-'DVDOverlay'> < 68231.841> playing 4369:0:0:0:0:0:0:0:0:0:/media/DVDISO/BLURAY/Sintel-Bluray.iso < 68231.842> [eServiceDVD] construct! < 68231.843> [eServiceDVD] pause sending key < 68231.843> [eServiceDVD] setTarget < 68231.843> [eServiceDVD] starting < 68231.844> [DVD] cur_dlg <class 'Screens.DVD.DVDPlayer'> < 68231.844> [eServiceDVD] subtitle < 68231.844> [eServiceDVD] enableSubtitles -1 < 68231.845> [eServiceDVD] thread_started libdreamdvd: soft ac3 decoding is not available, liba52.so.0 not found ! < 68231.854> [eServiceDVD] info < 68231.854> [eServiceDVD] getInfo: 25 width=-1 libdvdnav: Using dvdnav version 5.0.3 libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: failed to read VIDEO_TS.IFO < 68232.034> [eServiceDVD] thread_finished < 68232.049> [eServiceDVD] DVD_SCREEN_UPDATE < 68232.050> [eServiceDVD] DVD_SCREEN_UPDATE: values got from ddvd: 0 0 720 576 < 68232.050> [eServiceDVD] gotThreadMessage 1! < 68232.050> [eServiceDVD] subtitle < 68232.050> [eServiceDVD] disableSubtitles < 68232.051> [eServiceDVD] DVD_SIZE_CHANGED 0: 1920x1080 3 < 68232.051> [eServiceDVD] DVD_FRAMERATE_CHANGED 0: 25000 < 68232.051> [eServiceDVD] DVD_PROGRESSIVE_CHANGED 0: 0 < 68232.051> [eServiceDVD] DVD_SHOWOSD_STRING < 68232.052> [DVD] StringAvail < 68232.052> [eServiceDVD] DVD_SCREEN_UPDATE < 68232.855> [eServiceDVD] info < 68232.855> [eServiceDVD] getInfo: 25 width=1920 < 68232.856> [eServiceDVD] getInfo: 24 height=1080 < 68232.856> [eServiceDVD] getInfo: 3 progressive=0 < 68232.856> [eServiceDVD] getInfo: 2 framerate=25000 < 68233.696> [DVBCAHandler] no more services < 68233.855> [eServiceDVD] info < 68233.855> [eServiceDVD] getInfo: 25 width=1920 < 68233.856> [eServiceDVD] getInfo: 24 height=1080 < 68233.856> [eServiceDVD] getInfo: 3 progressive=0
Posted 16 May 2016 - 11:03
@Taapat
The error is still somewhere in movie selection.
If I do :
first init 2
then mount the iso manually to /media/Bluray_Sintel-Bluray
it works.
#commands : init 2 cd /media mkdir Bluray_Sintel-Bluray # first cd to location where iso file is (it's trough nfs server by me) cd /media/DVDISO/BLURAY mount Sintel-Bluray.iso -t udf /media/Bluray_Sintel-Bluray/ enigma2.sh
Then I just can play the movie trough pvr button. that works ok. The plugin self is ok.
Posted 16 May 2016 - 12:48
@christophecvr here is some sort of strange things with iso mount on some receivers.
You can read here: http://forums.openpl...-player-plugin/
On my receivers I have no problem, so I have no idea what is a reason.
To one user helped the fact that I added a pause.
I see that you specify a type to mount the iso drive.
Maybe you can check whether your receiver mont iso with the command mount -r, or necessarily to specify the type?
Posted 16 May 2016 - 12:59
@Taapat I just found the reason it's actually a forgotten issue about the base linux command mount.
If You try to mount an iso file and or even a real cd,dvd or blu-ray.
If you just use mount with command mount xxxx It will be mounted an iso9660 file system not as an udf file system.
First always try to mount with mount -t udf option if that fails try iso9660.
Now since blu-ray is I gues always udf and I not really someone use the bluray as a file media holder we always can try with udf first. when mount iso in movieplayer.py
just only need to make a patch but if You change the code line from :
Console().ePopen('mount -r %s %s' % (iso_path, mount_path), self.mountIsoCallback, (mount_path, 0, path))
into :
Console().ePopen('mount -r %s -t udf %s' % (iso_path, mount_path), self.mountIsoCallback, (mount_path, 0, path))
all is ok .
extra note if you had mounted the media before with mount -t udf then unmounted the iso type is cached and that is will always be mounted as udf . till you reboot.
Edited by christophecvr, 16 May 2016 - 13:00.
Posted 16 May 2016 - 13:29
@christophecvr really thank you very much!
Strange that mount works different for each receiver.
On my receivers do not need to specify the udf, but perhaps there are any differences in kernel configs.
Yes i think i depends on the mount command. We use on the mipsel receiver the reduced version off busybox quit possible that more modern linux mount commands will automatically first try udf. Or is it related to mdev ? not shure about that.
Anyway to mount a real live dvd we needed to do the same in bdpoll.c from e2-hotplug-helper
Posted 19 May 2016 - 08:28
@Taapat
today build error due to blu-ray-player-plugin.
Log data follows: | DEBUG: Executing shell function do_compile | running build | running build_py | creating build | creating build/lib.linux-x86_64-2.7 | creating build/lib.linux-x86_64-2.7/Extensions | creating build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | copying src/plugin.py -> build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | copying src/BlurayUi.py -> build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | copying src/__init__.py -> build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | copying src/BlurayAudioSelection.py -> build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | copying src/icon.png -> build/lib.linux-x86_64-2.7/Extensions/BlurayPlayer | running build_ext | building 'Extensions.BlurayPlayer.blurayinfo' extension | creating build/temp.linux-x86_64-2.7 | creating build/temp.linux-x86_64-2.7/src | mipsel-oe-linux-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Os -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/christophe/openpli50/openpli-oe-core/build/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-blurayplayer/1+gitAUTOINC+2f19aaca45-r0=/usr/src/debug/enigma2-plugin-extensions-blurayplayer/1+gitAUTOINC+2f19aaca45-r0 -fdebug-prefix-map=/home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2= -fPIC -I/home/christophe/openpli50/openpli-oe-core/build/tmp/sysroots/vuduo2/usr/include/python2.7 -c src/blurayinfo.c -o build/temp.linux-x86_64-2.7/src/blurayinfo.o | src/blurayinfo.c:24:29: fatal error: udfread/udfread.h: No such file or directory | compilation terminated. | error: command 'mipsel-oe-linux-gcc' failed with exit status 1 | ERROR: python setup.py build execution failed. | ERROR: Function failed: do_compile (log file is located at /home/christophe/openpli50/openpli-oe-core/build/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-blurayplayer/1+gitAUTOINC+2f19aaca45-r0/temp/log.do_compile.17081)
But indeed the udfread/udfread.h is not an installed header and not a installed library
0 members, 11 guests, 0 anonymous users