Jump to content


Photo

Bluray Player plugin


  • Please log in to reply
120 replies to this topic

Re: Bluray Player plugin #41 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 09:02

@nikolasi please read what thawtes write.

 

The reason is not in the name.
He has a file Sintel-Bluray.iso which is located in the folder /media/hdd/bluray.

Without non standard symbols.


Edited by Taapat, 9 March 2016 - 09:02.


Re: Bluray Player plugin #42 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 11:11

Littlesat thanks!

I see that the plugin is added to the feed and I do not need to offer the latest versions here.



Re: Bluray Player plugin #43 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 9 March 2016 - 11:38

As the plugin apparently works fine now (thanks for that; I can't test atm), I suggest to embed this functionality in E2 instead of optional functionality via a plugin. Exactly the same as has been done ages ago for playing a DVD (-ISO).



Re: Bluray Player plugin #44 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 12:09

I agree that the best solution would be to embed this functionality in enigma.

Only, as I wrote before, I think that in such a case, the best would be to create a complete bluray support in enigma with libbluray library.
I'm afraid that I will not be able to do this.

Plugin currently only read titles and returns the corresponding m2ts file name to enigma player.



Re: Bluray Player plugin #45 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 March 2016 - 14:06

Littlesat thanks!

I see that the plugin is added to the feed and I do not need to offer the latest versions here.

->

That was why I did it ;)...

First develop it as a plugin and when it is fine we should consider to embed it to the image... Step-by-Step...

Just a question as I did not look in the deep details... How do you see if the iso is a DVD, BlueRay or something else??? At this moment ISO = opened as DVD...


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


Re: Bluray Player plugin #46 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 14:48

I steals functions gotFilename and itemSelectedCheckTimeshiftCallback in MovieSelection: https://github.com/T...ngeFunctions.py

 

But to avoid problems when you change the code, I not change this functions.
I am execute my code, and if blurey test fails, call the original function.

 

The best would be add this my code in MovieSelection.
But before doing so, I would like to hear from users that everything is working well.


Edited by Taapat, 9 March 2016 - 14:49.


Re: Bluray Player plugin #47 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 March 2016 - 16:45

 steals functions gotFilename and itemSelectedCheckTimeshiftCallback in MovieSelection:

-> 

Then I prefer a modification in MovieSelection... So you do not need to steal these functions anymore... But how does the BR check work? (is this a quick check????) Indeed it sounds better to migrate this part in E2...

We still can go for finetuning it plugin wise and once the plugin is perfect migrate the stuff...


Edited by littlesat, 9 March 2016 - 16:49.

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


Re: Bluray Player plugin #48 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 March 2016 - 16:52

Me again...

 

Why not adapt it already to E2... and check for if blueray plugin exists try to check for blue ray... (by calling the plugin....)


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


Re: Bluray Player plugin #49 thawtes

  • Senior Member
  • 86 posts

+1
Neutral

Posted 9 March 2016 - 21:45

@thawtes if you are interested, maybe you can check this. Change the file in the plugin folder, restart enigma and check how now works with iso. For test I added a 2 second delay after iso mount.

 

@Taapat yes yes yes :)

 

direct iso file press OK and perfect workkkk :)

 

with you Attached File txt.gif  ChangeFunctions.py

 

thank you cool work...

 

I continue to test...

 

what's next now? :) disc menu :)  hehe

Edited by thawtes, 9 March 2016 - 21:50.


Re: Bluray Player plugin #50 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 21:53

@thawtes and now please check this file.

Attached Files



Re: Bluray Player plugin #51 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 9 March 2016 - 22:15

@littlesat maybe first I'll try to fix the mount problem on some receivers, and then propose changes in enigma.
You not always pay attention to the pull requests ;).

 

Bluray folder test is relatively quick. It is a simple folder structure check in the same way as is for a DVD.

To check and used the iso, first it must be mount. This is a little longer, but it has to be done only at the moment when pressed ok on the iso file. So it can not be felt if it's not buray and after is played as a DVD.



Re: Bluray Player plugin #52 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 March 2016 - 22:41

Good plan.... Step by step.... ;)

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


Re: Bluray Player plugin #53 thawtes

  • Senior Member
  • 86 posts

+1
Neutral

Posted 9 March 2016 - 22:43

@thawtes and now please check this file.

 

this also works no problem (new attached ChangeFunctions.py)

 

what is the difference between the current and the previous versions?

 

but I noticed that when I run iso first DVDPlayer worked but the film did not play.
Then I tried again, this time made out was functioning normally.

 

rhis event is made only once...



Re: Bluray Player plugin #54 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 March 2016 - 23:45

In the new version there is a delay added to allow the BR to mount... (not an ideal solution but at least intended to investigate if mount time is related to an issue).


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


Re: Bluray Player plugin #55 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 10 March 2016 - 00:35

Not exactly.

Delay are in both files.
In first I use the sleep that is simple for the code, but bad for the code style.
In the second instead of sleep I using eTimer.

Delay is used only in the case if bluray iso test file. In that case, I am waiting 2 seconds and try to test a second time.



Re: Bluray Player plugin #56 thawtes

  • Senior Member
  • 86 posts

+1
Neutral

Posted 10 March 2016 - 01:32

now everything is working great .. :)



Re: Bluray Player plugin #57 thawtes

  • Senior Member
  • 86 posts

+1
Neutral

Posted 10 March 2016 - 03:59

https://yadi.sk/d/D0iyuPUTpyZSy

now without Crash issues a warning that the name of the movie is not true

 

nikolasi plugin fixing ?



Re: Bluray Player plugin #58 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 13 March 2016 - 19:06

I add pull reuests to add plugin support in MovieSelection:

https://github.com/O...nigma2/pull/223

https://github.com/O...oe-core/pull/49

 

Please use both pull reuests in enigma and openpli-oe-core simultaneously.


Edited by Taapat, 13 March 2016 - 19:06.


Re: Bluray Player plugin #59 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 14 March 2016 - 19:02

It seems they are merged by Littlesat?


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Bluray Player plugin #60 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 14 March 2016 - 19:26

Yes, now they are merged, thank you!

 

As I understand the next step could be to port the library C code to C++, and put it somewhere in the enigma.

Move plugin code to the screen in enigma as it is done with DVD.


Edited by Taapat, 14 March 2016 - 19:26.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users